diff --git a/VPS/restic-backup.sh b/VPS/restic-backup.sh index 6557dc1..44c969c 100755 --- a/VPS/restic-backup.sh +++ b/VPS/restic-backup.sh @@ -76,7 +76,7 @@ fi rm -rf temp/* if [ -z "$error_message" ]; then - restic forget --verbose --prune --tag "$1" --keep-last "$backup_count" > forget_output.log 2>&1 + restic forget --verbose --prune --group-by tag --tag "$1" --keep-last "$backup_count" > forget_output.log 2>&1 fi if [ $? -ne 0 ]; then error_message="Restic forget failed ! See log bellow.\n\n"