Skip to content

Commit

Permalink
also run borg compact to actually free disk space
Browse files Browse the repository at this point in the history
  • Loading branch information
mortbauer committed Sep 19, 2024
1 parent e93194a commit e158db3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion create-backup
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ borg prune \
--glob-archives '{hostname}-*' \
--keep-daily 6 \
--keep-weekly 3 \
--keep-monthly 5 \
--keep-monthly 5

borg compact

log "Create remote borg backup"

Expand All @@ -89,4 +91,6 @@ borg prune \
--keep-weekly 3 \
--keep-monthly 5 \

borg compact

log "Backup finished ----------------------"

0 comments on commit e158db3

Please sign in to comment.