RestoreFromBackup

vtctldclient RestoreFromBackup

Stops mysqld on the specified tablet and restores the data from either the latest backup or closest before backup-timestamp.

1. vtctldclient RestoreFromBackup [--backup-timestamp|-t <YYYY-mm-DD.HHMMSS>] <tablet_alias>

Options

1. -t, --backup-timestamp string   Use the backup taken at, or closest before, this timestamp. Omit to use the latest backup. Timestamp format is "YYYY-mm-DD.HHMMSS".
2. -h, --help                      help for RestoreFromBackup

Options inherited from parent commands

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

SEE ALSO

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