LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Copying directory trees

[ILUG] Copying directory trees

Kenn Humborg kenn at linux.ie
Tue Jan 27 23:35:06 GMT 2004


On Tue, Jan 27, 2004 at 11:09:21PM +0000, Timothy Murphy wrote:
> On Tuesday 27 January 2004 09:28, Stephen Shirley wrote:
> 
> > rsync -a /usr/local/ /tmp/mount/point
> > is probably the best way of copying. T
> 
> Why do you think rsync -a is better than cp -a ?

Because you can interrupt it and run it again and it will
pick up where it left off.

You can run it while the filesystems are mounted and being
modified to get most of the files copied.  Then, when you 
have to stop all access (say, by dropping to runlevel 1),
you simply do another rsync which will be pretty quick since
it only needs to copy the changes.  Shortens your downtime.

Later,
Kenn





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell