SNAPSHOT_ID with the name that you want to give the snapshot. The
file share name and snapshot ID can have a combined length of up to 77
characters. For example, my-snapshot-1.
INSTANCE_ID with the name of the instance from which you want to
create a snapshot. For example, my-instance-1.
LOCATION with the zone or region
of the instance. For example, us-east1-b or us-central1, respectively.
Note that your instance's service tier
determines whether a zone or region is a valid argument.
DESCRIPTION with a description of the snapshot.
KEY=VALUE,... with one or more KEY=VALUE pairs that you want to
include.
Example
The following command creates a snapshot of the instance nfs-server, which
is located in us-central1. The snapshot is named nfs-server-snapshot.
INSTANCE_ID with the name of the instance from which you want to
create a list of snapshots. For example, my-instance-1.
LOCATION with the zone or region
of the instance. For example, us-east1-b or us-central1, respectively.
Note that your instance's service tier
determines whether a zone or region is a valid argument.
SNAPSHOT_ID with the name that you want to give the snapshot. For
example, my-snapshot-1.
INSTANCE_ID with the name of the instance from which the snapshot
was created. For example, my-instance-1.
LOCATION with the zone or region
of the instance from which the snapshot was created. For example, us-east1-b
or us-central1, respectively. Note that your instance's service tier
determines whether a zone or region is a valid argument.
Update a snapshot
To update a snapshot, run the instances snapshots update
command. The --description and --update-labels flags are added as optional
arguments:
SNAPSHOT_ID with the name that you want to give the snapshot. For
example, my-snapshot-1.
INSTANCE_ID with the name of the instance from which the snapshot
was created. For example, my-instance-1.
LOCATION with the zone or region
of the instance from which the snapshot was created. For example, us-east1-b
or us-central1, respectively. Note that your instance's service tier
determines whether a zone or region is a valid argument.
NEW-DESCRIPTION with a new description of the snapshot.
KEY1=VALUE1,... with one or more KEY=VALUE pairs that you want to
update. If a label exists, its value is updated, otherwise a new label is
created.
Delete a snapshot
Snapshot deletion is a long running operation that can take multiple hours to
complete, depending the number of files involved.
SNAPSHOT_ID with the name that you want to give the snapshot. For
example, my-snapshot-1.
INSTANCE_ID with the name of the instance from which the snapshot
was created. For example, my-instance-1.
LOCATION with the zone or region
of the instance from which the snapshot was created. For example, us-east1-b
or us-central1, respectively. Note that your instance's service tier
determines whether a zone or region is a valid argument.
Restore data
You can restore individual files from a snapshot or revert the entire file share
to a prior snapshot state.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThis guide explains how to create, manage, and utilize snapshots to preserve the state of your Filestore data.\u003c/p\u003e\n"],["\u003cp\u003eSnapshot and revert operations are only supported in Zonal, Regional, Enterprise, and legacy high scale SSD service tiers, but not in Basic HDD or Basic SSD.\u003c/p\u003e\n"],["\u003cp\u003eYou can create a snapshot via the Google Cloud console or the gcloud CLI, by specifying a name, instance, and location, with optional descriptions and labels.\u003c/p\u003e\n"],["\u003cp\u003eThe gcloud CLI can be used to list, view, update, and delete snapshots, as well as revert the entire file share to a previous snapshot state.\u003c/p\u003e\n"],["\u003cp\u003eYou can monitor a snapshot's capacity using the Metrics Explorer, and restore individual files or the entire share using previously created snapshots.\u003c/p\u003e\n"]]],[],null,["# Create a snapshot to preserve the state of your data\n\nThis guide shows you how to create a snapshot to preserve the state of your\nFilestore data. To learn more about snapshots, see\n[Snapshots](/filestore/docs/snapshots).\n\nSupported tiers\n---------------\n\nThe following table shows which Filestore service tiers\nsupport snapshots and the [`revert instance`](/filestore/docs/reference/rest/v1/projects.locations.instances/revert)\noperation:\n\nSnapshots and related `revert` operations are also supported in the legacy\nhigh scale SSD [service tier](/filestore/docs/service-tiers).\n\nWhile snapshots are supported in the enterprise service tier, they can't\nbe combined with the [Filestore multishares](/filestore/docs/multishares)\nfeature.\n\nCreate a snapshot\n-----------------\n\nYou can create a snapshot of an instance using one of the following methods: \n\n### Google Cloud console\n\n1. In the Google Cloud console, go to the Filestore instances\n page.\n\n [Go to the Filestore instances page](https://console.cloud.google.com/filestore/instances)\n2. Click the instance that you want to create a snapshot of.\n\n3. Click the **Snapshots** tab and then click **Create snapshot**.\n\n4. For **Snapshot ID**, enter a name for the snapshot. The file share name and\n snapshot ID can have a combined length of up to 77 characters.\n\n5. **Optional**: Add a description or labels to the snapshot.\n\n6. Click **Create**.\n\n### gcloud CLI\n\nTo create a snapshot of an instance, run the [`instances snapshots create`](/sdk/gcloud/reference/filestore/instances/snapshots/create)\ncommand. The `--description` and `--labels` flags are added as optional\narguments: \n\n gcloud filestore instances snapshots create \u003cvar translate=\"no\"\u003eSNAPSHOT_ID\u003c/var\u003e \\\n --instance=\u003cvar translate=\"no\"\u003eINSTANCE_ID\u003c/var\u003e \\\n --instance-location=\u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e \\\n --description=\"\u003cvar translate=\"no\"\u003eDESCRIPTION\u003c/var\u003e\" \\\n --labels=\u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-nv\"\u003eKEY\u003c/span\u003e\u003c/var\u003e=\u003cvar translate=\"no\"\u003eVALUE\u003c/var\u003e\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eSNAPSHOT_ID\u003c/var\u003e with the name that you want to give the snapshot. The file share name and snapshot ID can have a combined length of up to 77 characters. For example, `my-snapshot-1`.\n- \u003cvar translate=\"no\"\u003eINSTANCE_ID\u003c/var\u003e with the name of the instance from which you want to create a snapshot. For example, `my-instance-1`.\n- \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e with the [zone or region](/filestore/docs/regions#supported_regions) of the instance. For example, `us-east1-b` or `us-central1`, respectively. Note that your instance's [service tier](/filestore/docs/service-tiers#overview) determines whether a zone or region is a valid argument.\n- \u003cvar translate=\"no\"\u003eDESCRIPTION\u003c/var\u003e with a description of the snapshot.\n- \u003cvar translate=\"no\"\u003eKEY=VALUE,...\u003c/var\u003e with one or more `KEY=VALUE` pairs that you want to include.\n\n#### Example\n\nThe following command creates a snapshot of the instance `nfs-server`, which\nis located in `us-central1`. The snapshot is named `nfs-server-snapshot`. \n\n gcloud filestore instances snapshots create nfs-server-snapshot \\\n --instance=nfs-server \\\n --instance-location=us-central1 \\\n\nList, view, update, and delete snapshots\n----------------------------------------\n\nYou can list, view, update, and delete snapshots. \n\n### Google Cloud console\n\nTo manage your snapshots in the Google Cloud console:\n\n1. Go to the Filestore instances page.\n\n [Go to the Filestore instances page](https://console.cloud.google.com/filestore/instances)\n2. Click the instance ID of the instance that you want to view snapshots\n of.\n\n3. Click the **Snapshots** tab.\n\nFrom the **Snapshots** tab:\n\n- To see details about a snapshot, click its snapshot ID.\n- To edit a snapshot, click **Edit** in the snapshots details page.\n- To delete a snapshot:\n\n1. Click the snapshot ID of the snapshot that you want to delete.\n2. Click **Delete**.\n3. When prompted, type the snapshot ID.\n4. Click **Delete**.\n\n### gcloud CLI\n\n### List all snapshots in your current project\n\nTo view a list of snapshots for an instance, run the [`instances snapshots list`](/sdk/gcloud/reference/filestore/instances/snapshots/list)\ncommand: \n\n gcloud filestore instances snapshots list \\\n --instance=\u003cvar translate=\"no\"\u003eINSTANCE_ID\u003c/var\u003e \\\n --instance-location=\u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eINSTANCE_ID\u003c/var\u003e with the name of the instance from which you want to create a list of snapshots. For example, `my-instance-1`.\n- \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e with the [zone or region](/filestore/docs/regions#supported_regions) of the instance. For example, `us-east1-b` or `us-central1`, respectively. Note that your instance's [service tier](/filestore/docs/service-tiers#overview) determines whether a zone or region is a valid argument.\n\n### View information about a snapshot\n\nTo view information about a snapshot, run the [`instances snapshots describe`](/sdk/gcloud/reference/filestore/instances/snapshots/describe)\ncommand: \n\n gcloud filestore instances snapshots describe \u003cvar translate=\"no\"\u003eSNAPSHOT_ID\u003c/var\u003e \\\n --instance=\u003cvar translate=\"no\"\u003eINSTANCE_ID\u003c/var\u003e \\\n --instance-location=\u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eSNAPSHOT_ID\u003c/var\u003e with the name that you want to give the snapshot. For example, `my-snapshot-1`.\n- \u003cvar translate=\"no\"\u003eINSTANCE_ID\u003c/var\u003e with the name of the instance from which the snapshot was created. For example, `my-instance-1`.\n- \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e with the [zone or region](/filestore/docs/regions#supported_regions) of the instance from which the snapshot was created. For example, `us-east1-b` or `us-central1`, respectively. Note that your instance's [service tier](/filestore/docs/service-tiers#overview) determines whether a zone or region is a valid argument.\n\n### Update a snapshot\n\nTo update a snapshot, run the [`instances snapshots update`](/sdk/gcloud/reference/filestore/instances/snapshots/update)\ncommand. The `--description` and `--update-labels` flags are added as optional\narguments: \n\n gcloud filestore instances snapshots update \u003cvar translate=\"no\"\u003eSNAPSHOT_ID\u003c/var\u003e \\\n --instance=\u003cvar translate=\"no\"\u003eINSTANCE_ID\u003c/var\u003e \\\n --instance-location=\u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e \\\n --description=\"\u003cvar translate=\"no\"\u003eNEW-DESCRIPTION\u003c/var\u003e\" \\\n --update-labels=\u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-nv\"\u003eKEY1\u003c/span\u003e\u003cspan class=\"devsite-syntax-o\"\u003e=\u003c/span\u003eVALUE1,KEY2\u003cspan class=\"devsite-syntax-o\"\u003e=\u003c/span\u003eVALUE2...\u003c/var\u003e\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eSNAPSHOT_ID\u003c/var\u003e with the name that you want to give the snapshot. For example, `my-snapshot-1`.\n- \u003cvar translate=\"no\"\u003eINSTANCE_ID\u003c/var\u003e with the name of the instance from which the snapshot was created. For example, `my-instance-1`.\n- \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e with the [zone or region](/filestore/docs/regions#supported_regions) of the instance from which the snapshot was created. For example, `us-east1-b` or `us-central1`, respectively. Note that your instance's [service tier](/filestore/docs/service-tiers#overview) determines whether a zone or region is a valid argument.\n- \u003cvar translate=\"no\"\u003eNEW-DESCRIPTION\u003c/var\u003e with a new description of the snapshot.\n- \u003cvar translate=\"no\"\u003eKEY1=VALUE1,...\u003c/var\u003e with one or more `KEY=VALUE` pairs that you want to update. If a label exists, its value is updated, otherwise a new label is created.\n\n### Delete a snapshot\n\nSnapshot deletion is a long running operation that can take multiple hours to\ncomplete, depending the number of files involved.\n\nTo delete a snapshot, run the [`instances snapshots delete`](/sdk/gcloud/reference/filestore/instances/snapshots/delete)\ncommand: \n\n gcloud filestore instances snapshots delete \u003cvar translate=\"no\"\u003eSNAPSHOT_ID\u003c/var\u003e \\\n --instance=\u003cvar translate=\"no\"\u003eINSTANCE_ID\u003c/var\u003e \\\n --instance-location=\u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e \\\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eSNAPSHOT_ID\u003c/var\u003e with the name that you want to give the snapshot. For example, `my-snapshot-1`.\n- \u003cvar translate=\"no\"\u003eINSTANCE_ID\u003c/var\u003e with the name of the instance from which the snapshot was created. For example, `my-instance-1`.\n- \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e with the [zone or region](/filestore/docs/regions#supported_regions) of the instance from which the snapshot was created. For example, `us-east1-b` or `us-central1`, respectively. Note that your instance's [service tier](/filestore/docs/service-tiers#overview) determines whether a zone or region is a valid argument.\n\nRestore data\n------------\n\nYou can restore individual files from a snapshot or revert the entire file share\nto a prior snapshot state.\n\nFor more information, see [Restore a file from a snapshot](/filestore/docs/restore-file)\nand [Revert an instance to a prior snapshot state](/filestore/docs/revert-snapshot).\n\nMonitoring\n----------\n\nYou can monitor an instance's snapshot capacity using Metrics Explorer. For more\ninformation, see [Create charts with Metrics Explorer](/monitoring/charts/metrics-explorer).\n\nWhat's next\n-----------\n\n- [Snapshots overview](/filestore/docs/snapshots)\n- [Restore a file from a snapshot](/filestore/docs/restore-file)\n- [Revert an instance to a prior snapshot state](/filestore/docs/revert-snapshot)\n- [Schedule Filestore enterprise snapshots](/filestore/docs/schedule-filestore-enterprise-snapshots)\n- [Backups overview](/filestore/docs/backups)"]]