You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(mcs): MCOL-5618: change list option to --list and refactor.
fix(mcs): list option to -li/--list for mcs backup, restore and dbrm_restore commands
fix(mcs): add missed option "aro"
fix(mcs): resort options for backup and dbrm_backup to keep same ordering as in original scrypt
fix(mcs docs): updated README.md + mcs.1
*`-s, --storage TEXT`: What storage topogoly is being used by Columnstore - found in /etc/columnstore/storagemanager.cnf.
58
57
Options: "LocalStorage" or "S3"[default: LocalStorage]
59
58
*`-i, --incremental TEXT`: Adds columnstore deltas to an existing full backup. Backup folder to apply increment could be a value or "auto_most_recent" - the incremental backup applies to last full backup.
59
+
*`-P, --parallel INTEGER`: Determines if columnstore data directories will have multiple rsync running at the same time for different subfolders to parallelize writes. Ignored if "-c/--compress" argument not set. [default: 4]
60
60
*`-ha, --highavilability / -no-ha, --no-highavilability`: Hint wether shared storage is attached @ below on all nodes to see all data
61
61
HA LocalStorage ( /var/lib/columnstore/dataX/ )
62
62
HA S3 ( /var/lib/columnstore/storagemanager/ ) [default: no-ha]
63
-
*`-f, --config-file TEXT`: Path to backup configuration file to load variables from.
63
+
*`-f, --config-file TEXT`: Path to backup configuration file to load variables from - relative or full path accepted.
64
64
*`-sbrm, --skip-save-brm / -no-sbrm, --no-skip-save-brm`: Skip saving brm prior to running a backup - ideal for dirty backups. [default: no-sbrm]
*`-smdb, --skip-mariadb-backup / -no-smdb, --no-skip-mariadb-backup`: Skip running a mariadb-backup for innodb data - ideal for incremental dirty backups. [default: no-smdb]
68
68
*`-sb, --skip-bucket-data / -no-sb, --no-skip-bucket-data`: Skip taking a copy of the columnstore data in the bucket. [default: no-sb]
69
+
*`-nb, --name-backup TEXT`: Define the name of the backup - default: $(date +%m-%d-%Y) [default: 03-20-2025]
70
+
*`-c, --compress TEXT`: Compress backup in X format - Options: [ pigz ].
*`-c, --compress TEXT`: Compress backup in X format - Options: [ pigz ].
73
-
*`-P, --parallel INTEGER`: Determines if columnstore data directories will have multiple rsync running at the same time for different subfolders to parallelize writes. Ignored if "-c/--compress" argument not set. [default: 4]
74
-
*`-nb, --name-backup TEXT`: Define the name of the backup - default: $(date +%m-%d-%Y) [default: 03-06-2025]
75
75
*`-r, --retention-days INTEGER`: Retain backups created within the last X days, default 0 == keep all backups. [default: 0]
76
+
*`-aro, --apply-retention-only`: Only apply retention policy to existing backups, does not run a backup.
77
+
*`-li, --list`: List backups.
76
78
*`--help`: Show this message and exit.
77
79
78
80
## `mcs dbrm_backup`
@@ -87,13 +89,14 @@ $ mcs dbrm_backup [OPTIONS]
87
89
88
90
**Options**:
89
91
90
-
*`-m, --mode TEXT`: "loop" or "once" ; Determines if this script runs in a forever loop sleeping -i minutes or just once. [default: once]
91
92
*`-i, --interval INTEGER`: Number of minutes to sleep when --mode=loop. [default: 90]
92
93
*`-r, --retention-days INTEGER`: Retain dbrm backups created within the last X days, the rest are deleted [default: 7]
93
-
*`-p, --path TEXT`: Path of where to save the dbrm backups on disk. [default: /tmp/dbrm_backups]
94
-
*`-nb, --name-backup TEXT`: Custom name to prefex dbrm backups with. [default: dbrm_backup]
*`-bl, --backup-location TEXT`: Path of where to save the dbrm backups on disk. [default: /tmp/dbrm_backups]
95
+
*`-m, --mode TEXT`: "loop" or "once" ; Determines if this script runs in a forever loop sleeping -i minutes or just once. [default: once]
96
+
*`-nb, --name-backup TEXT`: Define the prefix of the backup - default: dbrm_backup+date +%Y%m%d_%H%M%S [default: dbrm_backup]
@@ -127,15 +130,16 @@ Options: "LocalStorage" or "S3" [default: LocalStorage]
127
130
*`-nr, --new-region TEXT`: Defines the region of the new bucket to copy the s3 data to from the backup bucket.
128
131
*`-nk, --new-key TEXT`: Defines the aws key to connect to the new_bucket.
129
132
*`-ns, --new-secret TEXT`: Defines the aws secret of the aws key to connect to the new_bucket.
133
+
*`-P, --parallel INTEGER`: Determines number of decompression and mdbstream threads. Ignored if "-c/--compress" argument not set. [default: 4]
130
134
*`-ha, --highavilability / -no-ha, --no-highavilability`: Flag for high available systems (meaning shared storage exists supporting the topology so that each node sees all data) [default: no-ha]
131
135
*`-cont, --continue / -no-cont, --no-continue`: This acknowledges data in your --new_bucket is ok to delete when restoring S3. When set to true skips the enforcement that new_bucket should be empty prior to starting a restore. [default: no-cont]
132
-
*`-f, --config-file TEXT`: Path to backup configuration file to load variables from.
136
+
*`-f, --config-file TEXT`: Path to backup configuration file to load variables from - relative or full path accepted.
133
137
*`-smdb, --skip-mariadb-backup / -no-smdb, --no-skip-mariadb-backup`: Skip restoring mariadb server via mariadb-backup - ideal for only restoring columnstore. [default: no-smdb]
134
138
*`-sb, --skip-bucket-data / -no-sb, --no-skip-bucket-data`: Skip restoring columnstore data in the bucket - ideal if looking to only restore mariadb server. [default: no-sb]
135
139
*`-c, --compress TEXT`: Hint that the backup is compressed in X format. Options: [ pigz ].
136
-
*`-P, --parallel INTEGER`: Determines number of decompression and mdbstream threads. Ignored if "-c/--compress" argument not set. [default: 4]
0 commit comments