[[["易于理解","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,["# 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)."]]