You've already forked mariadb-columnstore-engine
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 #3147
[add] -r option for backup command
This commit is contained in:
committed by
Alan Mologorsky
parent
52f7d07766
commit
e5722b0f02
@ -224,6 +224,16 @@ def backup(
|
|||||||
hidden=True
|
hidden=True
|
||||||
)
|
)
|
||||||
] = 'direct',
|
] = 'direct',
|
||||||
|
r: Annotated[
|
||||||
|
int,
|
||||||
|
typer.Option(
|
||||||
|
'-r', '--retention-days',
|
||||||
|
help=(
|
||||||
|
'Retain backups created within the last X days, '
|
||||||
|
'default 0 == keep all backups.'
|
||||||
|
)
|
||||||
|
)
|
||||||
|
] = 0,
|
||||||
):
|
):
|
||||||
"""Backup Columnstore and/or MariDB data."""
|
"""Backup Columnstore and/or MariDB data."""
|
||||||
|
|
||||||
@ -277,8 +287,7 @@ def dbrm_backup(
|
|||||||
typer.Option(
|
typer.Option(
|
||||||
'-r', '--retention-days',
|
'-r', '--retention-days',
|
||||||
help=(
|
help=(
|
||||||
'Number of days of dbrm backups to retain - script will '
|
'Retain dbrm backups created within the last X days.'
|
||||||
'delete based on last update file time.'
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
] = 7,
|
] = 7,
|
||||||
|
Reference in New Issue
Block a user