[XCSSA] Rsync usage
X-otic Computer Systems of San Antonio
xcssa at xcssa.org
Mon Jan 14 22:27:58 CST 2008
Follow this along:
http://www.sanitarium.net/golug/rsync_backups.html
Tweeks
On Monday 14 January 2008 20:22:59 X-otic Computer Systems of San Antonio
wrote:
> Hi everyone,
>
> I know some people on this list are familiar with rsync, and I'm
> searching for some information.
>
> I'm using rsync to sync directories on two different servers. The files
> in the directories currently total about 1.8Gig of space. And I'd like
> to keep about seven days of incremental backups on the backup server.
>
> But on the second (backup) server, I'm trying to conserve disk space.
> Right now, I have a script duplicate Monday's backups to Tuesday and
> then rsync runs against Tuesday's copy. Of course, it duplicates
> anything changed on the main server to the backup server. But that
> means that a lot of files not changed on the main server are also in the
> new day's directory on the backup server. And that's where the disk
> space is being eaten up!
>
> I'd like to find a way to get rsync to compare directories and copy the
> changed files to a different subdirectory on the backup server. Does
> anyone know how to do this with rsync? Or am I stuck with a secondary
> script deleting any unchanged file in the new day's backup folder???
>
>
>
> Chuck
More information about the XCSSA
mailing list