backup_dir problem
Scott Howard
scott at doc.net.au
Sun Oct 21 22:56:32 EST 2001
On Sat, Oct 20, 2001 at 08:30:58PM -1000, Steve Marx wrote:
> I am having a problem using the backup_dir option
> of rsync. The command being used is basically
>
> rsync --archive --delete --backup
> --backup_dir=PathToBackup/save
> user at fromsystem:FilePath/ PathToBackup/
> being backed up. Fortunately, rsync is clever enough
> to not delete the PathToBackup/save tree even though
> there is no corresponding "save" tree on the "from" side.
No it's not! It is deleteing it, just when it deletes it, it moves
it to the "save" directory...
You probably want to add -exclude save onto the command line to
get what you want.
Scott
More information about the rsync
mailing list