diff --git a/bin/Restic-Backup.ps1 b/bin/Restic-Backup.ps1 index b659e70..7c2373c 100644 --- a/bin/Restic-Backup.ps1 +++ b/bin/Restic-Backup.ps1 @@ -16,7 +16,7 @@ function backup 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() @@ -30,4 +30,5 @@ switch($action) { "list" { list } "snapshots" { restic snapshots } "stats" { restic stats } + default { Write-Host "xxx" } }