Skip to content

Commit

Permalink
BackupShipping: add keep-snaps option to delete-cmds
Browse files Browse the repository at this point in the history
  • Loading branch information
jokucera committed Jul 4, 2022
1 parent 0984863 commit 868e76f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions linstor/linstorapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -3569,15 +3569,17 @@ 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

rename = {
"bak_id": "id",
"bak_id_prefix": "id_prefix",
"all_linstor": "all",
"s3_key": "s3key"
"s3_key": "s3key",
"cascade": "cascading"
}

query_params = {}
Expand Down

0 comments on commit 868e76f

Please sign in to comment.