[[["易于理解","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-03。"],[],[],null,["# Create a backup policy\n\nThis page provides instructions about how to create a backup policy.\n\nConsiderations\n--------------\n\n- Each backup policy must retain a minimum of two daily backups.\n\nCreate a new backup policy\n--------------------------\n\nUse the following instructions to create a backup policy 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 **Policies** , click **Backup policies**.\n\n3. In the **Backup policies** page, click **Create**.\n\n4. In the **Name** field, enter a name for the backup policy. The name must\n be unique to the project.\n\n5. Optional: in the **Description** field, enter a description for the\n backup policy.\n\n6. Click the **Region** drop-down, select the region of the backup vault\n storing your backups. Your choice is permanent.\n\n7. Using the **Daily, Weekly, and Monthly** tabs, configure your backup\n schedule:\n\n For each interval (daily, weekly, and monthly), use the **Backups to keep**\n field to enter the amount of backups you want to keep.\n8. Optional: under the **Labels** section, click **Add label** to enter\n relevant labels for reporting and querying purposes.\n\n9. Click **Create**.\n\n### gcloud\n\n```bash\ngcloud netapp backup-policies create BACKUP_POLICY \\\n --location=LOCATION \\\n --description=DESCRIPTION \\\n --enabled=TRUE_OR_FALSE \\\n --daily-backup-limit=DAILY_BACKUP_LIMIT \\\n --weekly-backup-limit=WEEKLY_BACKUP_LIMIT \\\n --monthly_backup_limit=MONTHLY_BACKUP_LIMIT \\\n --labels=foo=bar\n```\n\nReplace the following information:\n\n- \u003cvar translate=\"no\"\u003eBACKUP_POLICY\u003c/var\u003e: the name of the backup policy.\n\n- \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e: the location in which you want to create\n the backup policy.\n\n- \u003cvar translate=\"no\"\u003eDESCRIPTION\u003c/var\u003e: the description for the backup\n policy.\n\n- \u003cvar translate=\"no\"\u003eTRUE_OR_FALSE\u003c/var\u003e: mark as \u003cvar translate=\"no\"\u003eTRUE\u003c/var\u003e\n to enable backups or \u003cvar translate=\"no\"\u003eFALSE\u003c/var\u003e to disable backups.\n\n- \u003cvar translate=\"no\"\u003eDAILY_BACKUP_LIMIT\u003c/var\u003e: the number of daily backups\n in the backup policy.\n\n- \u003cvar translate=\"no\"\u003eWEEKLY_BACKUP_LIMIT\u003c/var\u003e: the number of weekly backups\n in the backup policy.\n\n- \u003cvar translate=\"no\"\u003eMONTHLY_BACKUP_LIMIT\u003c/var\u003e: the number of monthly\n backups in the backup policy.\n\nFor more options, see [Google Cloud SDK documentation for NetApp Volumes](/sdk/gcloud/reference/netapp/backup-policies).\n\nWhat's next\n-----------\n\n[Create a backup](/netapp/volumes/docs/protect-data/create-backup)"]]