Skip to content

Commit 868e76f

Browse files
committed
BackupShipping: add keep-snaps option to delete-cmds
1 parent 0984863 commit 868e76f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

linstor/linstorapi.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3569,15 +3569,17 @@ def backup_delete(
35693569
all_linstor=False,
35703570
all_local_cluster=False,
35713571
s3_key=None,
3572-
dryrun=None):
3572+
dryrun=None,
3573+
keep_snaps=None):
35733574
self._require_version("1.10.0", msg="Backups are not supported by server")
35743575
params = dict(locals().items()) # copy
35753576

35763577
rename = {
35773578
"bak_id": "id",
35783579
"bak_id_prefix": "id_prefix",
35793580
"all_linstor": "all",
3580-
"s3_key": "s3key"
3581+
"s3_key": "s3key",
3582+
"cascade": "cascading"
35813583
}
35823584

35833585
query_params = {}

0 commit comments

Comments
 (0)