Skip to content

Commit

Permalink
Merge pull request #159 from bastelfreak/list
Browse files Browse the repository at this point in the history
borg prune: List archives that wont be deleted
  • Loading branch information
bastelfreak committed Jun 25, 2022
2 parents fdc2bdb + cc4dee3 commit 2e85164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/borg-backup.sh.epp
Expand Up @@ -185,7 +185,7 @@ backup_borg() {
# keep at least one backup for each month for <%= $keep_monthly %> months
# keep at least one backup for each year for <%= $keep_yearly %> years
# more details at https://borgbackup.readthedocs.io/en/stable/usage/prune.html
borg prune --stats --verbose --keep-within <%= $keep_within %>d --keep-daily <%= $keep_daily %> --keep-weekly <%= $keep_weekly %> --keep-monthly <%= $keep_monthly %> --keep-yearly <%= $keep_yearly %> "$dst"
borg prune --stats --list --verbose --keep-within <%= $keep_within %>d --keep-daily <%= $keep_daily %> --keep-weekly <%= $keep_weekly %> --keep-monthly <%= $keep_monthly %> --keep-yearly <%= $keep_yearly %> "$dst"
<% } -%>
}

Expand Down

0 comments on commit 2e85164

Please sign in to comment.