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
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ Usage:
48
48
vtbackup [flags]
49
49
50
50
Flags:
51
-
--allow_first_backup Allow this job to take the first backup of an existing shard.
51
+
--allow-first-backup Allow this job to take the first backup of an existing shard.
52
52
--alsologtostderr log to standard error as well as files
53
53
--azblob-backup-account-key-file string Path to a file containing the Azure Storage account key; if this flag is unset, the environment variable VT_AZBLOB_ACCOUNT_KEY will be used as the key itself (NOT a file path).
54
54
--azblob-backup-account-name string Azure Storage Account name for backups; if this flag is unset, the environment variable VT_AZBLOB_ACCOUNT_NAME will be used.
@@ -131,7 +131,7 @@ Flags:
131
131
--external-compressor string command with arguments to use when compressing a backup.
132
132
--external-compressor-extension string extension to use when using an external compressor.
133
133
--external-decompressor string command with arguments to use when decompressing a backup.
134
-
--file_backup_storage_root string Root directory for the file backup storage.
134
+
--file-backup-storage-root string Root directory for the file backup storage.
135
135
--gcs-backup-storage-bucket string Google Cloud Storage bucket to use for backups.
136
136
--gcs-backup-storage-root string Root prefix for all backup-related object names.
137
137
--grpc-auth-static-client-creds string When using grpc_static_auth in the server, this file provides the credentials to use to authenticate with server.
@@ -145,12 +145,12 @@ Flags:
145
145
--grpc-max-message-size int Maximum allowed RPC message size. Larger messages will be rejected by gRPC with the error 'exceeding the max size'. (default 16777216)
146
146
--grpc-prometheus Enable gRPC monitoring with Prometheus.
147
147
-h, --help help for vtbackup
148
-
--incremental_from_pos string Position, or name of backup from which to create an incremental backup. Default: empty. If given, then this backup becomes an incremental backup from given position or given backup. If value is 'auto', this backup will be taken from the last successful backup position.
148
+
--incremental-from-pos string Position, or name of backup from which to create an incremental backup. Default: empty. If given, then this backup becomes an incremental backup from given position or given backup. If value is 'auto', this backup will be taken from the last successful backup position.
149
149
--init-db-name-override string (init parameter) override the name of the db used by vttablet
150
150
--init-db-sql-file string path to .sql file to run after mysql_install_db
151
151
--init-keyspace string (init parameter) keyspace to use for this tablet
152
152
--init-shard string (init parameter) shard to use for this tablet
153
-
--initial_backup Instead of restoring from backup, initialize an empty database with the provided init-db-sql-file and upload a backup of that for the shard, if the shard has no backups yet. This can be used to seed a brand new shard with an initial, empty backup. If any backups already exist for the shard, this will be considered a successful no-op. This can only be done before the shard exists in topology (i.e. before any tablets are deployed).
153
+
--initial-backup Instead of restoring from backup, initialize an empty database with the provided init-db-sql-file and upload a backup of that for the shard, if the shard has no backups yet. This can be used to seed a brand new shard with an initial, empty backup. If any backups already exist for the shard, this will be considered a successful no-op. This can only be done before the shard exists in topology (i.e. before any tablets are deployed).
154
154
--keep-alive-timeout duration Wait until timeout elapses after a successful backup before shutting down.
155
155
--keep-logs duration keep logs for this long (using ctime) (zero to keep forever)
156
156
--keep-logs-by-mtime duration keep logs for this long (using mtime) (zero to keep forever)
@@ -161,9 +161,9 @@ Flags:
161
161
--log_dir string If non-empty, write log files in this directory
162
162
--logtostderr log to standard error instead of files
163
163
--manifest-external-decompressor string command with arguments to store in the backup manifest when compressing a backup with an external compression engine.
164
-
--min_backup_interval duration Only take a new backup if it's been at least this long since the most recent backup.
165
-
--min_retention_count int Always keep at least this many of the most recent backups in this backup storage location, even if some are older than the min_retention_time. This must be at least 1 since a backup must always exist to allow new backups to be made (default 1)
166
-
--min_retention_time duration Keep each old backup for at least this long before removing it. Set to 0 to disable pruning of old backups.
164
+
--min-backup-interval duration Only take a new backup if it's been at least this long since the most recent backup.
165
+
--min-retention-count int Always keep at least this many of the most recent backups in this backup storage location, even if some are older than the min_retention_time. This must be at least 1 since a backup must always exist to allow new backups to be made (default 1)
166
+
--min-retention-time duration Keep each old backup for at least this long before removing it. Set to 0 to disable pruning of old backups.
167
167
--mycnf-bin-log-path string mysql binlog path
168
168
--mycnf-data-dir string data directory for mysql
169
169
--mycnf-error-log-path string mysql error log path
@@ -192,14 +192,14 @@ Flags:
192
192
--mysql-shell-speedup-restore speed up restore by disabling redo logging and double write buffer during the restore process
193
193
--mysql-shutdown-timeout duration how long to wait for mysqld shutdown (default 5m0s)
194
194
--mysql-socket string Path to the mysqld socket file
195
-
--mysql_timeout duration how long to wait for mysqld startup (default 5m0s)
195
+
--mysql-timeout duration how long to wait for mysqld startup (default 5m0s)
196
196
--opentsdb-uri string URI of opentsdb /api/put method
197
197
--port int port for the server
198
198
--pprof strings enable profiling
199
199
--pprof-http enable pprof http endpoints
200
200
--purge-logs-interval duration how often try to remove old logs (default 1h0m0s)
201
201
--remote-operation-timeout duration time to wait for a remote operation (default 15s)
202
-
--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.
202
+
--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.
203
203
--s3-backup-aws-endpoint string endpoint of the S3 backend (region must be provided).
204
204
--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)
205
205
--s3-backup-aws-region string AWS region to use. (default "us-east-1")
--alsologtostderr log to standard error as well as files
16
-
--bind_variables float bind variables as a json list (default null)
16
+
--bind-variables float bind variables as a json list (default null)
17
17
--config-file string Full path of the config file (with extension) to use. If set, --config-path, --config-type, and --config-name are ignored.
18
18
--config-file-not-found-handling ConfigFileNotFoundHandling Behavior when a config file is not found. (Options: error, exit, ignore, warn) (default warn)
19
19
--config-name string Name of the config file (without extension) to search for. (default "vtconfig")
@@ -43,8 +43,8 @@ Flags:
43
43
--log_backtrace_at traceLocations when logging hits line file:N, emit a stack trace
44
44
--log_dir string If non-empty, write log files in this directory
45
45
--logtostderr log to standard error instead of files
46
-
--max_sequence_id int max sequence ID.
47
-
--min_sequence_id int min sequence ID to generate. When max_sequence_id > min_sequence_id, for each query, a number is generated in [min_sequence_id, max_sequence_id) and attached to the end of the bind variables.
46
+
--max-sequence-id int max sequence ID.
47
+
--min-sequence-id int min sequence ID to generate. When max-sequence-id > min-sequence-id, for each query, a number is generated in [min-sequence-id, max-sequence-id) and attached to the end of the bind variables.
48
48
--mysql-server-version string MySQL server version to advertise. (default "8.4.6-Vitess")
49
49
--parallel int DMLs only: Number of threads executing the same query in parallel. Useful for simple load testing. (default 1)
50
50
--pprof strings enable profiling
@@ -61,7 +61,7 @@ Flags:
61
61
--tracing-enable-logging whether to enable logging in the tracing service
62
62
--tracing-sampling-rate float sampling rate for the probabilistic jaeger sampler (default 0.1)
63
63
--tracing-sampling-type string sampling strategy to use for jaeger. possible values are 'const', 'probabilistic', 'rateLimiting', or 'remote' (default "const")
64
-
--use_random_sequence use random sequence for generating [min_sequence_id, max_sequence_id)
64
+
--use-random-sequence use random sequence for generating [min-sequence-id, max-sequence-id)
65
65
--v Level log level for V logs
66
66
-v, --version print binary version
67
67
--vmodule vModuleFlag comma-separated list of pattern=N settings for file-filtered logging
@@ -70,4 +70,4 @@ Flags:
70
70
--vtgate-grpc-crl string the server crl to use to validate server certificates when connecting
71
71
--vtgate-grpc-key string the key to use to connect
72
72
--vtgate-grpc-server-name string the server name to use to validate server certificate
73
-
--vtgate_protocol string how to talk to vtgate (default "grpc")
73
+
--vtgate-protocol string how to talk to vtgate (default "grpc")
0 commit comments