<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Linux system backup with RSync</title>
	<atom:link href="http://www.gamesandcode.com/blog/2008/03/linux-system-backup-with-rsync/feed" rel="self" type="application/rss+xml" />
	<link>http://www.gamesandcode.com/blog/2008/03/linux-system-backup-with-rsync</link>
	<description>code it, play it</description>
	<lastBuildDate>Thu, 15 Dec 2011 11:47:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: hugo</title>
		<link>http://www.gamesandcode.com/blog/2008/03/linux-system-backup-with-rsync/comment-page-1#comment-1392</link>
		<dc:creator>hugo</dc:creator>
		<pubDate>Fri, 05 Jun 2009 17:50:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.gamesandcode.com/blog/2008/03/linux-system-backup-with-rsync#comment-1392</guid>
		<description>Thanks, I wasn&#039;t aware of &quot;-files-from&quot; option. It looks like it could get the job done. (I suppose it&#039;s quicker to write the bash script than to read the whole man page... :) )</description>
		<content:encoded><![CDATA[<p>Thanks, I wasn&#8217;t aware of &#8220;-files-from&#8221; option. It looks like it could get the job done. (I suppose it&#8217;s quicker to write the bash script than to read the whole man page&#8230; <img src='http://www.gamesandcode.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alv</title>
		<link>http://www.gamesandcode.com/blog/2008/03/linux-system-backup-with-rsync/comment-page-1#comment-1390</link>
		<dc:creator>alv</dc:creator>
		<pubDate>Fri, 05 Jun 2009 12:30:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.gamesandcode.com/blog/2008/03/linux-system-backup-with-rsync#comment-1390</guid>
		<description>Have you checked the option --files-from ? It seems to me that using it with a file like &quot;to_backup&quot; (see below) as well as rsync&#039;s logging features you could eliminate all your bash code and just leave the rsync invocation. Here my rsync command with some explanations.

rsync -rihavz --files-from=to_backup --log-file rsync-log
--rsync-path=&quot;rsync --log-file=/home/me/rsync-log&quot; --delete-after
/home/me remote_machine:~

what this does:

-a   is preserving permissions, and normally recursing (-r) when there
is no --from-file. As we read our backup directories from the to_backup file, we also need
-r   recurse
-h   human file sizes (13.4M instead of so and so many bytes)
-v   verbose
-z   compress
-i   itemized list of stuff being transferred
--log-file   specifies a log file name locally
--rsync-path  path of remote rsync executable. We use this command in
order to tell the remote rsync to also log the transfers (in case
something fails in the client, the server knows which was the last
transfer).
--files-from  specifies that the directories and concrete files to be
backed up are to be read from to_backup
--delete-after  delete all files in server that have been
moved/deleted in client, but do so after the transfer.
remote_machine:~  dump the files on my home directory at the remote machine which is accessible via ssh with passphrase (if you don&#039;t
know what this means, check this out:
http://sial.org/howto/openssh/publickey-auth/)

the to_backup file simply contains a list of
directories or single files to be recursively taken into account. If
you wish to have md4 hashing for identification of changed files
instead of timestamp and size or particular sets of excluded files,
check the rsync man page, which is quite readable.

Cheers,

Álv.</description>
		<content:encoded><![CDATA[<p>Have you checked the option &#8211;files-from ? It seems to me that using it with a file like &#8220;to_backup&#8221; (see below) as well as rsync&#8217;s logging features you could eliminate all your bash code and just leave the rsync invocation. Here my rsync command with some explanations.</p>
<p>rsync -rihavz &#8211;files-from=to_backup &#8211;log-file rsync-log<br />
&#8211;rsync-path=&#8221;rsync &#8211;log-file=/home/me/rsync-log&#8221; &#8211;delete-after<br />
/home/me remote_machine:~</p>
<p>what this does:</p>
<p>-a   is preserving permissions, and normally recursing (-r) when there<br />
is no &#8211;from-file. As we read our backup directories from the to_backup file, we also need<br />
-r   recurse<br />
-h   human file sizes (13.4M instead of so and so many bytes)<br />
-v   verbose<br />
-z   compress<br />
-i   itemized list of stuff being transferred<br />
&#8211;log-file   specifies a log file name locally<br />
&#8211;rsync-path  path of remote rsync executable. We use this command in<br />
order to tell the remote rsync to also log the transfers (in case<br />
something fails in the client, the server knows which was the last<br />
transfer).<br />
&#8211;files-from  specifies that the directories and concrete files to be<br />
backed up are to be read from to_backup<br />
&#8211;delete-after  delete all files in server that have been<br />
moved/deleted in client, but do so after the transfer.<br />
remote_machine:~  dump the files on my home directory at the remote machine which is accessible via ssh with passphrase (if you don&#8217;t<br />
know what this means, check this out:<br />
<a href="http://sial.org/howto/openssh/publickey-auth/)" rel="nofollow">http://sial.org/howto/openssh/publickey-auth/)</a></p>
<p>the to_backup file simply contains a list of<br />
directories or single files to be recursively taken into account. If<br />
you wish to have md4 hashing for identification of changed files<br />
instead of timestamp and size or particular sets of excluded files,<br />
check the rsync man page, which is quite readable.</p>
<p>Cheers,</p>
<p>Álv.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hugo</title>
		<link>http://www.gamesandcode.com/blog/2008/03/linux-system-backup-with-rsync/comment-page-1#comment-51</link>
		<dc:creator>hugo</dc:creator>
		<pubDate>Sat, 31 May 2008 14:36:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.gamesandcode.com/blog/2008/03/linux-system-backup-with-rsync#comment-51</guid>
		<description>Yes, Andrew, you are correct. I didn&#039;t make this clear enough, thanks for pointing this to me. I&#039;ve edited the article so it&#039;s clear now.</description>
		<content:encoded><![CDATA[<p>Yes, Andrew, you are correct. I didn&#8217;t make this clear enough, thanks for pointing this to me. I&#8217;ve edited the article so it&#8217;s clear now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.gamesandcode.com/blog/2008/03/linux-system-backup-with-rsync/comment-page-1#comment-28</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Fri, 30 May 2008 01:41:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.gamesandcode.com/blog/2008/03/linux-system-backup-with-rsync#comment-28</guid>
		<description>I have a question...
with the line in /etc/anacrontab: 

1	10	SystemBackup	/usr/local/bin/backup-all

Does this mean the task is scheduled to take place daily, 10 minutes after the computer is first booted up?</description>
		<content:encoded><![CDATA[<p>I have a question&#8230;<br />
with the line in /etc/anacrontab: </p>
<p>1	10	SystemBackup	/usr/local/bin/backup-all</p>
<p>Does this mean the task is scheduled to take place daily, 10 minutes after the computer is first booted up?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

