On Wed, 2004-12-15 at 19:07, Sunny wrote:
On Wed, 15 Dec 2004 18:50:44 -0500, Paul W. Abrahams
wrote: On Wednesday 15 December 2004 6:26 pm, Ken Schneider wrote:
Before I retired I was using rsync to backup many gig of data across a wan connection and also used the compression switch. Very good program. Also the trailing "/" is only needed on the source not the destination.
Thanks to all for the pointer to rsync. But ---
I tried using it to do what seems like a simple case: backing up from one mounted directory to another (actually, the directories are on different hard drives). But I got the following:
pwa@suillus:~> rsync -a --delete-after /home/pwa /home-backup/pwa rsync: writefd_unbuffered failed to write 4 bytes: phase "unknown": Broken pipe rsync error: error in rsync protocol data stream (code 12) at io.c(515) rsync: writefd_unbuffered failed to write 69 bytes: phase "unknown": Broken pipe rsync error: error in rsync protocol data stream (code 12) at io.c(515) pwa@suillus:~>
What now, good people?
Paul
I don't use rsync, but the other guys said that the trailing slash at the end of the orig. directory is mandatory. And your command does not have one.
The trailing slash in the source is used to tell rsync to do recursive copy which you do not have. Also you will need to create the /home-backup/pwa destination first. -- Ken Schneider UNIX since 1989 SuSE since 1998 * Only reply to the list please*