backup option

Bob Proulx
2010-08-12T08:11:21Z

hce wrote:
> I am using rsync to backup files. Is it possible to specify an option
> not to delete files from backup directory if the files are deleted
> from source? In that way, I can always keep something I may or may not
> need in the backup disk, but remove it from a work computer.

Perhaps you want the --backup --backup-dir=DIR options?

        -b, --backup                make backups (see --suffix &
--backup-dir)
            --backup-dir=DIR        make backups into hierarchy based in DIR

Bob