Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
prune needs to be written with --
Browse files Browse the repository at this point in the history
  • Loading branch information
flohoss authored Dec 20, 2021
1 parent 8d96c7e commit 81711d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ resticCopy() {

resticCleanup() {
printInfo "Restic Cleanup of <$folderName>"
restic forget --keep-within-daily 7d --keep-within-weekly 1m --keep-within-monthly 1y --keep-within-yearly 75y prune
restic forget --keep-within-daily 7d --keep-within-weekly 1m --keep-within-monthly 1y --keep-within-yearly 75y --prune
checkNoError "$?" "restic cleanup"
}

Expand Down

0 comments on commit 81711d5

Please sign in to comment.