Deploy Backup and DR

Before you begin

Use the following procedures to prepare for the deployment:

Enable Backup and DR

Console

  1. In the Google Cloud console, click Menu.

  2. Select Operations > Backup and DR.

  3. Click Enable. The Setup Backup and DR wizard opens.

  4. In the Activate the management console section, complete the following:

    1. Select the Location where you want the management console to be located. This is the Google Cloud region, see Supported regions.

    2. Click Continue.

  5. In the Deploy your first backup/recovery appliance section, complete the following:

    1. 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.

    2. Select a VPC network. You can select the network within the same project or from the Shared VPC project.

    3. Select the Target project where you want to deploy your backup/recovery appliance to.

    4. 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.

    5. Select Subnetwork. This is displayed based on the selected region and zone.

    6. Select the Backup/recovery appliance type based on the workload that you want to back up.

    7. 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.

    8. Click Set up.

    You are redirected to the status page. This can take about an hour to complete.

  6. When the deployment is complete, click Log in to the management console and the management console will open in a new window.

  7. 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.

  1. 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 using gcloud 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.
  2. 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:

  1. Learn about Cloud credentials.

  2. Assign required roles and permission.

  3. Define a backup plan.

  4. Discover and protect Compute Engine instances

Protect databases and file systems within VMs

  1. Add your hosts and discover applications on your hosts.

  2. Install the Backup and DR agent on the hosts.

  3. Ensure firewall rules are set.

  4. Define a backup plan.

  5. Apply a backup plan to the discovered applications