Skip to content

Commit 6ee25db

Browse files
committed
update flags e2e
Signed-off-by: Max Englander <[email protected]>
1 parent cf1a804 commit 6ee25db

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

go/flags/endtoend/vtbackup.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ Flags:
6868
--builtinbackup-mysqld-timeout duration how long to wait for mysqld to shutdown at the start of the backup. (default 10m0s)
6969
--builtinbackup-progress duration how often to send progress updates when backing up large files. (default 5s)
7070
--ceph-backup-storage-config string Path to JSON config file for ceph backup storage. (default "ceph_backup_config.json")
71+
--clone-from-primary Clone data from the primary tablet in the shard using MySQL CLONE REMOTE instead of restoring from backup. Requires MySQL 8.0.17+. Mutually exclusive with --clone-from-tablet.
72+
--clone-from-tablet string Clone data from this tablet using MySQL CLONE REMOTE instead of restoring from backup (tablet alias, e.g., zone1-123). Requires MySQL 8.0.17+. Mutually exclusive with --clone-from-primary.
7173
--compression-engine-name string compressor engine used for compression. (default "pargzip")
7274
--compression-level int what level to pass to the compressor. (default 1)
7375
--concurrency int (init restore parameter) how many concurrent files to restore at once (default 4)
@@ -189,6 +191,7 @@ Flags:
189191
--mycnf-slow-log-path string mysql slow query log path
190192
--mycnf-socket-file string mysql socket file
191193
--mycnf-tmp-dir string mysql tmp directory
194+
--mysql-clone-enabled Enable MySQL CLONE plugin and user for backup/replica provisioning (requires MySQL 8.0.17+)
192195
--mysql-port int MySQL port (default 3306)
193196
--mysql-server-version string MySQL server version to advertise. (default "8.4.6-Vitess")
194197
--mysql-shell-backup-location string location where the backup will be stored
@@ -207,6 +210,7 @@ Flags:
207210
--purge-logs-interval duration how often try to remove old logs (default 1h0m0s)
208211
--remote-operation-timeout duration time to wait for a remote operation (default 15s)
209212
--restart-before-backup Perform a mysqld clean/full restart after applying binlogs, but before taking the backup. Only makes sense to work around xtrabackup bugs.
213+
--restore-with-clone (init parameter) will perform the restore phase with MySQL CLONE, requires either --clone-from-primary or --clone-from-tablet
210214
--s3-backup-aws-endpoint string endpoint of the S3 backend (region must be provided).
211215
--s3-backup-aws-min-partsize int Minimum part size to use, defaults to 5MiB but can be increased due to the dataset size. (default 5242880)
212216
--s3-backup-aws-region string AWS region to use. (default "us-east-1")

0 commit comments

Comments
 (0)