NAME

gcloud sql instances restore-backup - restores a backup of a Cloud SQL instance

SYNOPSIS

gcloud sql instances restore-backup INSTANCE [--async] [--backup-id=BACKUP_ID] [--backup-instance=BACKUP_INSTANCE] [GCLOUD_WIDE_FLAG ...]

DESCRIPTION

DEPRECATED: This command is deprecated and will be removed. Use 'gcloud beta sql backups restore' instead.

POSITIONAL ARGUMENTS

INSTANCE

Cloud SQL instance ID that will be restored.

FLAGS

--async

Return immediately, without waiting for the operation in progress to complete.

--backup-id=BACKUP_ID

The ID of the backup run to restore from.

--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: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.

Run $ gcloud help for details.

NOTES

These variants are also available:

$ gcloud alpha sql instances restore-backup

$ gcloud beta sql instances restore-backup