add programming dirs to backups

This commit is contained in:
Felix Van der Jeugt 2021-06-16 11:26:29 +02:00
parent e91ab58c54
commit 119c7673bd
No known key found for this signature in database
GPG Key ID: 58B209295023754D

View File

@ -43,7 +43,6 @@ borg create \
--exclude '/data/mail/*/.uidvalidity' \ --exclude '/data/mail/*/.uidvalidity' \
--exclude '/data/music/*' \ --exclude '/data/music/*' \
--exclude '/data/pictures/*' \ --exclude '/data/pictures/*' \
--exclude '/data/programming/*' \
--exclude '/data/torrents/*' \ --exclude '/data/torrents/*' \
--exclude '/home/*/.ssh/control*' \ --exclude '/home/*/.ssh/control*' \
--exclude '/home/*/services/*/supervise' \ --exclude '/home/*/services/*/supervise' \
@ -51,6 +50,12 @@ borg create \
--exclude '*/.stack-work/*' \ --exclude '*/.stack-work/*' \
--exclude '*/lock' \ --exclude '*/lock' \
--exclude '*/.mbsyncstate*' \ --exclude '*/.mbsyncstate*' \
--exclude '*/target/*' \
--exclude '*/build/*' \
--exclude '/data/programming/void-packages/*' \
--exclude '/data/programming/SP-Flash-Tool-src/*' \
--exclude '/data/programming/obs-v4l2sink/*' \
--exclude '/data/programming/obs-studio/*' \
\ \
::'{hostname}-{now}' \ ::'{hostname}-{now}' \
/etc \ /etc \