This page explains how to decommission the Backup and DR Service. Decommissioning Backup and DR involves the following steps:
Delete backup/recovery appliances, backup plans, and storage resources used for backup
Use these instructions to delete the backup/recovery appliances, backup plans, and storage resources used for backup:
Remove the backup plan from all applications protected by Backup and DR within Google Cloud console.
In the management console,remove the backup plan from all the applications on all of the backup/recovery appliances from App Manager > Applications. See Remove backup plan management of an application for instructions.
Unmount all mounted images presented by all backup/recovery appliances from App Manager > Active Mounts. See Unmount active images for instructions.
Identify all Compute Engine applications protected and for each of these applications, expire all backups. This step can take a long time, depending on the number of backups to expire. See Manage image expiration for instructions.
Identify all OnVault backups, and expire all the backups for these applications. This step can take a long time, depending on the number of backups to expire.
Remove the backup/recovery appliances from the management console in Manage > Appliances. See Remove a backup/recovery appliance from the management console for instructions.
Delete the backup/recovery appliance VMs from Compute Engine > VM Instances in Google Cloud console. You have to disable deletion protection for each instance.
Delete the firewall rule that was associated with the VMs from VPC Network > Firewall in the Google Cloud console.
Delete the service account that was associated with the VM from IAM & Admin > IAM and IAM & Admin > Service Accounts in the Google Cloud console.
Delete any backup plans created in the Google Cloud console.
Delete all the keys in the key ring associated with the backup/recovery appliances from Security > Key management in the Google Cloud console. Note: You cannot delete the key ring.
If the supporting Cloud Storage bucket or backup vault behind any OnVault pool is not used for any other purpose, delete the Cloud Storage bucket from Cloud Storage > Buckets, or delete the backup vault from Backup and DR > Backup vaults in the Google Cloud console.
Delete the management console
Use these instructions to delete the management console.
- In the Google Cloud console, click the menu icon on the top of the screen.
- Navigate to Operations and select Backup and DR Service.
- From the Login to the management console page, click the three dots, and select Delete management console.
Disable APIs
After you have deleted the backup/recovery appliances and the management console, you can disable the Backup and DR Service API. During the deployment of Backup and DR, you may have enabled the following APIs. If you don't need any of these APIs for other operations in a project, you may disable them.
The following table lists the APIs that you have enabled during the deployment of Backup and DR Service:
API | Service name |
---|---|
Compute Engine | compute.googleapis.com |
Cloud Resource Manager | cloudresourcemanager.googleapis.com |
Workflows | workflows.googleapis.com |
Cloud Key Management Service (KMS) | cloudkms.googleapis.com |
Identity and Access Management IAM | iam.googleapis.com |
Cloud Logging | logging.googleapis.com |
Follow these instructions to disable the enabled APIs.
- In the Google Cloud console, click the menu icon on the top of the screen.
- Navigate to APIs & Services.
- Select the API that you want to disable. For example, Backup and DR Service API.
- Click Manage.
- Click Disable API.
- Click Disable in the confirmation dialog.