To restore a Cloud Spanner database from a cloud-native snapshot, Veeam Backup for Google Cloud copies database snapshots from the source instance, and then uses native Google Cloud capabilities to revert the databases to their snapshots.
To restore a Cloud Spanner database from an image-level backup, Veeam Backup for Google Cloud performs the following steps:
- Creates default databases on the target Cloud Spanner instance.
- Deploys a worker instance within the worker project in the Google Cloud region closest to the region where the target Cloud Spanner instance resides.
For more information on how to specify a project for worker instances, see Managing Worker Configurations.
- Uses the worker instance to retrieve database schema and data of the processed Cloud Spanner instance from the backup file, and then transfers this data to the target Cloud Spanner instance.
If the processed instance contains databases with foreign keys, Veeam Backup for Google Cloud will first restore the database schema without foreign keys, then transfer the database data, and then restore the foreign keys.
- Removes the worker instance from Google Cloud.
To learn how to restore a Cloud Spanner database from an image-level backup or a cloud-native snapshot, see Performing Database Restore.