[[["易于理解","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-08-17。"],[],[],null,["# Create a backup vault\n\nThis page provides instructions for how to create a backup vault.\n\nCreate a backup vault\n---------------------\n\nUse the following instructions to create a backup vault using the\nGoogle Cloud console or Google Cloud CLI: \n\n### Console\n\n1. Go to **NetApp Volumes** page in the Google Cloud console.\n\n [Go to NetApp Volumes](https://console.cloud.google.com/netapp/volumes)\n2. Under **Data protection** , click **Backup vaults**.\n\n3. In the **Backup vaults** page, click **Create**.\n\n4. In the **Name** field, enter a name for the backup vault. Your backup\n vault name must be unique to the region, use lowercase letters, numbers,\n hyphens, and start with a letter. Your choice is permanent.\n\n5. Optional: in the **Description** field, enter a description for the\n backup vault.\n\n6. Use the **Region** drop-down menu to select a location for the backup\n vault. Make sure that the location you choose is the same region where\n the volumes you want to back up are located.\n\n7. Under **Type**, select one of the following:\n\n - Select **In-region** to store backups in the same region as the volume.\n\n - Select **Cross-region** to specify a different region for storing the\n backups. From the **Destination region** drop-down menu, select your\n destination region.\n\n | **Note:** Cross-region backup vaults are supported for Standard, Premium, and Extreme service levels and aren't available for the Flex service level.\n\n To view details about the types, click\n **Compare the backup vault types**.\n8. Optional: under **Prevent backup deletion**, complete the following\n steps:\n\n 1. Select the **Enable minimum enforced retention** checkbox.\n\n | **Important:** Your selection is permanent.\n 2. Enter the minimum number of days the backups in the vault are\n retained in the **Minimum enforced retention days** field. The value\n must be between 2 to 5475 days. This value can only be increased, but\n can't be decreased.\n\n 3. Under **Types of backups to retain**, select the backup types you want\n to retain from the following. You must select at least one backup\n type.\n\n - **Daily**\n\n - **Weekly**\n\n - **Monthly**\n\n - **Manual**\n\n | **Important:** Your selection is permanent.\n9. Optional: under the **Labels** sections, click **Add label** to enter\n relevant labels for reporting and querying purposes.\n\n10. Click **Create**.\n\n### gcloud\n\nCreate an in-region backup vault: \n\n```bash\ngcloud netapp backup-vaults create BACKUP_VAULT \\\n --location=LOCATION \\\n --backup-vault-type=IN_REGION \\\n --description=DESCRIPTION \\\n --labels=foo=bar\n```\n\nCreate a cross-region backup vault: \n\n```bash\ngcloud beta netapp backup-vaults create BACKUP-VAULT \\\n --location=LOCATION \\\n --backup-vault-type=CROSS_REGION \\\n --backup-region=REMOTE_LOCATION \\\n --description=DESCRIPTION \\\n --labels=foo=bar\n```\n\nCreate a backup vault with deletion prevention: \n\n```bash\ngcloud beta netapp backup-vaults create BACKUP-VAULT \\\n --location=LOCATION \\\n --backup-region=REMOTE_LOCATION \\\n --backup-retention-policy=\\\n backup-minimum-enforced-retention-days=DAYS, \\\n daily-backup-immutable=FALSE, \\\n weekly-backup-immutable=TRUE, \\\n monthly-backup-immutable=FALSE, \\\n manual-backup-immutable=FALSE, \\\n --description=DESCRIPTION \\\n --labels=foo=bar\n```\n\nReplace the following information:\n\n- \u003cvar translate=\"no\"\u003eBACKUP-VAULT\u003c/var\u003e: the name of the backup vault.\n\n- \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e: the location in which you want to\n create the vault.\n\n- \u003cvar translate=\"no\"\u003eREMOTE_LOCATION\u003c/var\u003e: the location of the cross-region\n destination backup vault.\n\n- \u003cvar translate=\"no\"\u003eBACKUP_RETENTION_POLICY\u003c/var\u003e: a parameter block\n describing the details of the configuration:\n\n - Backup-minimum-enforced-retention-days: number of days to retain the\n specified backup types.\n\n - Available backup types are: **daily-backup-immutable** ,\n **weekly-backup-immutable** , **monthly-backup-immutable** , and\n **manual-backup-immutable** . To enable the retention period for a\n specific type, set its value to **true**. Note that at least one backup\n type must have its retention period enabled. When you enable a backup\n type, you can't disable it.\n\n- \u003cvar translate=\"no\"\u003eDESCRIPTION\u003c/var\u003e: the description for the backup vault.\n\nFor more options, see [Google Cloud SDK documentation for NetApp Volumes](/sdk/gcloud/reference/netapp/backup-vaults).\n\nWhat's next\n-----------\n\n[Create a backup policy](/netapp/volumes/docs/protect-data/create-backup-policy)."]]