Performing Instance Restore
In case a disaster strikes, you can restore an entire VM instance from a cloud-native snapshot or image-level backup. Veeam Backup for Google Cloud allows you to restore one or more VM instances at a time, to the original location or to a new location.
When restoring a VM instance, Veeam Backup for Google Cloud recovers data from all zonal and regional persistent disks (standard, balanced, extreme and SSD) attached to the instance. However, due to technical reasons, when it comes to local SSDs (SCSI and NVMe), Veeam Backup for Google Cloud is able to recover only the configuration of these disks, which means that any data stored on the disks is lost during the restore process.
How Instance Restore Works
To restore a VM instance from a cloud-native snapshot, Veeam Backup for Google Cloud uses native Google Cloud capabilities. To restore a VM instance from an image-level backup, Veeam Backup for Google Cloud performs the following steps:
- Deploys a worker instance in the Google Cloud region in which the restored VM instance will reside.
- Creates empty persistent disks and attaches them to the worker instance.
The number of empty persistent disks equals the number of persistent disks attached to the backed-up VM instance.
- Restores backed-up data to the empty persistent disks on the worker instance.
- Takes cloud-native snapshots of the persistent disks with the restored data.
- Creates disks from the snapshots in the target location.
- Removes the worker instance from Google Cloud.
- Removes all the created snapshots from Google Cloud Storage.
- Creates a VM instance in the target location and attaches the created persistent disks with the restored data to the VM instance.
- [This step applies only if you perform restore to the original location and if the source VM instance is still present in the location] Powers off the source VM instance, removes the source VM instance from Google Cloud and then renames the restored VM instance.
To allow Veeam Backup for Google Cloud to perform restore to the original location while source VM instances still exist there, the deletion protection setting must be disabled for the source instance, and the service account whose permissions are used for the operation must be assigned the compute.instances.setName permission.
Consider that the ability to rename VM instances is currently in pre-GA state. For more information, see Google Cloud documentation.
How to Perform Instance Restore
To restore a protected VM instance, do the following:
- Launch the VM Instance Restore wizard.
- Select a restore point.
- Choose a restore mode.
- Select a service account.
- Select a project.
- Select a region and an availability zone.
- Enable encryption.
- Specify a new name and machine type for the instance.
- Configure network settings.
- Run configuration and permission checks.
- Specify a restore reason.
- Finish working with the wizard.
Before you start VM instance restore, make sure that network settings are configured for each region where worker instances will be deployed during the restore process. For information on how to configure network settings, see Adding Worker Configurations.