(restic): Add missing 'forget' to restic command.

This commit is contained in:
Heavy 2025-06-09 17:32:02 +02:00
parent 11ac914eea
commit 3881086797

View File

@ -16,7 +16,7 @@ function backup
function forget function forget
{ {
restic --keep-daily 2 --keep-weekly 2 --keep-monthly 5 restic forget --keep-daily 2 --keep-weekly 2 --keep-monthly 5
} }
function list() function list()
@ -30,4 +30,5 @@ switch($action) {
"list" { list } "list" { list }
"snapshots" { restic snapshots } "snapshots" { restic snapshots }
"stats" { restic stats } "stats" { restic stats }
default { Write-Host "xxx" }
} }