[CoLoCo] rsync

David L. Willson DLWillson at TheGeek.NU
Mon Mar 17 16:16:05 GMT 2008


> > > # !/bin/bash
> > > # backup script to run daily as a cron job
> > > rsync --delete --backup -avz /home/ /media/sdb1/backup/
> it's a manual thing at the moment. I thought the -z option would archive the
> backup which I thought meant compressing it but it seems uncompressed to me.

rsync runs client/server, z compresses the data-transfer between the client and server,
not the files or filesystem at either end.  I think there's a way to gzip the whole
target filesystem, and it might make sense for a filesystem that's only used for
backups, but I'm not sure how that'd be done.



More information about the Ubuntu-us-co mailing list