gcloud beta sql instances restore-backup Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud beta sql instances restore-backup - restores a backup of a Cloud SQL instance
- SYNOPSIS
gcloud beta sql instances restore-backupINSTANCE[--async][--backup-id=BACKUP_ID][--backup-instance=BACKUP_INSTANCE][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(BETA)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 helpfor details. - NOTES
- This command is currently in beta and might change without notice. Thesevariants are also available:
gcloudsqlinstancesrestore-backupgcloudalphasqlinstancesrestore-backup
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.