只有在备份保险柜项目中向设备服务账号授予 Backup and DR 备份保险柜访问者 (roles/backupdr.backupvaultAccessor) IAM 角色后,您才能从备份/恢复设备项目访问备份保险柜。如果没有此角色,您将无法访问备份保险柜,也无法完成设置以启用备份创建功能。如需查看相关说明,请参阅向备份/恢复设备服务账号授予角色。
资源配置文件用于指定 Oracle 数据库备份的存储介质。
您可以使用备份保险柜,这是 Backup and DR Service 备份的专用存储空间,具有多种功能,可防止备份被恶意或意外删除。创建配置文件并指定其用于备份保险柜后,便无法修改该配置文件以使用其他存储池类型,并且必须始终指定备份保险柜。此外,如果资源配置文件正用于保护应用,则无法更改指定的备份保险库。
[[["易于理解","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。"],[[["\u003cp\u003eThis guide details the process of backing up an Oracle database to a backup vault, which offers immutability and indelibility for enhanced protection against modification and deletion.\u003c/p\u003e\n"],["\u003cp\u003eBackups can be stored in a single region or across multiple regions using OnVault pools and backup vaults in different regions, but using multiple regions will result in charges for storage in each region.\u003c/p\u003e\n"],["\u003cp\u003eCreating an OnVault pool associated with a backup vault involves designating the backup vault as the storage target and requires the backup/recovery appliance to have the appropriate IAM roles.\u003c/p\u003e\n"],["\u003cp\u003eProtecting an Oracle database with this method involves creating a backup vault, registering an accessor, setting up an OnVault pool, defining a profile, creating a template with backup policies, and finally, applying a backup plan to the database.\u003c/p\u003e\n"],["\u003cp\u003eResource profile will specify storage medium for the Oracle database backups, and once created cannot be changed to use different storage pool type.\u003c/p\u003e\n"]]],[],null,["This page describes how to back up an Oracle database into a backup vault.\n\nOracle database backups can be stored in regional backup vaults. Sending\nbackups to a backup vault provides protection against modification (immutability) and\ndeletion (indelibility). For more information about backup vault,\nsee [backup vault for immutable and indelible backups](/backup-disaster-recovery/docs/concepts/backup-vault).\n\nOracle database backups can be stored in regional backup vaults. If you\nneed backups in multiple regions, consider the following options:\n\n- You can define a backup plan and resource profile that sends backups to two or more OnVault pools with two or more backup vaults. Create these backup vaults in different regions, which provides dual-region protection for your backups. Note that you will be charged for the storage in each backup vault separately.\n- Define an OnVault pool that uses a multi-regional Cloud Storage bucket. Note that this option doesn't provide the protection against modification and deletion that a backup vault provides.\n\nBacking up the Oracle database into a backup vault involves the following steps.\n\n1. [Create a backup vault](#vault)\n\n2. [Register a backup/recovery appliance as an authorized accessor for a backup vault](#register)\n\n3. [Create an OnVault pool associated with backup vault](#onvault)\n\n4. [Create a profile associated with the backup vault](#profile)\n\n5. [Create a template](#template)\n\n6. [Apply a backup plan to protect an Oracle database](#oracle-plan)\n\nCreate a backup vault\n\n\u003cbr /\u003e\n\nA Backup vault is a container to store backups. To back up an Oracle database to a\nbackup vault, you need to create a\n[backup vault](/backup-disaster-recovery/docs/concepts/backup-vault).\nFor instructions, see [Create and manage a backup vault in the Google Cloud console](/backup-disaster-recovery/docs/cloud-console/backup-vault-create).\n\nRegister a backup/recovery appliance as an authorized accessor for a backup vault\n\nYou can access a backup vault from the backup/recovery appliance project only\nafter the appliance service account is granted with the\nBackup and DR Backup Vault Accessor (`roles/backupdr.backupvaultAccessor`)\nIAM role in the backup vault project. Without this role,\nyou cannot access the backup vault to complete the setup to enable\nbackup creation. For instructions, see\n[Grant roles to the backup/recovery appliance service account](/backup-disaster-recovery/docs/cloud-console/backup-vault-create#service-account).\n| **Note:** The backup/recovery appliance and the backup vault don't need to be in the same project.\n\nCreate an OnVault pool associated with a backup vault\n\nOnVault pools created with the backup vault type store data\nin the backup vault. A backup vault with a minimum enforced retention period\nprevents the deletion of backups before the enforced retention period is met.\n\nBackup/recovery appliances that are registered with the backup vault pool type\nand updated to the version 11.0.12 or later are displayed for selection.\nTo upgrade your appliances to the latest version, see\n[Update backup/recovery appliances](/backup-disaster-recovery/docs/configuration/update-appliance).\n\nUse the following instructions to create an OnVault pool which points to a\nbackup vault.\n\n1. Click **Manage** and select **Storage pools** from the menu.\n2. Click **Add OnVault pool**.\n3. Enter a name for the pool. Valid characters are letters, numbers, spaces, hyphens (-), and underscores (_).\n4. Check that the **Pool type** is set to **Backup vault**.\n5. From the **Appliance** list, select the appliance you want to add the OnVault pool to. If your appliance is not available to select, you will need to [updated the appliance](/backup-disaster-recovery/docs/configuration/update-appliance) to the latest version.\n6. In the **Project ID** field, enter the Google Cloud project that contains your backup vault.\n7. From the **Region** list, select the region that contains your backup vault.\n8. From the **Choose a backup vault** section, select a backup vault.\n9. Click **Save**.\n\nCreate a profile associated with a backup vault based OnVault pool\n\n\u003cbr /\u003e\n\nA resource profile specifies the storage medium for Oracle database backups.\nYou can use a backup vault, a specialized storage for Backup and DR Service\nbackups, designed with features that support resilience against malicious or\naccidental deletion of backups. After the profile is created and designated\nfor use with backup vaults, the profile cannot be edited to use a\ndifferent storage pool type and a backup vault must always be specified.\nAlso, if the resource profile is in use to protect an application, the\nspecified backup vaults cannot be changed.\n\nUse the following instructions to create a resource profile which points to\na backup vault.\n\n1. Click **Backup plans** and select **Profiles** from the menu.\n2. Click **Create profile**.\n3. Enter a name and optional description for the resource profile.\n4. Select **Use OnVault pools that point to backup vaults (Recommended)**.\n5. In the **Primary appliance** section, from the **Appliance** list, select the appliance type that the backup pool type is associated with.\n6. From the **Snapshot pool** list, select a snapshot pool type.\n7. From the **OnVault pool 1** list, select the OnVault pool associated with your backup vault.\n8. Optional. From the **OnVault pool 2** list, select the OnVault pool associated with your backup vault that is created in a different region.\n9. Click **Save profile**.\n\nCreate a template with the backup policies\n\nA backup plan template defines backup creation and management details, such as\nthe backup schedule and the timeline for backup deletion. Backup plan\ntemplates are created within the management console. Create a backup template\nusing the instructions in the [Manage backup templates](/backup-disaster-recovery/docs/create-plan/create-template).\n\nApply a backup plan to protect an Oracle database\n\nUse the following instructions to apply a backup plan to protect an Oracle database:\n\n1. Click **App Manager** \\\u003e **Applications** and\n enter the database application name or use the filters to find the database\n that you need.\n\n2. Right-click the application and select **Manage Backup Plan**.\n\n3. On the **Manage Backup Plan** page, select a template and a profile and\n click **Apply Backup Plan**.\n\n4. The **Apply Backup Plan** dialog opens. Assign policy overrides and change\n application settings as needed.\n\n5. You can wait for the job to run during the period scheduled in the backup\n plan, or you can run the job at the next opportunity by clicking on the\n job and selecting **Run Now**.\n\n | **Note:** To take Oracle ASM to FS backups over NFS, you must enable **Convert ASM to FS format** in the database **Application Details \\& Settings**.\n6. The job runs as soon as the scheduler has an opening, often immediately.\n You can go to the **Jobs Monitor** to view the progress and details of the\n job.\n\n | **Note:** If the template captures logs, and if you have software that purges logs through RMAN, be sure to disable it. If that purge runs during a Backup and DR backup job, the backup may have incomplete log information.\n\n If you back up a workload to a backup/recovery appliance that would exceed its\n recommended storage capacity or snapshot limit, you will see a notification\n with a recommendation to back up the data to a different backup/recovery appliance.\n | **Caution:** Exceeding the capacity of a backup/recovery appliance can lead to failed jobs and unprotected data and failed restore operations.\n\nOracle database protection is the same for databases running on Bare Metal Solution\nservers or inside a Compute Engine instance."]]