Before you begin
Use the following procedures to prepare for the deployment:
Enable Backup and DR
Console
In the Google Cloud console, click
Menu.Select Operations > Backup and DR.
Click Enable. The Setup Backup and DR wizard opens.
In the Activate the management console section, complete the following:
Select the Location where you want the management console to be located. This is the Google Cloud region, see Supported regions.
Click Continue.
In the Deploy your first backup/recovery appliance section, complete the following:
In Appliance name, enter a name for the appliance. The name must start with a lowercase letter and can contain up to 23 characters. The appliance name can only contain lowercase letters, numeric characters, and dashes (-). Spaces are not allowed.
Select a VPC network. You can select the network within the same project or from the Shared VPC project.
Select the Target project where you want to deploy your backup/recovery appliance to.
Select the Region and Zone where you want your backup/recovery appliances to be located. This is the Google Cloud region and zone, see Supported regions.
Select Subnetwork. This is displayed based on the selected region and zone.
Select the Backup/recovery appliance type based on the workload that you want to back up.
Select a Storage type to store backups. This option only appears if you select Basic for databases, VMware VMs, & other resources for the Backup/recovery appliance type.
Click Set up.
You are redirected to the status page. This can take about an hour to complete.
When the deployment is complete, click Log in to the management console and the management console will open in a new window.
If you want to deploy a second appliance, click Deploy another backup/recovery appliance. You can add up to 30 appliances to a management console. If you need to add more than 30 appliances, create a new project, deploy a new management console, and then deploy the appliances.
gcloud
You can use Google Cloud CLI to create a management console. Creating backup/recovery appliances using gcloud CLI is not supported. You must use Google Cloud console to create backup/recovery appliances.
Use the following commands to create a management console.
Create a management console:
gcloud backup-dr management-servers create MANAGEMENT_SERVER_NAME \ --location=LOCATION_ID \
Replace the following:
MANAGEMENT_SERVER_NAME
: a name for the management console, for example,test name
. Once the management server is deployed, this name can't be changed. The name must be unique for a project and location.LOCATION_ID
: enter a management console supported location. Get the list of supported locations by usinggcloud backup-dr locations list
.PROJECT_ID
: the name of your project, for example,test-project
. Use this flag, if you want to specify a different project.
You can check the status of the operation:
gcloud backup-dr operations describe FULL_OPERATION_ID
Replace the following:
FULL_OPERATION_ID
: the operation ID that is displayed for the management console. It is in this format:projects/test-project/locations/us-central1/operations/operationID
The output is displayed as:
```none Create in progress for management server [projects/test-project/locations/us-central1/operations/test-operation] \ Run the [gcloud backup-dr operations describe] command to check the status of this operation. ```
Terraform
You can use the following Terraform resource links to deploy a management console and backup/recovery appliance:
Protect workloads
After enabling Backup and DR Service, you can start exploring the management console and protect workloads.
Use these instructions to protect Compute Engine instances:
Learn about Cloud credentials.
Assign required roles and permission.
Define a backup plan.
Protect databases and file systems within VMs
Ensure firewall rules are set.
Define a backup plan.