<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://briansnelson.com/index.php?action=history&amp;feed=atom&amp;title=Creating_Backups_using_rsync_with_Examples</id>
		<title>Creating Backups using rsync with Examples - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://briansnelson.com/index.php?action=history&amp;feed=atom&amp;title=Creating_Backups_using_rsync_with_Examples"/>
		<link rel="alternate" type="text/html" href="https://briansnelson.com/index.php?title=Creating_Backups_using_rsync_with_Examples&amp;action=history"/>
		<updated>2026-06-04T04:18:30Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>https://briansnelson.com/index.php?title=Creating_Backups_using_rsync_with_Examples&amp;diff=566&amp;oldid=prev</id>
		<title>Brian at 14:49, 14 March 2014</title>
		<link rel="alternate" type="text/html" href="https://briansnelson.com/index.php?title=Creating_Backups_using_rsync_with_Examples&amp;diff=566&amp;oldid=prev"/>
				<updated>2014-03-14T14:49:05Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 14:49, 14 March 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 64:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 64:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Additional Articles:===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Additional Articles:===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Centos 6]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Centos 6]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Centos]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Brian</name></author>	</entry>

	<entry>
		<id>https://briansnelson.com/index.php?title=Creating_Backups_using_rsync_with_Examples&amp;diff=273&amp;oldid=prev</id>
		<title>Brian: /* Additional Articles: */</title>
		<link rel="alternate" type="text/html" href="https://briansnelson.com/index.php?title=Creating_Backups_using_rsync_with_Examples&amp;diff=273&amp;oldid=prev"/>
				<updated>2013-12-15T03:33:59Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Additional Articles:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 03:33, 15 December 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 63:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 63:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Additional Articles:===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Additional Articles:===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [[Centos 6]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Brian</name></author>	</entry>

	<entry>
		<id>https://briansnelson.com/index.php?title=Creating_Backups_using_rsync_with_Examples&amp;diff=272&amp;oldid=prev</id>
		<title>Brian: Created page with &quot;==Create Backups using rsync with examples==  ===What does rsync stand for?===  Rsync stands for remote sync  Rsync is used to perfrom backup operation in Linux and UNIX  It s...&quot;</title>
		<link rel="alternate" type="text/html" href="https://briansnelson.com/index.php?title=Creating_Backups_using_rsync_with_Examples&amp;diff=272&amp;oldid=prev"/>
				<updated>2013-12-15T00:27:22Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Create Backups using rsync with examples==  ===What does rsync stand for?===  Rsync stands for remote sync  Rsync is used to perfrom backup operation in Linux and UNIX  It s...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Create Backups using rsync with examples==&lt;br /&gt;
&lt;br /&gt;
===What does rsync stand for?===&lt;br /&gt;
&lt;br /&gt;
Rsync stands for remote sync&lt;br /&gt;
&lt;br /&gt;
Rsync is used to perfrom backup operation in Linux and UNIX&lt;br /&gt;
&lt;br /&gt;
It syncs files from one location to another location, Host computer to a Remote computer or a Remote Computer to a Host computer.  It can even be used on a single server.&lt;br /&gt;
&lt;br /&gt;
===Important Features of rsync===&lt;br /&gt;
&lt;br /&gt;
* Speed: The first time you use rsync it does entire directory, next time it only sends what has been changed, which makes the transfer quick.&lt;br /&gt;
&lt;br /&gt;
* Security: You can use ssh when using rsync between computers&lt;br /&gt;
&lt;br /&gt;
* Less Bandwidth: rsync uses compression and decompression of data block by block at the sending an receiving end respectively.&lt;br /&gt;
&lt;br /&gt;
===Basic rsync Syntax===&lt;br /&gt;
 rsync options source destination&lt;br /&gt;
&lt;br /&gt;
Source and destination could be either local or remote. When using remote, just specify the login name and remote server name/location&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
 &lt;br /&gt;
====Local to Local====&lt;br /&gt;
Local rsync of your html directory to a backup directory on the local computer.&lt;br /&gt;
 rsync -zvr /var/www/html/ /root/backup&lt;br /&gt;
&lt;br /&gt;
* -z is to enable compression&lt;br /&gt;
* -v is to enable verbose&lt;br /&gt;
* -r is to enable recursive, all directors below&lt;br /&gt;
&lt;br /&gt;
====Local to Local Preserving Timestamps====&lt;br /&gt;
&lt;br /&gt;
 rysnc -zvra /var/www/html/ /root/backup&lt;br /&gt;
&lt;br /&gt;
* -a is to enable archive mode, saving timestamps&lt;br /&gt;
&lt;br /&gt;
====Syncronize Files from Local Server to Remote Server====&lt;br /&gt;
&lt;br /&gt;
 rsync -avzr /var/www/html/ brian@remoteserver:/backup/&lt;br /&gt;
&lt;br /&gt;
This will make a backup of the html directory and all files under the html directory to remote backup server&lt;br /&gt;
&lt;br /&gt;
====Syncronize Files from Remote Server to Local Server====&lt;br /&gt;
&lt;br /&gt;
 rsync -avzr brian@remoteserver:/backup /var/www/html&lt;br /&gt;
&lt;br /&gt;
This will do a restore from the backup server to your local server&lt;br /&gt;
&lt;br /&gt;
====Example using SSH with rsync====&lt;br /&gt;
&lt;br /&gt;
 rsync -avzr -e ssh brian@remoteserver:/backup /var/www/html&lt;br /&gt;
or&lt;br /&gt;
 rsync -avzr -e ssh /var/www/html brian@remoteserver:/backup&lt;br /&gt;
&lt;br /&gt;
Use rsync -e ssh to specify which remote shell to use. In this case, rsync will use ssh.&lt;br /&gt;
&lt;br /&gt;
To learn more about rsync you view the man page&lt;br /&gt;
&lt;br /&gt;
 man rsync&lt;br /&gt;
&lt;br /&gt;
===Additional Articles:===&lt;/div&gt;</summary>
		<author><name>Brian</name></author>	</entry>

	</feed>