You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
MCOL-5618: Minor improvements to sync with PR 3144.
[add] -ns option for dbrm_restore.
This commit is contained in:
committed by
Alan Mologorsky
parent
a69d4c3a6c
commit
52f7d07766
@ -277,13 +277,24 @@ def dbrm_restore(
|
|||||||
help='Date or directory chose to restore from.'
|
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."""
|
"""Restore Columnstore DBRM data."""
|
||||||
|
|
||||||
# Default: ./$0 dbrm_restore --path /tmp/dbrm_backups
|
# Default: ./$0 dbrm_restore --path /tmp/dbrm_backups
|
||||||
|
|
||||||
# Examples:
|
# Examples:
|
||||||
# ./$0 dbrm_restore --path /tmp/dbrm_backups --directory dbrm_backup12252023
|
# ./$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 = []
|
arguments = []
|
||||||
for arg_name, value in locals().items():
|
for arg_name, value in locals().items():
|
||||||
sh_arg = cook_sh_arg(arg_name, value)
|
sh_arg = cook_sh_arg(arg_name, value)
|
||||||
|
Reference in New Issue
Block a user