1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-5618: Minor improvements to sync with PR 3144.

[add] -ns option for dbrm_restore.
This commit is contained in:
mariadb-AlanMologorsky
2024-06-07 07:08:34 +03:00
committed by Alan Mologorsky
parent a69d4c3a6c
commit 52f7d07766

View File

@ -277,13 +277,24 @@ def dbrm_restore(
help='Date or directory chose to restore from.'
)
] = '',
ns: Annotated[
bool,
typer.Option(
'-ns', '--no-start',
help=(
'Do not attempt columnstore startup post dbrm_restore.'
)
)
] = False,
):
"""Restore Columnstore DBRM data."""
# Default: ./$0 dbrm_restore --path /tmp/dbrm_backups
# Examples:
# ./$0 dbrm_restore --path /tmp/dbrm_backups --directory dbrm_backup12252023
# Examples:
# ./$0 dbrm_restore --path /tmp/dbrm_backups --directory dbrm_backup_20240318_172842
# ./$0 dbrm_restore --path /tmp/dbrm_backups --directory dbrm_backup_20240318_172842 --no-start
arguments = []
for arg_name, value in locals().items():
sh_arg = cook_sh_arg(arg_name, value)