Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Halaman ini memberikan petunjuk tentang cara mengembalikan volume dari snapshot.
Sebelum memulai
Anda dapat melakukan pengembalian volume saat volume online dan digunakan oleh klien.
Pengembalian dapat mengubah file yang terbuka tanpa pemberitahuan apa pun ke aplikasi dan menyebabkan potensi kerusakan data. Untuk menghindari hal ini, sebaiknya hentikan semua aplikasi penting sebelum Anda melakukan pengembalian volume. Pengembalian ke versi sebelumnya memerlukan waktu beberapa menit.
Mengembalikan volume dari snapshot
Untuk volume dalam hubungan replikasi aktif, hanya volume sumber yang dapat dikembalikan.
Gunakan petunjuk berikut untuk mengembalikan volume dari snapshot menggunakan
Google Cloud konsol atau Google Cloud CLI:
Konsol
Buka halaman NetApp Volumes di konsol Google Cloud .
Klik more_vertTampilkan lainnya
untuk mengembalikan volume.
Pilih Kembalikan untuk menampilkan informasi tentang volume.
Pilih snapshot yang akan dikembalikan.
Verifikasi pembuatan snapshot.
Klik Kembalikan.
Dialog akan muncul yang menampilkan stempel waktu snapshot yang akan dikembalikan dan daftar snapshot yang lebih baru yang akan hilang jika Anda melanjutkan pengembalian volume.
Masukkan nama volume di kolom Nama volume untuk mengonfirmasi operasi
pengembalian.
[[["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,["# Revert a volume from a snapshot\n\nThis page provides instructions on how to revert a volume from a snapshot.\n\nBefore you begin\n----------------\n\nYou can perform volume reversion when the volume is online and in use by clients.\nReversion can change open files without any notification to the application and\ncause potential data corruption. To avoid this, we recommend that you stop all\ncritical applications before you perform volume reversion. Reverting takes a few\nminutes.\n\nRevert a volume from a snapshot\n-------------------------------\n\nFor volumes in an active replication relationship, only the source volume can be\nreverted.\n\nUse the following instructions to revert a volume from a snapshot using the\nGoogle Cloud console or Google Cloud CLI: \n\n### Console\n\n1. Go to the **NetApp Volumes page** in the Google Cloud console.\n\n[Go to NetApp Volumes](https://console.cloud.google.com/netapp/volumes)\n\n1. Click **Volumes**.\n\n2. Click more_vert **Show more**\n to revert the volume.\n\n3. Select **Revert** to display information about the volume.\n\n4. Select the snapshot to revert.\n\n5. Verify the creation of the snapshot.\n\n6. Click **Revert**.\n\n A dialog appears that displays the timestamp of the snapshot to revert and\n a list of the newer snapshots that disappear if you proceed with volume\n reversion.\n7. Enter the volume name in the **Volume name** field to confirm the revert\n operation.\n\n8. Click **Revert**.\n\n### gcloud\n\nRevert the volume to a snapshot: \n\n```bash\ngcloud netapp volumes revert VOLUME_NAME \\\n --project=PROJECT_ID \\\n --location=LOCATION \\\n --snapshot=SNAPSHOT\n```\n\nReplace the following information:\n\n- \u003cvar translate=\"no\"\u003eVOLUME_NAME\u003c/var\u003e: the name of the volume that you want\n to revert to a specific snapshot point-in-time.\n\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: the name of the project you want to\n revert the volume in.\n\n- \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e: the location of the volume you want to\n revert.\n\n- \u003cvar translate=\"no\"\u003eSNAPSHOT\u003c/var\u003e: the name of the snapshot used in order\n to revert the volume.\n\nFor more options, see [Google Cloud SDK documentation for NetApp Volumes volume snapshots](/sdk/gcloud/reference/netapp/volumes/snapshots).\n\nWhat's next\n-----------\n\n[Create a new volume from a snapshot](/netapp/volumes/docs/configure-and-use/volume-snapshots/new-volume-from-snapshot)."]]