2013-01-12
rdiff backup and windows
- download rdiff-backup for windows
- download plink putty puttygen
- create id_rsa and id_rsa.pub using puttygen
- test using plink
plink.exe -i privatekey.ppk username@servername.domainname
- test rdiff-backup via command line
C:\Users\Administrator\Desktop\backup\rdiff-backup-1.2.8>rdiff-backup.exe --remote-schema "plink.exe -i id_rsa.ppk %s rdiff-backup --server" C:\path\to\save backup@bkp-srv::/srv/backup/win-srv
- configure a service (task scheduler) start > programs > accessories >
system tools > task scheduler
- settings:
- general > run wether user is logged or not
- triggers > daily at 1.44 am every day
- action > start a program
- program/script: C:\Users\Administrator\Desktop\backup\rdiff-backup-1.2.8\rdiff-backup.exe
- add arguments: –remote-schema "plink.exe -i id_rsa.ppk %s rdiff-backup –server" C:\path→\save backup@bkp-srv::/srv/backup/win-srv
- start in: C:\Users\Administrator\Desktop\backup\rdiff-backup-1.2.8
- settings: