File: //snap/google-cloud-cli/current/help/man/man1/gcloud_filestore_instances_snapshots_create.1
.TH "GCLOUD_FILESTORE_INSTANCES_SNAPSHOTS_CREATE" 1
.SH "NAME"
.HP
gcloud filestore instances snapshots create \- create a Filestore snapshot
.SH "SYNOPSIS"
.HP
\f5gcloud filestore instances snapshots create\fR \fISNAPSHOT\fR \fB\-\-instance\fR=\fIINSTANCE\fR (\fB\-\-instance\-location\fR=\fIINSTANCE_LOCATION\fR\ |\ \fB\-\-instance\-region\fR=\fIINSTANCE_REGION\fR) [\fB\-\-async\fR] [\fB\-\-description\fR=\fIDESCRIPTION\fR] [\fB\-\-labels\fR=[\fIKEY\fR=\fIVALUE\fR,...]] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
Create a Filestore snapshot of an instance.
This command can fail for the following reasons:
.RS 2m
.IP "\(bu" 2m
A snapshot with the same name already exists.
.IP "\(bu" 2m
The active account does not have permission to create snapshots.
.IP "\(bu" 2m
Maximum number of snapshots for the instance has been reached.
.IP "\(bu" 2m
The service tier of the instance does not support snapshots.
.RE
.sp
.SH "EXAMPLES"
To create a snapshot with the name \f5\fImy\-snapshot\fR\fR for an instance
named \f5\fImy\-instance\fR\fR that's located in \f5\fIus\-central1\fR\fR, run:
.RS 2m
$ gcloud filestore instances snapshots create my\-snapshot \e
\-\-instance=my\-instance \-\-instance\-region=us\-central1
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fISNAPSHOT\fR
Name of the Filestore snapshot to be created.
.RE
.sp
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
\fB\-\-instance\fR=\fIINSTANCE\fR
Name of the Filestore instance that you want to create a snapshot of.
.TP 2m
Exactly one of these must be specified:
.RS 2m
.TP 2m
\fB\-\-instance\-location\fR=\fIINSTANCE_LOCATION\fR
Location of the Filestore instance.
.TP 2m
\fB\-\-instance\-region\fR=\fIINSTANCE_REGION\fR
Region of the Filestore instance.
.RE
.RE
.sp
.SH "OPTIONAL FLAGS"
.RS 2m
.TP 2m
\fB\-\-async\fR
Return immediately, without waiting for the operation in progress to complete.
.TP 2m
\fB\-\-description\fR=\fIDESCRIPTION\fR
Description of the snapshot. Limit: 2048 characters.
.TP 2m
\fB\-\-labels\fR=[\fIKEY\fR=\fIVALUE\fR,...]
List of label KEY=VALUE pairs to add.
.RE
.sp
.SH "GCLOUD WIDE FLAGS"
These flags are available to all commands: \-\-access\-token\-file, \-\-account,
\-\-billing\-project, \-\-configuration, \-\-flags\-file, \-\-flatten,
\-\-format, \-\-help, \-\-impersonate\-service\-account, \-\-log\-http,
\-\-project, \-\-quiet, \-\-trace\-token, \-\-user\-output\-enabled,
\-\-verbosity.
Run \fB$ gcloud help\fR for details.
.SH "API REFERENCE"
This command uses the \fBfile/v1\fR API. The full documentation for this API can
be found at: https://cloud.google.com/filestore/
.SH "NOTES"
This variant is also available:
.RS 2m
$ gcloud beta filestore instances snapshots create
.RE