Update backup configuration

This commit is contained in:
Thibaud Gasser 2019-01-06 15:07:19 +01:00
parent 83432cef35
commit 10b7d99e87
2 changed files with 5 additions and 1 deletions

View File

@ -9,7 +9,7 @@ Environment=BORG_PASSPHRASE=***REMOVED***
Environment=BORG_KEY_FILE=/home/thibaud/.config/borg/keys/S551LN_borg.2
Nice=19
ExecStart=/usr/local/bin/borg create --list --stats --filter AME --exclude-from=/mnt/data/thibaud/backups/S551LN/exclude-list-S551LN.txt ::{now} /
ExecStartPost=/usr/local/bin/borg prune -v --list --keep-daily=7 --keep-weekly=4 --keep-monthly=6 --keep-within 2d --stats ::
ExecStartPost=/usr/local/bin/borg prune -v --list --keep-daily=7 --keep-weekly=4 --keep-monthly=10 --keep-within 2d --stats ::
[Install]
WantedBy=multi-user.target

View File

@ -19,8 +19,12 @@
/home/*/.gvfs
/swapfile
/var/lib/flatpak/appstream/
/var/lib/flatpak/repo/
/root/.cache
/home/*/.android
/home/*/.cache
/home/*/.m2
/home/*/.gradle