<?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: How to use rsync for transferring files under Linux or UNIX</title> <atom:link href="http://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Deepa</title><link>http://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html#comment-179075</link> <dc:creator>Deepa</dc:creator> <pubDate>Wed, 08 Feb 2012 19:35:49 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-to-use-rsync-for-transferring-files-under-linux-or-unix.html#comment-179075</guid> <description>Hi,
I am doing a rsync between two servers. I have put the script in crontab file so that it runs automatically everyday at night. But the problem is that rsync stops once it encounters a large file. But, surprisingly, If I execute the same script from the CLI, it works perfectly right. Only, when it happens in the background via rsync, it gets stuck. Please advise what could be the issue. Do settings need to be changed somewhere.
Thanks in advance.
Deepa</description> <content:encoded><![CDATA[<p>Hi,<br
/> I am doing a rsync between two servers. I have put the script in crontab file so that it runs automatically everyday at night. But the problem is that rsync stops once it encounters a large file. But, surprisingly, If I execute the same script from the CLI, it works perfectly right. Only, when it happens in the background via rsync, it gets stuck. Please advise what could be the issue. Do settings need to be changed somewhere.</p><p>Thanks in advance.<br
/> Deepa</p> ]]></content:encoded> </item> <item><title>By: Tapan Bhanot</title><link>http://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html#comment-172395</link> <dc:creator>Tapan Bhanot</dc:creator> <pubDate>Mon, 11 Jul 2011 07:58:45 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-to-use-rsync-for-transferring-files-under-linux-or-unix.html#comment-172395</guid> <description>Hello,
How to use rsync with a username and password that is supplied by the remote server ?
I have a tar file which I need to upload to a remote server. The remote server has provided me with IP address, a username and a password. How do I use rsync with the username and password to upload the file on remote server ??
Thanks.</description> <content:encoded><![CDATA[<p>Hello,</p><p>How to use rsync with a username and password that is supplied by the remote server ?</p><p>I have a tar file which I need to upload to a remote server. The remote server has provided me with IP address, a username and a password. How do I use rsync with the username and password to upload the file on remote server ??</p><p>Thanks.</p> ]]></content:encoded> </item> <item><title>By: Eric Gillette</title><link>http://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html#comment-172361</link> <dc:creator>Eric Gillette</dc:creator> <pubDate>Sat, 09 Jul 2011 01:44:30 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-to-use-rsync-for-transferring-files-under-linux-or-unix.html#comment-172361</guid> <description>This is a fantastic explanation of rSync and all it&#039;s idiosyncrasies.
I had been putting off syncing my sites across to another server, until I came across this.
Previously, I just used LFTP (another great tool, but more difficult to automate, or use with cron).
Thanks a bunch!</description> <content:encoded><![CDATA[<p>This is a fantastic explanation of rSync and all it&#8217;s idiosyncrasies.</p><p>I had been putting off syncing my sites across to another server, until I came across this.</p><p>Previously, I just used LFTP (another great tool, but more difficult to automate, or use with cron).</p><p>Thanks a bunch!</p> ]]></content:encoded> </item> <item><title>By: Igo Konrads</title><link>http://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html#comment-172330</link> <dc:creator>Igo Konrads</dc:creator> <pubDate>Thu, 07 Jul 2011 23:12:03 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-to-use-rsync-for-transferring-files-under-linux-or-unix.html#comment-172330</guid> <description>This is exactly what I am after. Haven&#039;t set the second server up yet but will try this between centos5 and vista for now. I hope this is gonna be good enough to get rid of the useless Plesk backup tool. Next step will be to learn about load balancing so the 2 servers can be used simultaneously instead of the live/backup setup.</description> <content:encoded><![CDATA[<p>This is exactly what I am after. Haven&#8217;t set the second server up yet but will try this between centos5 and vista for now. I hope this is gonna be good enough to get rid of the useless Plesk backup tool. Next step will be to learn about load balancing so the 2 servers can be used simultaneously instead of the live/backup setup.</p> ]]></content:encoded> </item> <item><title>By: Avin</title><link>http://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html#comment-171793</link> <dc:creator>Avin</dc:creator> <pubDate>Wed, 08 Jun 2011 04:12:40 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-to-use-rsync-for-transferring-files-under-linux-or-unix.html#comment-171793</guid> <description>Very Nice Article...
Can You please give more details about --delete option ?
When Shall I use this option ?</description> <content:encoded><![CDATA[<p>Very Nice Article&#8230;</p><p>Can You please give more details about &#8211;delete option ?<br
/> When Shall I use this option ?</p> ]]></content:encoded> </item> <item><title>By: Meghraj</title><link>http://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html#comment-171300</link> <dc:creator>Meghraj</dc:creator> <pubDate>Fri, 13 May 2011 13:21:02 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-to-use-rsync-for-transferring-files-under-linux-or-unix.html#comment-171300</guid> <description>I found this article very useful especially for beginners. I will try to contribute as more as possible, so it would be helpful for others...</description> <content:encoded><![CDATA[<p>I found this article very useful especially for beginners. I will try to contribute as more as possible, so it would be helpful for others&#8230;</p> ]]></content:encoded> </item> <item><title>By: Dinesh Jadhav</title><link>http://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html#comment-169357</link> <dc:creator>Dinesh Jadhav</dc:creator> <pubDate>Tue, 01 Mar 2011 07:39:47 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-to-use-rsync-for-transferring-files-under-linux-or-unix.html#comment-169357</guid> <description>Lets say we wanted to copy all of the files under our local directory, &quot;/usbdisk/&quot; and place a copy on the machine &quot;somemachine&quot; under the remote directory &quot;/backups/&quot;. The name of the user on the remote machine is &quot;dinesh&quot;. Notice we added the &quot;-z&quot; argument so all data will be compressed over the network. We could use the following line:
rsync -avz /usbdisk/ dinesh@somemachine:/backups/</description> <content:encoded><![CDATA[<p>Lets say we wanted to copy all of the files under our local directory, &#8220;/usbdisk/&#8221; and place a copy on the machine &#8220;somemachine&#8221; under the remote directory &#8220;/backups/&#8221;. The name of the user on the remote machine is &#8220;dinesh&#8221;. Notice we added the &#8220;-z&#8221; argument so all data will be compressed over the network. We could use the following line:</p><p>rsync -avz /usbdisk/ dinesh@somemachine:/backups/</p> ]]></content:encoded> </item> <item><title>By: Jay Boyd</title><link>http://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html#comment-169140</link> <dc:creator>Jay Boyd</dc:creator> <pubDate>Thu, 24 Feb 2011 17:34:02 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-to-use-rsync-for-transferring-files-under-linux-or-unix.html#comment-169140</guid> <description>Very helpful post. Thanks.</description> <content:encoded><![CDATA[<p>Very helpful post. Thanks.</p> ]]></content:encoded> </item> <item><title>By: shiva</title><link>http://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html#comment-164723</link> <dc:creator>shiva</dc:creator> <pubDate>Mon, 20 Dec 2010 06:37:32 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-to-use-rsync-for-transferring-files-under-linux-or-unix.html#comment-164723</guid> <description>hello,
I have one clearification on working of rsyn
how data will transfor wheather bytes leval or block leval or file leval.</description> <content:encoded><![CDATA[<p>hello,<br
/> I have one clearification on working of rsyn<br
/> how data will transfor wheather bytes leval or block leval or file leval.</p> ]]></content:encoded> </item> <item><title>By: Hartmut Laue</title><link>http://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html#comment-159673</link> <dc:creator>Hartmut Laue</dc:creator> <pubDate>Fri, 17 Sep 2010 09:13:09 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-to-use-rsync-for-transferring-files-under-linux-or-unix.html#comment-159673</guid> <description>Hello,
I am using rsync under ubuntu on my netbook to duplicate the contents of my /home to an SD-Card, by
rsync -av --delete /home/x/ /media/SD-Card/home.x.backup
Running this command, the program seems to do what it should. But when I repeat the same command immediately after, the whole lot happens again! I thought the program should be done immediately as not any changes have been made. What is wrong?
(I don&#039;t know if it plays a role how the hard disks are formatted. The source is ext4 while the SD-Card is FAT32 (or VFAT). Could it be an explanation that FAT can&#039;t save the information on ownership (rights) so that on starting rsync a second time the program views all files as different and does the same job as before again?)</description> <content:encoded><![CDATA[<p>Hello,</p><p>I am using rsync under ubuntu on my netbook to duplicate the contents of my /home to an SD-Card, by</p><p>rsync -av &#8211;delete /home/x/ /media/SD-Card/home.x.backup</p><p>Running this command, the program seems to do what it should. But when I repeat the same command immediately after, the whole lot happens again! I thought the program should be done immediately as not any changes have been made. What is wrong?</p><p>(I don&#8217;t know if it plays a role how the hard disks are formatted. The source is ext4 while the SD-Card is FAT32 (or VFAT). Could it be an explanation that FAT can&#8217;t save the information on ownership (rights) so that on starting rsync a second time the program views all files as different and does the same job as before again?)</p> ]]></content:encoded> </item> <item><title>By: Tone Williams</title><link>http://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html#comment-159302</link> <dc:creator>Tone Williams</dc:creator> <pubDate>Fri, 03 Sep 2010 10:34:38 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-to-use-rsync-for-transferring-files-under-linux-or-unix.html#comment-159302</guid> <description>@akpk and vivek
Thank you very much! This post along with your response on how to store results to a text file has been most useful!</description> <content:encoded><![CDATA[<p>@akpk and vivek<br
/> Thank you very much! This post along with your response on how to store results to a text file has been most useful!</p> ]]></content:encoded> </item> <item><title>By: akpk</title><link>http://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html#comment-159301</link> <dc:creator>akpk</dc:creator> <pubDate>Fri, 03 Sep 2010 06:33:33 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-to-use-rsync-for-transferring-files-under-linux-or-unix.html#comment-159301</guid> <description>@Tone
1) use -v attribute along with rsync command.
rsync -varpgo /usr/local/nagios/contacts.cfg stephen@172.0.0.1:~
2) We can redirect the output to another file adding this at the end of any command
&gt; file.txt
&gt;&gt; file1.txt
EG: date &gt; file.txt</description> <content:encoded><![CDATA[<p>@Tone</p><p>1) use -v attribute along with rsync command.<br
/> rsync -varpgo /usr/local/nagios/contacts.cfg stephen@172.0.0.1:~</p><p>2) We can redirect the output to another file adding this at the end of any command<br
/> &gt; file.txt<br
/> &gt;&gt; file1.txt<br
/> EG: date &gt; file.txt</p> ]]></content:encoded> </item> <item><title>By: Tone Williams</title><link>http://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html#comment-159124</link> <dc:creator>Tone Williams</dc:creator> <pubDate>Sun, 22 Aug 2010 18:06:26 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-to-use-rsync-for-transferring-files-under-linux-or-unix.html#comment-159124</guid> <description>This was fantastic! I have a couple of questions:
1.) Can it show the percentage completed for each file on-screen?
2.)  Is there a way to dump the results into a text file instead of on-screen?
3.) What happens if your SSH connection is accidentally terminated in mid-process? Does the process continue without you?
Thanks.</description> <content:encoded><![CDATA[<p>This was fantastic! I have a couple of questions:</p><p>1.) Can it show the percentage completed for each file on-screen?<br
/> 2.)  Is there a way to dump the results into a text file instead of on-screen?<br
/> 3.) What happens if your SSH connection is accidentally terminated in mid-process? Does the process continue without you?</p><p>Thanks.</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html#comment-157548</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Thu, 08 Jul 2010 18:59:40 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-to-use-rsync-for-transferring-files-under-linux-or-unix.html#comment-157548</guid> <description>No rsync is not real time server file system mirroring tool. It is perfect for making backup and other purposes. You&#039;ve two options here for failback mirroring use DRBD (distributed storage system for the Linux which is like RAID 1, except that it runs over a network between two servers) or use nfs / gfs2 / ofs2 with centralized storage for cluster.
HTH</description> <content:encoded><![CDATA[<p>No rsync is not real time server file system mirroring tool. It is perfect for making backup and other purposes. You&#8217;ve two options here for failback mirroring use DRBD (distributed storage system for the Linux which is like RAID 1, except that it runs over a network between two servers) or use nfs / gfs2 / ofs2 with centralized storage for cluster.</p><p>HTH</p> ]]></content:encoded> </item> <item><title>By: Arie</title><link>http://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html#comment-157546</link> <dc:creator>Arie</dc:creator> <pubDate>Thu, 08 Jul 2010 18:38:29 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-to-use-rsync-for-transferring-files-under-linux-or-unix.html#comment-157546</guid> <description>Hello,
Is there an option to synchronize/backup/copy files from one server to another every day at a certain time? Or better yet, does rsync provide on the fly replication, meaning as sson as something changes on one server, the changes are replicated to a second server?
Thank you,</description> <content:encoded><![CDATA[<p>Hello,</p><p>Is there an option to synchronize/backup/copy files from one server to another every day at a certain time? Or better yet, does rsync provide on the fly replication, meaning as sson as something changes on one server, the changes are replicated to a second server?</p><p>Thank you,</p> ]]></content:encoded> </item> <item><title>By: Suresh.G</title><link>http://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html#comment-156881</link> <dc:creator>Suresh.G</dc:creator> <pubDate>Tue, 29 Jun 2010 11:39:06 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-to-use-rsync-for-transferring-files-under-linux-or-unix.html#comment-156881</guid> <description>I have some folder in the source machine in the format m_d_Y, now from the remote machine i need to pull only last 30 days folders using rsync. Both the source and destination are linux boxes. Any help is appreciated</description> <content:encoded><![CDATA[<p>I have some folder in the source machine in the format m_d_Y, now from the remote machine i need to pull only last 30 days folders using rsync. Both the source and destination are linux boxes. Any help is appreciated</p> ]]></content:encoded> </item> <item><title>By: Jozef</title><link>http://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html#comment-154920</link> <dc:creator>Jozef</dc:creator> <pubDate>Sat, 10 Apr 2010 16:05:52 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-to-use-rsync-for-transferring-files-under-linux-or-unix.html#comment-154920</guid> <description>We staringrting to switch from solaris to RedHat. I created RedHat intel machine for webserver. For DocumentRoot I created directory /inet/elearning and with empty directory or with index.html (wich I transfer from sparc machine apache started and working but when I rsync all content from sparc I&#039;m getting syntax error at start saying &#039;DocumentRoot must be directory&#039;. I see problem with directory format between solaris and redhat. I use rsync syntax:
/usr/bin/rsync -avzp --delete -e /usr/bin/ssh root@sparc-machine:inet/elearning /inet
Is any chance do reformat directory during transfer them or after? On solaris creation block is 512, on redhat probably 4096
Any clue help may help
Thank you</description> <content:encoded><![CDATA[<p>We staringrting to switch from solaris to RedHat. I created RedHat intel machine for webserver. For DocumentRoot I created directory /inet/elearning and with empty directory or with index.html (wich I transfer from sparc machine apache started and working but when I rsync all content from sparc I&#8217;m getting syntax error at start saying &#8216;DocumentRoot must be directory&#8217;. I see problem with directory format between solaris and redhat. I use rsync syntax:<br
/> /usr/bin/rsync -avzp &#8211;delete -e /usr/bin/ssh root@sparc-machine:inet/elearning /inet<br
/> Is any chance do reformat directory during transfer them or after? On solaris creation block is 512, on redhat probably 4096<br
/> Any clue help may help<br
/> Thank you</p> ]]></content:encoded> </item> <item><title>By: Gregory</title><link>http://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html#comment-154139</link> <dc:creator>Gregory</dc:creator> <pubDate>Sat, 06 Mar 2010 19:25:07 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-to-use-rsync-for-transferring-files-under-linux-or-unix.html#comment-154139</guid> <description>@Vivek
rsync -e &#039;ssh -p 40000&#039;</description> <content:encoded><![CDATA[<p>@Vivek</p><p>rsync -e &#8216;ssh -p 40000&#8242;</p> ]]></content:encoded> </item> <item><title>By: Vivek</title><link>http://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html#comment-153872</link> <dc:creator>Vivek</dc:creator> <pubDate>Tue, 23 Feb 2010 18:40:49 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-to-use-rsync-for-transferring-files-under-linux-or-unix.html#comment-153872</guid> <description>What about rsync to different port other than 22 ?</description> <content:encoded><![CDATA[<p>What about rsync to different port other than 22 ?</p> ]]></content:encoded> </item> <item><title>By: viji</title><link>http://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html#comment-153359</link> <dc:creator>viji</dc:creator> <pubDate>Sat, 06 Feb 2010 11:49:37 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-to-use-rsync-for-transferring-files-under-linux-or-unix.html#comment-153359</guid> <description>i am using suse linux server and windows xp as client.I am having a network connection here.I need to transfer the database back file from the linux server to my windows xp client.please give some steps/command line arguments to transfer this.</description> <content:encoded><![CDATA[<p>i am using suse linux server and windows xp as client.I am having a network connection here.I need to transfer the database back file from the linux server to my windows xp client.please give some steps/command line arguments to transfer this.</p> ]]></content:encoded> </item> </channel> </rss>
