Re: [Hampshire] Strange overflow messages when backing up

Top Page

Reply to this message
Author: Adam Trickett
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Strange overflow messages when backing up
On Friday 02 Nov 2007, hantslug@??? wrote:
>
> cp -Rpu /home/. /backup
>


I take it you are happy and everything is working okay?

One small suggestion is that you may wish to consider the rsync command rather
than the old style cp. I'm sure you have heard of rsync, it's the clever tool
by the Samba people that only copies the parts of the file that have changed
between two computers. Anyhow you don't have to use it between computers, if
you have a large collection of files in one directory tree and you want to
keep a copy of them in another directory tree you can use rsync to do it for
you, it should in theory be much faster than cp (assuming lots of files and a
fast CPU) and best of all it can also be configure to delete files in the
backup tree once they have gone from the source tree!

Just a thought. Try

man rsync

for details and (many) options and

aptitude install rsync

if you don't have it yet.

--
Adam Trickett
Overton, HANTS, UK

"Norton Wipe Info uses hexadecimal values to wipe files.  This
 provides more security than wiping with decimal values."
    -- from the manual of Norton Systemworks 2002, pg 160