(restic): Add missing 'forget' to restic command.
This commit is contained in:
parent
11ac914eea
commit
3881086797
@ -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" }
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user