If the date and timestamps on the two sets of files match, rsync will not
transfer any data.  This can (and does) tremendously speed up the process of
making sure the two copies are the same.  If there is ever some sort of
issue, you may want to make one special run using the -c switch to force the
checking of md5sums, even if the dates and times match.

I use rsync to backup a lot of stuff, and it saves me a lot of time, I/O,
and bandwidth.


Mark Post

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
McKown, John
Sent: Thursday, April 28, 2005 4:42 PM
To: [email protected]
Subject: Which is better "cp -av src dest" or "rsync -a src dest"?


Assuming that I want to do "incremental" backups from one filesystem to
another on a nightly basis, which is better (started by cron)

cp -axv src dest

or

rsync -axv src dest

or is there really no difference? I don't want to use the daemon, nor do I
want to backup on a different server.


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology

This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and its' content is
protected by law.  If you are not the intended recipient, you should delete
this message and are hereby notified that any disclosure, copying, or
distribution of this transmission, or taking any action based on it, is
strictly prohibited.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to