Created
January 16, 2011 14:16
-
-
Save creaktive/781815 to your computer and use it in GitHub Desktop.
rdiff-backup params
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
BACKUP_PART=/backup | |
/sbin/mount ${BACKUP_PART} | |
/usr/local/bin/rdiff-backup --print-statistics --terminal-verbosity 5 \ | |
--exclude ${BACKUP_PART} \ | |
--exclude /db/ \ | |
--exclude /tmp/ \ | |
--exclude /usr/compat/linux/proc/ \ | |
--exclude /var/tmp/ \ | |
/ ${BACKUP_PART} | |
/sbin/umount ${BACKUP_PART} | |
/sbin/fsck ${BACKUP_PART} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment