- <http://rdiff-backup.nongnu.org/examples.html>
- <http://wiki.openkm.com/index.php/Backup_with_rdiff-backup#Remote_backup_with_rdiff-backup_.28Tomcat_-_MySQL.29>
check for older Versions:
rdiff-backup -l /backup/folder
make a backup:
rdiff-backup /working/folder/ /backup/folder/
remote host:
rdiff-backup /some/local-dir hostname.net::/whatever/remote-dir
Wen ein Backup failt wird es so auf den letzen Stand zurückgesetzt:
rdiff-backup —check-destination-dir /backup/dir
Mit exclude und include files:
#!/bin/bash
# Backup script for remote host
HOSTNAME=galaxy
USERNAME=root
DESTINATION=/home/freddy/backup/$HOSTNAME/
rdiff-backup --print-statistics --terminal-verbosity 2 \
--exclude-globbing-filelist backup.exclude \
--include-globbing-filelist backup.include \
--exclude / $USER@$HOSTNAME::/ $DESTINATION