Exclude resources from backup
This commit is contained in:
parent
fa7dc04a78
commit
7ee1cd7112
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue