On 28/01/2013 09:29, STeve Andre' wrote:
> 
> Except, he wanted to avoid over writing existing files.

Whoops, didn't notice that.

For incremental backups, I just use rdiff-backup. It seems to be Python, so as
long as you can get Rsync and Python on Windows it should be possible to get
rdiff-backup there as well. In fact, I see some Win32 things here:
<http://rdiff-backup.nongnu.org/>

The syntax is simple enough:
To do backups: rdiff-backup /path/to/src/ /path/to/backup/
To list increments: rdiff-backup -l /path/to/backup/
To restore to 3 days ago (D=day): rdiff-backup -r 3D /path/to/backup/
/path/to/restoredir/


Without using rdiff-backup, you can use rsync for incremental backups in two 
modes:

 1. Destination directory is kept up to date, backups (older versions) are
    stored in the directory specified by --backup-dir=/path/to/backup-dir/

    rdiff-backup does something like this.


 2. Destination directory is kept to the initial version, and only the updated
    files are transferred (to a different directory):
    rsync -Pavz --compare-dest=/path/to/oldbackup/ /path/to/src/ /path/to/dest/

    --compare-dest can be substituted with --copy-dest or --link-dest to copy
    or hardlink files from /path/to/oldbackup/ to /path/to/dest/ respectively.
    If you use --link-dest, you'll need to have hardlink support on your
    filesystem, of course.

-- 
Kind regards,
Loong Jin

_______________________________________________
Thinkpad mailing list
[email protected]
http://stderr.org/cgi-bin/mailman/listinfo/thinkpad

Reply via email to