Re: Questions with rsync

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/03/2009 06:05 PM, Patrick O'Callaghan wrote:
On Wed, 2009-06-03 at 10:05 -0430, Patrick O'Callaghan wrote:
On Wed, 2009-06-03 at 03:02 -0700, GMS S wrote:
Will this command do the job for backup?

rsync -vpa / /home/user/backup
Er, isn't this recursive?

What I meant to say was "isn't this an infinite loop?" The entire
filesystem rooted at / is being copied into one of its subtrees.

The answer is that rsync is clever enough to avoid this (I tried it on a
test directory),

Try it a second time.

rsync ain't that smart. The only reason it worked the first time is that rsync built a list of files/directories to copy before it copied them. With rsync 3, it only builds that list for one directory at a time. Older versions built the entire list before beginning. You'll get different results with the two versions, IIRC.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux