Backup with rsync and after that with tar

Dave Dykstra dwd at bell-labs.com
Thu Jul 26 05:58:53 EST 2001


On Tue, Jul 24, 2001 at 05:37:58PM +0100, RoBSD wrote:
> Hello rsync list,
> 
> Sorry if my response is already in the archives, I tried to find it
> but I failed!
> 
> I have 5 computers running linux (rsync and ssh) remotely and I
> started to make backups with the following command:
> 
> rsync -cavzRq -e /usr/local/sbin/ssh
> 
> but I think (maybe I'm wrong) that this mess the symbolic links.
> I want to use tar and gzip to make backups from the HDD to tapes and
> I don't know if the archives will be correct or not because of the
> symbolic links.
> 
> Thank you for your time and for this wonderful tool!
> Radu

That command should preserve symbolic links.

Some comments on your options:
    -c is almost always not needed, and it's a lot of overhead
    -v and -q are opposites, why include both?

- Dave Dykstra




More information about the rsync mailing list