Skip to content

Instantly share code, notes, and snippets.

@creaktive
Created January 16, 2011 14:16
Show Gist options
  • Save creaktive/781815 to your computer and use it in GitHub Desktop.
Save creaktive/781815 to your computer and use it in GitHub Desktop.
rdiff-backup params
#!/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