Skip to content

Instantly share code, notes, and snippets.

@MatthewVance
Created May 18, 2019 15:04
Show Gist options
  • Save MatthewVance/0d228dbe85bccb2836ba72194ef6dcb5 to your computer and use it in GitHub Desktop.
Save MatthewVance/0d228dbe85bccb2836ba72194ef6dcb5 to your computer and use it in GitHub Desktop.
Restic backup exclude file example for Linux.
/dev/*
/home/*/.bash_history
/home/*/.cache/chromium
/home/*/.local/share/Trash
/home/*/.mozilla/firefox/*/Cache
/home/*/Documents/Exclude/*
/lib/modules/*/volatile/.mounted
/media/*
/mnt/*
/proc/*
/run/*
/tmp/*
/sys/*
/var/cache/apt/archives/*
/var/lock/*
/var/run/*
/var/tmp/*
/Volumes/storage/matt/backup/*
/var/lib/lxcfs/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment