add an excludes.txt

This commit is contained in:
Andreas Zweili 2021-08-23 15:19:18 +02:00
parent e670e3efde
commit 18b24da3ed
2 changed files with 25 additions and 0 deletions

18
files/excludes.txt Executable file
View File

@ -0,0 +1,18 @@
/home/*/.gvfs
/home/*/.cache
/home/*/.thumbnails
/home/*/.dropbox
/home/*/.steam
home/*/.local/share/Steam/
/home/*/snap
/proc
/sys
/dev
/etc/mtab
/var/cache
lost+found
/tmp
/var/tmp
__pycache__
/home/*/.local/share/Trash
/home/*/programmes/tor-browser_en-US

View File

@ -12,3 +12,10 @@
dest: "/usr/bin/restic"
remote_src: yes
mode: "751"
- name: "Copy excludes file"
copy:
src: "excludes.txt"
dest: "/etc/restic/excludes.txt"
remote_src: yes
mode: "751"