gcloud alpha filestore snapshots - create and manage Filestore snapshots
gcloud alpha filestore snapshots COMMAND [GCLOUD_WIDE_FLAG ...]
To create a snapshot with the name 'my-snapshot', run:
$ gcloud alpha filestore snapshots create my-snapshot
To delete a snapshot with the name 'my-snapshot', run:
$ gcloud alpha filestore snapshots delete my-snapshot
To display the details for an snapshot with the name 'my-snapshot', run:
$ gcloud alpha filestore snapshots describe my-snapshot
To list all the snapshots, run:
$ gcloud alpha filestore snapshots list
To set the label 'env' to 'prod' for an snapshot with the name 'my-snapshot', run:
$ gcloud alpha filestore snapshots my-snapshot \ --update-labels=env=prod
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMAND is one of the following:
- create
(ALPHA) Create a Filestore snapshot.
- delete
(ALPHA) Delete a Filestore snapshot.
- describe
(ALPHA) Describe a Filestore snapshot.
- list
(ALPHA) List Filestore snapshots.
- update
(ALPHA) Update a Filestore snapshot.
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist.