From 868e76feb2d2ace0b84123b4d61b15664e906b3b Mon Sep 17 00:00:00 2001 From: Johanna Kucera Date: Mon, 4 Jul 2022 08:53:23 +0200 Subject: [PATCH] BackupShipping: add keep-snaps option to delete-cmds --- linstor/linstorapi.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/linstor/linstorapi.py b/linstor/linstorapi.py index 436bc65..eb5bd40 100644 --- a/linstor/linstorapi.py +++ b/linstor/linstorapi.py @@ -3569,7 +3569,8 @@ def backup_delete( all_linstor=False, all_local_cluster=False, s3_key=None, - dryrun=None): + dryrun=None, + keep_snaps=None): self._require_version("1.10.0", msg="Backups are not supported by server") params = dict(locals().items()) # copy @@ -3577,7 +3578,8 @@ def backup_delete( "bak_id": "id", "bak_id_prefix": "id_prefix", "all_linstor": "all", - "s3_key": "s3key" + "s3_key": "s3key", + "cascade": "cascading" } query_params = {}