Di kolom Name, masukkan nama untuk vault cadangan. Nama brankas cadangan Anda harus unik untuk region, menggunakan huruf kecil, angka, tanda hubung, dan diawali dengan huruf. Pilihan Anda bersifat permanen.
Opsional: di kolom Deskripsi, masukkan deskripsi untuk
vault cadangan.
Gunakan menu drop-down Region untuk memilih lokasi vault cadangan. Pastikan lokasi yang Anda pilih berada di region yang sama dengan
volume yang ingin Anda cadangkan.
Di bagian Jenis, pilih salah satu opsi berikut:
Pilih Dalam region untuk menyimpan cadangan di region yang sama dengan volume.
Pilih Antar-region untuk menentukan region lain untuk menyimpan
cadangan. Dari menu drop-down Destination region, pilih
wilayah tujuan Anda.
Untuk melihat detail tentang jenisnya, klik
Membandingkan jenis vault cadangan.
Opsional: di bagian Cegah penghapusan cadangan, selesaikan langkah-langkah berikut:
Centang kotak Aktifkan retensi minimum yang diterapkan.
Masukkan jumlah hari minimum cadangan di brankas dipertahankan di kolom Hari retensi minimum yang diterapkan. Nilainya
harus antara 2 hingga 5475 hari. Nilai ini hanya dapat ditingkatkan, tetapi tidak dapat dikurangi.
Di bagian Jenis cadangan yang akan dipertahankan, pilih jenis cadangan yang ingin Anda pertahankan dari berikut ini. Anda harus memilih setidaknya satu jenis cadangan.
Harian
Mingguan
Bulanan
Manual
Opsional: di bagian Label, klik Tambahkan label untuk memasukkan
label yang relevan untuk tujuan pelaporan dan kueri.
REMOTE_LOCATION: lokasi brankas cadangan tujuan lintas region.
BACKUP_RETENTION_POLICY: blok parameter
yang menjelaskan detail konfigurasi:
Backup-minimum-enforced-retention-days: jumlah hari untuk mempertahankan jenis cadangan yang ditentukan.
Jenis pencadangan yang tersedia adalah: daily-backup-immutable,
weekly-backup-immutable, monthly-backup-immutable, dan
manual-backup-immutable. Untuk mengaktifkan periode retensi untuk jenis tertentu, tetapkan nilainya ke true. Perhatikan bahwa setidaknya satu jenis cadangan harus mengaktifkan periode retensinya. Saat mengaktifkan jenis cadangan, Anda tidak dapat menonaktifkannya.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-17 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)."]]