Skip to content

Instantly share code, notes, and snippets.

@naodesu
Created February 10, 2017 18:32
Show Gist options
  • Save naodesu/87f5c98ba3294c63ded1f92f90819482 to your computer and use it in GitHub Desktop.
Save naodesu/87f5c98ba3294c63ded1f92f90819482 to your computer and use it in GitHub Desktop.
Backup 1C repository using rdiff-backup
00 6 * * * root rdiff-backup --terminal-verbosity 0 --include-globbing-filelist /etc/rdiff-backup.repository.filter /srv/repository/ /var/lib/backup/repository/
00 6 * * * root rdiff-backup --terminal-verbosity 0 --force --remove-older-than 3M /var/lib/backup/repository/
- **/1cv8dtmp.1CD
- **/*.cfl
- **/cache
+ /srv/repository/repository1
+ /srv/repository/repository2
- **
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment