Skip to content

Instantly share code, notes, and snippets.

@rzbrk
Created May 26, 2021 16:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rzbrk/3f2312c6a8969bc5165682dfbb51aa38 to your computer and use it in GitHub Desktop.
Save rzbrk/3f2312c6a8969bc5165682dfbb51aa38 to your computer and use it in GitHub Desktop.
My resticprofile configuration (personal notebook)
[default]
repository = "XXXX"
password-file = "/usr/local/etc/resticprofile/restic-backup.pwd"
initialize = false
[default.env]
TMPDIR = "/tmp"
[default.backup]
verbose = true
one-file-system = true
source = [ "/home/myuser", "/etc", "/usr/local" ]
exclude-caches = true
exclude-file = "/usr/local/etc/resticprofile/restic-backup.exclude"
[default.retention]
# Multiple policies will be ORed together so as to be as inclusive as possible
# for keeping snapshots.
before-backup = false
after-backup = true
# Only consider snapshots from this host. Leave snpashots from other
# hosts untouched
host = "hostname"
keep-last = 10
keep-daily = 7
keep-weekly = 8
keep-monthly = 12
keep-yearly = 2
keep-tag = [ "keep" ]
compact = false
prune = false
/home/myuser/Downloads
/home/myuser/VirtualBox_VMs_nobackup
/home/myuser/cloud
/home/myuser/temp
/home/myuser/.cache
/usr/local/src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment