<?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: Easy cpanel WHM or linux remote backup &#8211; SSH pull rsync backups for security and integrity using incremental</title>
	<atom:link href="http://iwtf.net/2010/03/27/easy-cpanel-remote-backup-ssh-pull-rsync-backups-for-security-and-integrity/feed/" rel="self" type="application/rss+xml" />
	<link>http://iwtf.net/2010/03/27/easy-cpanel-remote-backup-ssh-pull-rsync-backups-for-security-and-integrity/</link>
	<description>Dont worry, We&#039;re from the Internet</description>
	<lastBuildDate>Tue, 08 May 2012 20:07:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Yaniv</title>
		<link>http://iwtf.net/2010/03/27/easy-cpanel-remote-backup-ssh-pull-rsync-backups-for-security-and-integrity/comment-page-1/#comment-936</link>
		<dc:creator>Yaniv</dc:creator>
		<pubDate>Sun, 08 Apr 2012 12:23:14 +0000</pubDate>
		<guid isPermaLink="false">http://iwtf.net/?p=287#comment-936</guid>
		<description>Hi,
Great article.
Can you please send the script ?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Great article.<br />
Can you please send the script ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cynthia</title>
		<link>http://iwtf.net/2010/03/27/easy-cpanel-remote-backup-ssh-pull-rsync-backups-for-security-and-integrity/comment-page-1/#comment-824</link>
		<dc:creator>Cynthia</dc:creator>
		<pubDate>Sun, 08 Jan 2012 07:48:15 +0000</pubDate>
		<guid isPermaLink="false">http://iwtf.net/?p=287#comment-824</guid>
		<description>thanks alot for the tips. u made me get through all these scary ideas that i cant backup to another server unless i do full daily backups. thanks again</description>
		<content:encoded><![CDATA[<p>thanks alot for the tips. u made me get through all these scary ideas that i cant backup to another server unless i do full daily backups. thanks again</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dragos</title>
		<link>http://iwtf.net/2010/03/27/easy-cpanel-remote-backup-ssh-pull-rsync-backups-for-security-and-integrity/comment-page-1/#comment-768</link>
		<dc:creator>Dragos</dc:creator>
		<pubDate>Thu, 27 Oct 2011 18:29:33 +0000</pubDate>
		<guid isPermaLink="false">http://iwtf.net/?p=287#comment-768</guid>
		<description>Great Article!
Thank you very much!</description>
		<content:encoded><![CDATA[<p>Great Article!<br />
Thank you very much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: V</title>
		<link>http://iwtf.net/2010/03/27/easy-cpanel-remote-backup-ssh-pull-rsync-backups-for-security-and-integrity/comment-page-1/#comment-432</link>
		<dc:creator>V</dc:creator>
		<pubDate>Sun, 09 Jan 2011 00:26:40 +0000</pubDate>
		<guid isPermaLink="false">http://iwtf.net/?p=287#comment-432</guid>
		<description>You guys have any recommendations on a good backup space provider. Sure I can google it but would love to hear from some one with personal experience?.</description>
		<content:encoded><![CDATA[<p>You guys have any recommendations on a good backup space provider. Sure I can google it but would love to hear from some one with personal experience?.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://iwtf.net/2010/03/27/easy-cpanel-remote-backup-ssh-pull-rsync-backups-for-security-and-integrity/comment-page-1/#comment-149</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 08 May 2010 00:58:37 +0000</pubDate>
		<guid isPermaLink="false">http://iwtf.net/?p=287#comment-149</guid>
		<description>I run them incremental for ease of access, but yep the --rsyncable option on gzip should sort you out :)</description>
		<content:encoded><![CDATA[<p>I run them incremental for ease of access, but yep the &#8211;rsyncable option on gzip should sort you out <img src='http://iwtf.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://iwtf.net/2010/03/27/easy-cpanel-remote-backup-ssh-pull-rsync-backups-for-security-and-integrity/comment-page-1/#comment-148</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Fri, 07 May 2010 22:26:42 +0000</pubDate>
		<guid isPermaLink="false">http://iwtf.net/?p=287#comment-148</guid>
		<description>Nevermind, I guess the compressed backups are created using GZIP&#039;s rsyncable option!</description>
		<content:encoded><![CDATA[<p>Nevermind, I guess the compressed backups are created using GZIP&#8217;s rsyncable option!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://iwtf.net/2010/03/27/easy-cpanel-remote-backup-ssh-pull-rsync-backups-for-security-and-integrity/comment-page-1/#comment-147</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Fri, 07 May 2010 22:15:34 +0000</pubDate>
		<guid isPermaLink="false">http://iwtf.net/?p=287#comment-147</guid>
		<description>I&#039;m assuming this requires WHM to be setup for incremental backups instead of tar/tar.gz backup to really take advantage of rsync?</description>
		<content:encoded><![CDATA[<p>I&#8217;m assuming this requires WHM to be setup for incremental backups instead of tar/tar.gz backup to really take advantage of rsync?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://iwtf.net/2010/03/27/easy-cpanel-remote-backup-ssh-pull-rsync-backups-for-security-and-integrity/comment-page-1/#comment-144</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 22 Apr 2010 17:15:07 +0000</pubDate>
		<guid isPermaLink="false">http://iwtf.net/?p=287#comment-144</guid>
		<description>Thanks for the positive feedback always good to hear Im helping others out. Im not sure why you get nothing in your log file - if you copied the command as noted it should work flawlessly, but i could be wrong. The 2&gt;&amp;1 just writes STDERR, its usually handy to have as if something goes wrong with the system, you get the error output in your log too (instead of it going to cron&#039;s &#039;console&#039;)

A hack to mail yourself the log could be as simple as adding this to the end of the cron job (note semicolon before mail):

;mail -s &quot;Backup Report&quot; you@you.com &lt; /path/to/logfile.txt

If you wanted start time, stop time, bytes transferred, a simple bash wrapper should be able to achieve this, write start time to a variable, run the rsync command and pipe output to log file, write stop time to variable and then &#039;tail -1 /path/to/logfile&#039; to a variable. Throw those variables into a /tmp file and then have the script call the mail command as above, piping the /tmp file in as input. Script then cleans up the /tmp file and jobs done. 

Though there is probably a much easier way of doing it, just like all good things in linux you can do them a million ways and still be &#039;right&#039; as long as it works well for you.</description>
		<content:encoded><![CDATA[<p>Thanks for the positive feedback always good to hear Im helping others out. Im not sure why you get nothing in your log file &#8211; if you copied the command as noted it should work flawlessly, but i could be wrong. The 2>&#038;1 just writes STDERR, its usually handy to have as if something goes wrong with the system, you get the error output in your log too (instead of it going to cron&#8217;s &#8216;console&#8217;)</p>
<p>A hack to mail yourself the log could be as simple as adding this to the end of the cron job (note semicolon before mail):</p>
<p>;mail -s &#8220;Backup Report&#8221; <a href="mailto:you@you.com">you@you.com</a> < /path/to/logfile.txt</p>
<p>If you wanted start time, stop time, bytes transferred, a simple bash wrapper should be able to achieve this, write start time to a variable, run the rsync command and pipe output to log file, write stop time to variable and then &#8216;tail -1 /path/to/logfile&#8217; to a variable. Throw those variables into a /tmp file and then have the script call the mail command as above, piping the /tmp file in as input. Script then cleans up the /tmp file and jobs done. </p>
<p>Though there is probably a much easier way of doing it, just like all good things in linux you can do them a million ways and still be &#8216;right&#8217; as long as it works well for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: johnsee</title>
		<link>http://iwtf.net/2010/03/27/easy-cpanel-remote-backup-ssh-pull-rsync-backups-for-security-and-integrity/comment-page-1/#comment-143</link>
		<dc:creator>johnsee</dc:creator>
		<pubDate>Thu, 22 Apr 2010 11:29:22 +0000</pubDate>
		<guid isPermaLink="false">http://iwtf.net/?p=287#comment-143</guid>
		<description>Just thinking about it a little more myself, I assume putting the whole lot in a script and calling that script could take care of recording the start and finish time perhaps?</description>
		<content:encoded><![CDATA[<p>Just thinking about it a little more myself, I assume putting the whole lot in a script and calling that script could take care of recording the start and finish time perhaps?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: johnsee</title>
		<link>http://iwtf.net/2010/03/27/easy-cpanel-remote-backup-ssh-pull-rsync-backups-for-security-and-integrity/comment-page-1/#comment-142</link>
		<dc:creator>johnsee</dc:creator>
		<pubDate>Thu, 22 Apr 2010 10:30:06 +0000</pubDate>
		<guid isPermaLink="false">http://iwtf.net/?p=287#comment-142</guid>
		<description>Firstly, a fantastic tutorial. I can&#039;t believe I&#039;m the first to comment.

I&#039;ve got everything running perfectly and am now wanting to take it to the next level.

I&#039;ve removed &#039;2&gt;&amp;1&#039; in order to recieve an email when the sync in complete, but all I&#039;m getting through at the moment is: &#039;stdin: is not a tty&#039; in the email body. The sync is completing properly however, and all the appropriate data is being written in the text file.

What I&#039;d like is the email to say something along the lines of:
Time taken: x
Data transfered: y

and that&#039;s about it. Any tips?</description>
		<content:encoded><![CDATA[<p>Firstly, a fantastic tutorial. I can&#8217;t believe I&#8217;m the first to comment.</p>
<p>I&#8217;ve got everything running perfectly and am now wanting to take it to the next level.</p>
<p>I&#8217;ve removed &#8217;2&gt;&amp;1&#8242; in order to recieve an email when the sync in complete, but all I&#8217;m getting through at the moment is: &#8216;stdin: is not a tty&#8217; in the email body. The sync is completing properly however, and all the appropriate data is being written in the text file.</p>
<p>What I&#8217;d like is the email to say something along the lines of:<br />
Time taken: x<br />
Data transfered: y</p>
<p>and that&#8217;s about it. Any tips?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

