Exclude resources from backup

This commit is contained in:
Thomas Avé 2025-07-11 12:21:22 +02:00
parent fa7dc04a78
commit 7ee1cd7112
1 changed files with 1 additions and 0 deletions

View File

@ -93,6 +93,7 @@ echo -e '\n\n\n'
echo "Running Workspace Backups"
borg create -s --progress \
10.4.0.1:Storage/Thomas/Borg/Workspace::'{hostname}-{now}' \
--exclude /home/server/Workspace/TrackBox/Resources \
/home/server/Workspace/
borg prune --keep-daily 7 --keep-weekly 4 --keep-monthly -1 --save-space 10.4.0.1:Storage/Thomas/Borg/Workspace
borg compact 10.4.0.1:Storage/Thomas/Borg/Workspace