From 3881086797b6d2c34aa904c3f66ad60a55d22b88 Mon Sep 17 00:00:00 2001 From: Heavy Date: Mon, 9 Jun 2025 17:32:02 +0200 Subject: [PATCH] (restic): Add missing 'forget' to restic command. --- bin/Restic-Backup.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" } }