[[["易于理解","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,["# About volume snapshots\n\n[Autopilot](/kubernetes-engine/docs/concepts/autopilot-overview) [Standard](/kubernetes-engine/docs/concepts/choose-cluster-mode)\n\n*** ** * ** ***\n\nIn Google Kubernetes Engine (GKE), you can use the Kubernetes\n[volume snapshot feature](https://kubernetes.io/docs/concepts/storage/volume-snapshots/)\nfor [persistent volumes](/kubernetes-engine/docs/concepts/persistent-volumes)\nin your GKE clusters.\n\n- Kubernetes volume snapshots let you create a copy of your volume at a specific\n point in time. You can use this copy to bring a volume back to a prior state or\n to provision a new volume.\n\n- A [volume snapshot in Kubernetes](https://kubernetes.io/docs/concepts/storage/volume-snapshots/) is equivalent to taking a backup of your data in other\n storage systems. For example, creating a Kubernetes volume snapshot is\n equivalent to creating a [Filestore backup](/filestore/docs/backups).\n\n- You can use snapshots to protect your workloads and achieve business-critical\n recovery point objectives in your disaster recovery plan, or if you have\n compliance needs to periodically save data.\n\nGKE supports two ways to create volume snapshots:\n\n- **Container storage interface (CSI) volume snapshot API** : This is a manual\n process that lets you create and manage volume snapshots through the\n [Compute Engine Persistent Disk CSI driver](/kubernetes-engine/docs/how-to/persistent-volumes/gce-pd-csi-driver)\n or the [Filestore CSI driver](/kubernetes-engine/docs/how-to/persistent-volumes/filestore-csi-driver),\n applying configuration conventions commonly used in open source Kubernetes\n programming.\n\n- **Backup for GKE** : This is a fully-managed service that automates the creation\n and management of volume snapshots. [Backup for GKE](/kubernetes-engine/docs/add-on/backup-for-gke/concepts/backup-for-gke)\n supports both the [configuration and volume backup](/kubernetes-engine/docs/add-on/backup-for-gke/how-to/backup)\n for stateful workloads with persistent disks. For workloads with Filestore,\n only the configuration backup is supported. To back up data in your\n Filestore [basic tier](/filestore/docs/service-tiers) instances, you\n should continue to use the volume snapshot API through the Filestore\n CSI driver.\n\nFrom GKE version 1.17 or later, you can provision and attach\nvolume snapshots with the following components:\n\n- [VolumeSnapshotClass](https://kubernetes.io/docs/concepts/storage/volume-snapshot-classes/)\n\n- [VolumeSnapshot](https://kubernetes.io/docs/concepts/storage/volume-snapshots/)\n\n- [VolumeSnapshotContent](https://kubernetes.io/docs/concepts/storage/volume-snapshots/#volume-snapshot-contents)\n\n| **Note:** In Kubernetes version 1.20, the VolumeSnapshot API version was [promoted to GA](https://kubernetes.io/blog/2020/12/10/kubernetes-1.20-volume-snapshot-moves-to-ga/). In GKE 1.23, `snapshot.storage.k8s.io/v1beta1` is deprecated. If you are using a GKE cluster version 1.21 and later, migrate to `snapshot.storage.k8s.io/v1`.\n\nThe following documentation covers how to use the volume snapshot API with a\nGKE CSI driver:\n\n- [Back up and restore Filestore storage using volume snapshots](/kubernetes-engine/docs/how-to/persistent-volumes/backup-filestore-volume-snapshots).\n\n- [Back up and restore Persistent Disk storage using volume snapshots](/kubernetes-engine/docs/how-to/persistent-volumes/backup-pd-volume-snapshots).\n\nWhat's next\n-----------\n\n- Read the [Kubernetes Volume Snapshot](https://kubernetes.io/blog/2019/12/09/kubernetes-1-17-feature-cis-volume-snapshot-beta/) documentation.\n- Learn about [volume expansion](/kubernetes-engine/docs/how-to/volume-expansion).\n- Learn how to [manually install a CSI driver](/kubernetes-engine/docs/how-to/install-csi-driver).\n- Learn about [Filestore support for GKE](/filestore/docs/filestore-for-gke)."]]