Archived
1
0
Fork 0

borg: add exclude patterns

This commit is contained in:
Casper V. Kristensen 2022-11-13 21:02:13 +01:00
parent b28a988ca6
commit 5539d35c66

View file

@ -44,15 +44,21 @@ borg create
\
--pattern '! /var/lib/apport/coredump' \
--pattern '! /var/lib/docker' \
--pattern '! /var/lib/libvirt/images' \
--pattern '! /var/lib/snapd/snaps' \
--pattern '! /var/local/borg/repos' \
--pattern '! /**/.cache' \
--pattern '! /**/Cache' \
--pattern '! /**/cache' \
--pattern '! /**/.terraform' \
--pattern '- *.tmp' \
\
--pattern '! /home/*/.steam' \
--pattern '! /home/*/Android/Sdk' \
--pattern '! /home/*/GOG Games' \
--pattern '! /home/*/Downloads' \
--pattern '! /home/*/go' \
--pattern '! /home/*/.local/share/JetBrains/Toolbox/apps' \
--pattern '! /home/*/.local/share/Trash' \
\
--pattern '+ /media/caspervk/C/Users/Casper/Desktop' \