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 #3147

[add] -r option for backup command
This commit is contained in:
mariadb-AlanMologorsky
2024-06-07 09:09:13 +03:00
committed by Alan Mologorsky
parent 52f7d07766
commit e5722b0f02

View File

@ -224,6 +224,16 @@ def backup(
hidden=True
)
] = '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."""
@ -277,8 +287,7 @@ def dbrm_backup(
typer.Option(
'-r', '--retention-days',
help=(
'Number of days of dbrm backups to retain - script will '
'delete based on last update file time.'
'Retain dbrm backups created within the last X days.'
)
)
] = 7,