[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-04。"],[],[],null,["# Protect and recover disks in Backup and DR Service\n\nThis page details how to use Backup and DR Service to back up the disks of a\nCompute Engine instance. It is an end-to-end overview about how to back up and\nrestore your disks and monitor your backups.\n\nBefore you begin\n----------------\n\nBefore you begin, be sure that you have these prerequisites:\n\n1. This quickstart assumes that you have Backup and DR Service API enabled in your project.\n2. You will need a backup vault. If you don't have a backup vault, then [Create a backup vault](/backup-disaster-recovery/docs/cloud-console/backup-vault-create).\n3. You will need a backup plan configured to protect disks.\n To create a backup plan for disks, follow these steps:\n\n 1. In the Google Cloud console, go to the **Backup plans** page.\n [Go to Backup plans](https://console.cloud.google.com/backupdr/backup-plans/list)\n\n 2. Click **Create Backup plan**.\n\n 3. For **Resource type** , select **Disks**.\n\n 4. In the **Backup plan name** field, enter a name for the backup plan. You\n can't change the name of a plan after the backup plan is created.\n\n 5. In the **Backup plan description** field, enter an optional description for the backup plan.\n\n 6. From the **Regions** list, select a backup plan region. The backup plan\n is created in this region. You can protect resources in the same region\n as the backup plan.\n\n 7. From the **Backup vault** list, select a backup vault to store the\n backups.\n\n 8. Click **Add rule**.\n\n 9. In the **Add a backup rule** pane, enter your backup rule information\n and click **Save**.\n\n - **Name your backup rule**: Enter a name for the backup rule.\n - **Choose when to create backups**: Specify the recurrence and frequency of the backup.\n - **Window** : Select the **Timezone** , **Start time** , and **Endtime** for the backup job.\n - **Choose how long backups are kept before they are deleted** : Enter the duration in days that the backups should be retained before they are deleted. Note that this value must be equal to or greater than the [backup vault\n minimum enforced retention period](/backup-disaster-recovery/docs/concepts/backup-vault#enforced-retention).\n\n | **Note:** You can add more than one backup rule to take weekly, monthly, or yearly backups of your disks depending on your need.\n 10. Click **Create**.\n\nConfigure backup for disks\n--------------------------\n\nTo back up disks, follow these steps:\n\n1. In your project, in Backup and DR, click **Vaulted backups**.\n2. Click **Schedule backups**.\n3. In the **Choose resources** page that appears, complete the following:\n - **Resource type** : Select **Disks**.\n - **Project**: The current project is selected, or you can browse to the project that contains the disks that you want to back up.\n - **Region**: Select the region where your resources are located.\n - **Resources** : Click **Browse** to open a pane where you can select the disks to back up into this backup vault.\n4. Click **Continue**.\n5. In the **Select a backup plan** page select a backup plan and then click **Done**.\n6. Click **Continue**.\n7. Review your selections and click **Schedule**. At this point you have associated a backup plan with the disks. The backup plan schedules the chosen disks to get backed up per the frequency set in the backup policy, but they are not backed up up yet.\n8. From the **Resources with vaulted backups** , select the resource that you just assigned the backup plan to. Click **Create an on-demand backup**. An on-demand backup is a backup job that you can manually trigger at any time.\n9. Review the details and click **Create**.\n\n| **Note:** If you encounter a `Failed to backup PersistentVolumeClaim` error, see [Error 100010104: Failed to backup PersistentVolumeClaim - Org policy constraint violation while creating snapshot](/backup-disaster-recovery/docs/backup-vault-issues#org-policy-constraint-violation-during-snapshot-creation)\n\nRestore disks\n-------------\n\nYou can restore the source Compute Engine instance using a **Restore**\noperation and restore instance to an alternate location using the **Mount** operation.\n\n1. On the **Vaulted backups** page, select the disk to restore.\n2. In the **Backup details** list, select the disk backup, and then select **Restore** under the more_vert icon.\n3. The **Choose the backup to restore** section is prefilled with the information about the selected disk.\n4. The **Choose the restore destination** is prefilled with the current project. Don't change it for this exercise.\n5. If you need any permissions, the next section indicates which ones with a link to get them.\n6. Click **Restore** . The disk is restored to the selected project with the same name appended by \"-restore-\" and a date and timestamp. You can see it in **Compute Engine** \\\u003e **Storage** \\\u003e **Disks**."]]