[CentOS] rsync question

Jeff Larsen jlar310 at gmail.com
Mon Apr 7 17:30:24 UTC 2008


On Mon, Apr 7, 2008 at 12:07 PM, Ray Leventhal <centos at swhi.net> wrote:
> Hi folks,
>
>  I've been trying to wrap my head around this for a bit, done my googling
> and archive searching but I still can't seem to 'get' it.
>
>  Here goes:
>
>  I've a spare drive in my CentOS5.1 box, which (for testing now) I mount
> manually under /mnt/backup
>
>  I want to backup the /home tree to that box nightly via rsync (cronjob), so
> I tried this:
>
>  rsync -avrogz /home/ /mnt/backup/
>
>  All goes well, but it seems that rsync is copying the files and compressing
> them into an archive....both the file structure and the archive exist.  Is
> there a flag I'm missing, or is there a better, more efficient way to get
> this accomplished?


rsync does not create archives. Are you sure that the archive does not
exist in the source directory? Is it just being rsynced along with
everything else? Perhaps it is left over from previous backup
strategies. Have you opened up the archive to look at dates and
timestamps?

-- 
Jeff



More information about the CentOS mailing list