gcloud_alpha_sql_backups_restore (1)
NAME
- gcloud alpha sql backups restore - restores a backup of a Cloud SQL instance
SYNOPSIS
-
gcloud alpha sql backups restore BACKUP_ID --restore-instance=RESTORE_INSTANCE [--async] [--backup-instance=BACKUP_INSTANCE] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Restores a backup of a Cloud SQL instance.
POSITIONAL ARGUMENTS
-
- BACKUP_ID
-
- The ID of the backup run to restore from.
- The ID of the backup run to restore from.
REQUIRED FLAGS
-
- --restore-instance=RESTORE_INSTANCE
-
Cloud SQL instance ID that will be restored.
OPTIONAL FLAGS
-
- --async
-
Do not wait for the operation to complete.
- --backup-instance=BACKUP_INSTANCE
-
The ID of the instance that the backup was taken from.
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
NOTES
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you will have to apply for early access and have your projects registered on the API whitelist to use it. To do so, contact Support at cloud.google.com/support These variants are also available:
- $ gcloud sql backups restore $ gcloud beta sql backups restore