No campo Nome, insira um nome para o cofre de backup. O nome do cofre de backup precisa ser exclusivo na região, usar letras minúsculas, números, hifens e começar com uma letra. Sua escolha é permanente.
Opcional: no campo Descrição, insira uma descrição para o
cofre de backup.
Use o menu suspenso Região para selecionar um local para o cofre de
backup. Verifique se o local escolhido é a mesma região em que
estão os volumes que você quer fazer backup.
Em Tipo, selecione uma das seguintes opções:
Selecione Na região para armazenar backups na mesma região do volume.
Selecione Entre regiões para especificar uma região diferente para armazenar os backups. No menu suspenso Região de destino, selecione a região de destino.
Para conferir detalhes sobre os tipos, clique em
Comparar os tipos de backup vault.
Opcional: em Impedir exclusão de backup, siga estas etapas:
Marque a caixa de seleção Ativar a retenção mínima obrigatória.
Insira o número mínimo de dias que os backups no cofre serão
mantidos no campo Dias de retenção mínima obrigatória. O valor precisa estar entre 2 e 5.475 dias. Esse valor só pode ser aumentado, mas não diminuído.
Em Tipos de backup a serem retidos, selecione os tipos de backup que você quer manter entre as opções a seguir. É preciso selecionar pelo menos um tipo de backup.
Diariamente
Semanalmente
Mensal
Manual
Opcional: nas seções Rótulos, clique em Adicionar rótulo para inserir rótulos relevantes para fins de geração de relatórios e consultas.
REMOTE_LOCATION: o local do cofre de backup de destino entre regiões.
BACKUP_RETENTION_POLICY: um bloco de parâmetros
que descreve os detalhes da configuração:
Backup-minimum-enforced-retention-days: número de dias para reter os tipos de backup especificados.
Os tipos de backup disponíveis são: daily-backup-immutable,
weekly-backup-immutable, monthly-backup-immutable e
manual-backup-immutable. Para ativar o período de armazenamento de um tipo específico, defina o valor como true. Pelo menos um tipo de backup precisa ter o período de armazenamento ativado. Não é possível desativar um tipo de backup depois de ativado.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-09-04 UTC."],[],[],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)."]]