Backup

vtctldclient Backup #

Uses the BackupStorage service on the given tablet to create and store a new backup.

vtctldclient Backup [--concurrency <concurrency>] [--allow-primary] [--upgrade-safe] <tablet_alias>

Options #

      --allow-primary      Allow the primary of a shard to be used for the backup. WARNING: If using the builtin backup engine, this will shutdown mysqld on the primary and stop writes for the duration of the backup.
      --concurrency uint   Specifies the number of compression/checksum jobs to run simultaneously. (default 4)
  -h, --help               help for Backup
      --upgrade-safe       Whether to use innodb_fast_shutdown=0 for the backup so it is safe to use for MySQL upgrades.

Options inherited from parent commands #

      --action_timeout duration   timeout for the total command (default 1h0m0s)
      --server string             server to use for connection (required)

SEE ALSO #

  • vtctldclient - Executes a cluster management command on the remote vtctld server.