1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

MCOL-5618: Minor fixes to sync after PR #1398.

[add] -ssm argument for dbrm backup
[add] -sdbk -ssm arguments for dbrm restore
[add] silenece annoying pylint warning unused argument for bachup_commands.py and restore_commnads.py
This commit is contained in:
mariadb-AlanMologorsky
2024-06-11 21:59:01 +03:00
committed by Alan Mologorsky
parent e5722b0f02
commit f42411b6d1
2 changed files with 28 additions and 3 deletions

View File

@ -13,6 +13,7 @@ from mcs_cluster_tool.helpers import cook_sh_arg
logger = logging.getLogger('mcs_cli')
# pylint: disable=unused-argument
@handle_output
@ -287,7 +288,8 @@ def dbrm_backup(
typer.Option(
'-r', '--retention-days',
help=(
'Retain dbrm backups created within the last X days.'
'Retain dbrm backups created within the last X days, '
'the rest are deleted'
)
)
] = 7,
@ -311,7 +313,14 @@ def dbrm_backup(
'-q/-no-q', '--quiet/--no-quiet',
help='Silence verbose copy command outputs.'
)
] = False
] = False,
ssm: Annotated[
bool,
typer.Option(
'-ssm/-no-ssm', '--skip-storage-manager/--no-skip-storage-manager',
help='Skip backing up storagemanager directory.'
)
] = False,
):
"""Columnstore DBRM Backup."""