Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Halaman ini memberikan petunjuk tentang cara membuat volume baru dari cadangan yang ada.
Pertimbangan
Anda dapat memulihkan cadangan di brankas cadangan dalam region ke kumpulan mana pun dalam
region cadangan.
Untuk cadangan yang disimpan di vault cadangan lintas region, Anda hanya dapat memulihkan cadangan secara lokal, baik dari vault sumber ke region sumber atau dari vault tujuan ke region tujuan. Anda tidak dapat memulihkan ke region lain. Perhatikan bahwa opsi ini tidak tersedia untuk tingkat layanan Flex.
Jika Anda telah menetapkan kebijakan retensi yang Diterapkan minimum di brankas cadangan yang berisi cadangan, cadangan tidak dapat dihapus sebelum tanggal yang dijadwalkan di kolom Dapat dihapus pada. Untuk mengetahui informasi selengkapnya, lihat Mencegah penghapusan cadangan.
Saat memulihkan cadangan volume berkapasitas besar, volume baru akan otomatis dibuat sebagai volume berkapasitas besar.
Membuat volume baru dari cadangan
Konsol
Buka halaman NetApp Volumes di konsol Google Cloud .
Di halaman Cadangan, pilih cadangan yang ingin Anda buka.
Di bagian atas halaman, klik Buat volume baru dari cadangan.
Di kolom Nama volume, masukkan nama untuk volume. Nama harus
unik untuk wilayah, menggunakan huruf kecil, angka, tanda hubung, dan
diawali dengan huruf. Pilihan Anda bersifat permanen.
Opsional: di kolom Deskripsi, masukkan deskripsi untuk
volume.
Di bagian Detail kumpulan penyimpanan, pilih kumpulan penyimpanan yang ada atau buat kumpulan penyimpanan baru.
Untuk pencadangan di brankas dalam region, semua kumpulan penyimpanan di region tersedia.
Untuk pencadangan di brankas lintas region, semua kumpulan penyimpanan di tingkat layanan Standar, Premium, dan Ekstrem tersedia.
Di bagian Volume details, masukkan nama berbagi di kolom Share name.
Nama berbagi harus unik untuk wilayah.
Di kolom Kapasitas, masukkan kapasitas volume.
Untuk cadangan yang volume sumbernya masih ada, kolom Kapasitas akan diisi otomatis dengan ukuran volume sumber dan tidak dapat diubah.
Untuk cadangan yang volume sumbernya tidak ada lagi, tentukan ukuran volume baru dalam GiB. Kapasitas harus lebih besar daripada ukuran
Ukuran penggunaan volume (dipulihkan) cadangan.
Opsional: pilih Aktifkan penentuan tingkat otomatis jika pool penyimpanan yang Anda pulihkan telah mengaktifkan penentuan tingkat otomatis. Anda juga dapat mengaktifkannya nanti di
setelan volume.
Di menu drop-down Protocol(s), pilih protokol.
Untuk cadangan yang volume sumbernya masih ada, kolom Protokol
diisi otomatis dengan protokol volume sumber dan tidak dapat
diubah.
Untuk cadangan yang volume sumbernya tidak ada lagi, tentukan protokol yang sama dengan volume sumber asli.
Untuk volume NFS, selesaikan langkah-langkah berikut:
Klik Cegah penghapusan volume saat klien terhubung di
Konfigurasi untuk protokol yang dipilih untuk volume yang digunakan sebagai datastore GCVE.
Di bagian Aturan ekspor, selesaikan langkah-langkah berikut:
Klik Tambahkan aturan untuk menambahkan daftar klien yang diizinkan, tingkat akses
terkait (baca dan tulis, atau hanya baca), dan akses root
mereka. Untuk mengetahui informasi selengkapnya, lihat
Kontrol akses volume menggunakan kebijakan ekspor.
Klik Selesai.
Untuk volume SMB, selesaikan langkah-langkah berikut:
Untuk pencadangan yang volume sumbernya masih ada, opsi protokol SMB tidak ditampilkan. Namun, Anda dapat mengubahnya nanti setelah volume dibuat, atau menggunakan perintah Google Cloud CLI untuk memulihkan volume dan menentukan opsi SMB.
Untuk cadangan yang volume sumbernya tidak ada lagi, pilih konfigurasi protokol opsional. Untuk mengetahui informasi selengkapnya tentang opsi protokol, lihat Membuat volume baru.
Opsional: di bagian Konfigurasi snapshot, konfigurasikan jadwal untuk
snapshot volume:
Jika Anda ingin membuat direktori snapshot Anda terlihat oleh klien, centang kotak Make snapshot directory visible.
Jika Anda ingin mengizinkan snapshot terjadwal, centang kotak
Izinkan snapshot terjadwal.
Dengan menggunakan tab Per Jam, Harian, Mingguan, dan Bulanan, konfigurasi jadwal snapshot Anda:
Untuk setiap interval (per jam, harian, mingguan, atau bulanan), gunakan kolom
Snapshot yang Akan Dipertahankan untuk memasukkan jumlah snapshot yang ingin
Anda pertahankan.
Gunakan kolom Hour (UTC) dan Minute (UTC) untuk memasukkan waktu
snapshot akan dipertahankan.
Opsional: di bagian Konfigurasi pencadangan, tetapkan kebijakan pencadangan dan
vault pencadangan untuk menyiapkan pencadangan terjadwal untuk volume baru.
Centang kotak Izinkan pencadangan terjadwal.
Gunakan drop-down Kebijakan pencadangan untuk memilih kebijakan pencadangan yang ada
atau membuat kebijakan pencadangan baru.
Gunakan drop-down Backup vault untuk memilih backup vault yang ada
atau membuat yang baru.
Di bagian Labels, klik Add labels untuk menambahkan label yang relevan ke volume Anda.
Klik Buat.
gcloud
Jalankan perintah berikut untuk membuat volume baru dari cadangan:
VOLUME_NAME: nama volume baru tempat cadangan akan dipulihkan.
LOCATION: lokasi tempat Anda ingin membuat
volume.
CAPACITY: ukuran untuk volume baru. Harus lebih besar atau sama dengan Ukuran penggunaan volume (dipulihkan) cadangan.
PROTOCOLS: digunakan untuk volume asli tempat cadangan
diambil.
SHARE_NAME: nama berbagi untuk volume baru.
STORAGE_POOL: nama pool penyimpanan dalam
LOCATION untuk menghosting volume.
SOURCE_BACKUP: nama resource cadangan yang akan dipulihkan. Gunakan format projects/PROJECT_ID/locations/
LOCATION/backupVaults/BACKUP_VAULT_ID/
backups/BACKUP_ID
[[["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-09-04 UTC."],[],[],null,["# Create a new volume from an existing backup\n\nThis page provides instructions for how to create a new volume from an existing\nbackup.\n\nConsiderations\n--------------\n\n- You can restore backups in in-region backup vaults to any pool within the\n backup region.\n\n- For backups stored in cross-region backup vaults, you can only restore backups\n locally, either from the source vault to the source region or from the\n destination vault to the destination region. You can't restore to any other\n region. Note that this isn't available for the Flex service level.\n\n- If you have set a Minimum enforced retention policy on a backup vault that\n contains the backup, the backup can't be deleted before the scheduled date in\n the **Deletable on** field. For more information, see [Prevent backup deletion](/netapp/volumes/docs/protect-data/about-backups#prevent_backup_deletion).\n\n- When restoring a backup of a large capacity volume, the new volume is\n automatically created as a large capacity volume.\n\nCreate a new volume from a backup\n---------------------------------\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 **Backups**.\n\n3. In the **Backups** page, select the backup you want to open.\n\n4. At the top of the page, click **Create new volume from backup**.\n\n5. In the **Volume name** field, enter a name for the volume. The name must\n be unique to the region, use lowercase letters, numbers, hyphens, and\n start with a letter. Your choice is permanent.\n\n6. Optional: in the **Description** field, enter a description for the\n volume.\n\n7. Under **Storage pool details**, select an existing storage pool or create\n a new storage pool.\n\n For backups in in-region vaults, all storage pools in the region are\n available.\n\n For backups in cross-region vaults, all storage pools in the Standard,\n Premium, and Extreme service levels are available.\n8. Under **Volume details** , enter a share name in the **Share name** field.\n The share name must be unique to the region.\n\n9. In the **Capacity** field, enter the capacity of the volume.\n\n 1. For backups where the source volume still exists, the **Capacity**\n field is auto-populated with the source volume size and can't be\n changed.\n\n You can use [Google Cloud CLI command](/netapp/volumes/docs/protect-data/create-volume-from-backup#gcloud)\n to specify a different size.\n 2. For backups where the source volume no longer exists, specify the\n new volume size in GiB. The capacity must be larger than the\n **Volume usage size (restored)** size of the backup.\n\n10. Optional: select **Enable auto-tiering** if the storage pool you are\n restoring to has auto-tiering enabled. You can also enable this later in\n [volume settings](/netapp/volumes/docs/configure-and-use/volumes/manage-auto-tiering#edit-auto-tiering-parameters).\n\n11. Under the **Protocol(s)** drop-down menu, select the protocol.\n\n 1. For backups where the source volume still exists, the **Protocol(s)**\n field is auto-populated with the source volume protocols and can't be\n changed.\n\n 2. For backups where the source volume no longer exists, specify the same\n protocols as the original source volume.\n\n | **Important:** The protocols must match the protocols of the source volume. Otherwise, the volume creation will fail.\n12. For NFS volumes, complete the following steps:\n\n | **Important:** The protocols must match the protocols of the source volume. Otherwise, the volume creation will fail.\n 1. Click **Block volume from deletion when clients are connected** in the\n **Configuration for selected protocol(s)** for volumes used as GCVE\n datastores.\n\n | **Important:** This setting is permanent, you can't change it later.\n 2. Under **Export rules**, complete the following steps:\n\n 1. Click **Add rule** to add a list of allowed clients, their\n associated access level (read and write, or read only), and their\n root access. For more information, see\n [Volume access control using export policies](/netapp/volumes/docs/connect-clients/connect-nfs-clients#volume_access_control_using_export_policies).\n\n 2. Click **Done**.\n\n13. For SMB volumes, complete the following steps:\n\n | **Important:** The protocols must match the protocols of the source volume. Otherwise, the volume creation will fail.\n 1. For backups where the source volume still exists, SMB protocol options\n aren't displayed. However, you can change them later after the volume\n is created, or use the Google Cloud CLI command to restore the volume\n and specify the SMB options.\n\n | **Note:** You can't enable continuous availability share support after volume creation.\n 2. For backups where the source volume no longer exists, choose any\n optional protocol configurations. For more information about protocol\n options, see [Create a new volume](/netapp/volumes/docs/configure-and-use/volumes/create-volume).\n\n14. Optional: under **Snapshot configuration**, configure a schedule for\n volume snapshots:\n\n 1. If you want to make your snapshot directory visible to clients, select\n the **Make snapshot directory visible** checkbox.\n\n 2. If you want to allow scheduled snapshots, select the\n **Allow scheduled snapshots** checkbox.\n\n 3. Using the **Hourly, Daily, Weekly, and Monthly**\n tabs, configure your snapshot schedule:\n\n For each interval (hourly, daily, weekly, or monthly), use the\n **Snapshots To Keep** field to enter the amount of snapshots you want\n to keep.\n Use the **Hour (UTC)** and **Minute (UTC)** fields to enter when the\n snapshots will be retained.\n15. Optional: under **Backup configuration**, assign a backup policy and\n backup vault to set up scheduled backups for the new volume.\n\n 1. Select the **Allow scheduled backups** checkbox.\n\n 2. Use the **Backup policy** drop-down to choose an existing backup policy\n or create a new one.\n\n 3. Use the **Backup vault** drop-down to choose an existing backup vault\n or create a new one.\n\n16. Under the **Labels** section, click **Add labels** to add relevant labels\n to your volume.\n\n17. Click **Create**.\n\n### gcloud\n\nRun the following command to create a new volume from a backup: \n\n```bash\ngcloud netapp volumes create VOLUME_NAME \\\n --location=LOCATION \\\n --capacity=CAPACITY \\\n --protocols=PROTOCOLS \\\n --share-name=SHARE_NAME \\\n --storage-pool=STORAGE_POOL \\\n --source-backup=SOURCE_BACKUP \\\n --description=DESCRIPTION\n```\n\nReplace the following information:\n\n- \u003cvar translate=\"no\"\u003eVOLUME_NAME\u003c/var\u003e: the name of the new volume to restore\n the backup to.\n\n- \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e: the location you want to create the\n volume in.\n\n- \u003cvar translate=\"no\"\u003eCAPACITY\u003c/var\u003e: the size for the new volume. Should be\n bigger or equal to the **Volume usage size (restored)** of the backup.\n\n- \u003cvar translate=\"no\"\u003ePROTOCOLS\u003c/var\u003e: used for the original volume the backup\n was taken from.\n\n- \u003cvar translate=\"no\"\u003eSHARE_NAME\u003c/var\u003e: the share name for the new volume.\n\n- \u003cvar translate=\"no\"\u003eSTORAGE_POOL\u003c/var\u003e: name of the storage pool within\n \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e to host the volume.\n\n- \u003cvar translate=\"no\"\u003eSOURCE_BACKUP\u003c/var\u003e: resource name of the backup to\n restore. Format as projects/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/locations/\n \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e/backupVaults/\u003cvar translate=\"no\"\u003eBACKUP_VAULT_ID\u003c/var\u003e/\n backups/\u003cvar translate=\"no\"\u003eBACKUP_ID\u003c/var\u003e\n\n- \u003cvar translate=\"no\"\u003eDESCRIPTION\u003c/var\u003e: the description for the volume.\n\nYou can add other protocol-specific options such as export policies or\nsnapshot policies. For more options, see\n[Google Cloud SDK documentation for NetApp Volumes](/sdk/gcloud/reference/netapp/volumes/create).\n\nWhat's next\n-----------\n\n[Manage your backups](/netapp/volumes/docs/protect-data/manage-backup)."]]