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
Copy file name to clipboardExpand all lines: go/flags/endtoend/vtbackup.txt
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,8 @@ Flags:
68
68
--builtinbackup-mysqld-timeout duration how long to wait for mysqld to shutdown at the start of the backup. (default 10m0s)
69
69
--builtinbackup-progress duration how often to send progress updates when backing up large files. (default 5s)
70
70
--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.
71
73
--compression-engine-name string compressor engine used for compression. (default "pargzip")
72
74
--compression-level int what level to pass to the compressor. (default 1)
73
75
--concurrency int (init restore parameter) how many concurrent files to restore at once (default 4)
@@ -189,6 +191,7 @@ Flags:
189
191
--mycnf-slow-log-path string mysql slow query log path
190
192
--mycnf-socket-file string mysql socket file
191
193
--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+)
192
195
--mysql-port int MySQL port (default 3306)
193
196
--mysql-server-version string MySQL server version to advertise. (default "8.4.6-Vitess")
194
197
--mysql-shell-backup-location string location where the backup will be stored
@@ -207,6 +210,7 @@ Flags:
207
210
--purge-logs-interval duration how often try to remove old logs (default 1h0m0s)
208
211
--remote-operation-timeout duration time to wait for a remote operation (default 15s)
209
212
--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
210
214
--s3-backup-aws-endpoint string endpoint of the S3 backend (region must be provided).
211
215
--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)
212
216
--s3-backup-aws-region string AWS region to use. (default "us-east-1")
0 commit comments