mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Wed Apr 2 10:41:45 UTC 2025
This commit is contained in:
parent
be9483c980
commit
4637d39593
282 changed files with 9293 additions and 700 deletions
83
gcloud/memorystore/backup-collections/backups/delete
Normal file
83
gcloud/memorystore/backup-collections/backups/delete
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
NAME
|
||||
gcloud memorystore backup-collections backups delete - delete backups
|
||||
|
||||
SYNOPSIS
|
||||
gcloud memorystore backup-collections backups delete
|
||||
(BACKUP : --backup-collection=BACKUP_COLLECTION --location=LOCATION)
|
||||
[--async] [--request-id=REQUEST_ID] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Delete a backup
|
||||
|
||||
EXAMPLES
|
||||
To delete the backup, run:
|
||||
|
||||
$ gcloud memorystore backup-collections backups delete
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Backup resource - Instance backup resource name using the form:
|
||||
projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}
|
||||
The arguments in this group can be used to specify the attributes of this
|
||||
resource. (NOTE) Some attributes are not given arguments in this group but
|
||||
can be set in other ways.
|
||||
|
||||
To set the project attribute:
|
||||
◆ provide the argument backup on the command line with a fully
|
||||
specified name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
BACKUP
|
||||
ID of the backup or fully qualified identifier for the backup.
|
||||
|
||||
To set the backup attribute:
|
||||
▸ provide the argument backup on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--backup-collection=BACKUP_COLLECTION
|
||||
The backupCollection id of the backup resource.
|
||||
|
||||
To set the backup-collection attribute:
|
||||
▸ provide the argument backup on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --backup-collection on the command line.
|
||||
|
||||
--location=LOCATION
|
||||
The location id of the backup resource.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument backup on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --location on the command line.
|
||||
|
||||
FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--request-id=REQUEST_ID
|
||||
Idempotent request UUID.
|
||||
|
||||
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 $ gcloud help for details.
|
||||
|
||||
API REFERENCE
|
||||
This command uses the memorystore/v1 API. The full documentation for this
|
||||
API can be found at: https://cloud.google.com/memorystore/
|
||||
|
||||
NOTES
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha memorystore backup-collections backups delete
|
||||
|
||||
$ gcloud beta memorystore backup-collections backups delete
|
||||
|
||||
75
gcloud/memorystore/backup-collections/backups/describe
Normal file
75
gcloud/memorystore/backup-collections/backups/describe
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
NAME
|
||||
gcloud memorystore backup-collections backups describe - describe backups
|
||||
|
||||
SYNOPSIS
|
||||
gcloud memorystore backup-collections backups describe
|
||||
(BACKUP : --backup-collection=BACKUP_COLLECTION --location=LOCATION)
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Describe a backup
|
||||
|
||||
EXAMPLES
|
||||
To describe the backup, run:
|
||||
|
||||
$ gcloud memorystore backup-collections backups describe
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Backup resource - Instance backup resource name using the form:
|
||||
projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}
|
||||
The arguments in this group can be used to specify the attributes of this
|
||||
resource. (NOTE) Some attributes are not given arguments in this group but
|
||||
can be set in other ways.
|
||||
|
||||
To set the project attribute:
|
||||
◆ provide the argument backup on the command line with a fully
|
||||
specified name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
BACKUP
|
||||
ID of the backup or fully qualified identifier for the backup.
|
||||
|
||||
To set the backup attribute:
|
||||
▸ provide the argument backup on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--backup-collection=BACKUP_COLLECTION
|
||||
The backupCollection id of the backup resource.
|
||||
|
||||
To set the backup-collection attribute:
|
||||
▸ provide the argument backup on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --backup-collection on the command line.
|
||||
|
||||
--location=LOCATION
|
||||
The location id of the backup resource.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument backup on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --location on the command line.
|
||||
|
||||
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 $ gcloud help for details.
|
||||
|
||||
API REFERENCE
|
||||
This command uses the memorystore/v1 API. The full documentation for this
|
||||
API can be found at: https://cloud.google.com/memorystore/
|
||||
|
||||
NOTES
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha memorystore backup-collections backups describe
|
||||
|
||||
$ gcloud beta memorystore backup-collections backups describe
|
||||
|
||||
83
gcloud/memorystore/backup-collections/backups/export
Normal file
83
gcloud/memorystore/backup-collections/backups/export
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
NAME
|
||||
gcloud memorystore backup-collections backups export - export backups
|
||||
|
||||
SYNOPSIS
|
||||
gcloud memorystore backup-collections backups export
|
||||
(BACKUP : --backup-collection=BACKUP_COLLECTION --location=LOCATION)
|
||||
[--async] [--gcs-bucket=GCS_BUCKET] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
export backups
|
||||
|
||||
EXAMPLES
|
||||
To export all backups, run:
|
||||
|
||||
$ gcloud memorystore backup-collections backups export
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Backup resource - Instance backup resource name using the form:
|
||||
projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}
|
||||
The arguments in this group can be used to specify the attributes of this
|
||||
resource. (NOTE) Some attributes are not given arguments in this group but
|
||||
can be set in other ways.
|
||||
|
||||
To set the project attribute:
|
||||
◆ provide the argument backup on the command line with a fully
|
||||
specified name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
BACKUP
|
||||
ID of the backup or fully qualified identifier for the backup.
|
||||
|
||||
To set the backup attribute:
|
||||
▸ provide the argument backup on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--backup-collection=BACKUP_COLLECTION
|
||||
The backupCollection id of the backup resource.
|
||||
|
||||
To set the backup-collection attribute:
|
||||
▸ provide the argument backup on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --backup-collection on the command line.
|
||||
|
||||
--location=LOCATION
|
||||
The location id of the backup resource.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument backup on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --location on the command line.
|
||||
|
||||
FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--gcs-bucket=GCS_BUCKET
|
||||
Google Cloud Storage bucket, like "my-bucket".
|
||||
|
||||
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 $ gcloud help for details.
|
||||
|
||||
API REFERENCE
|
||||
This command uses the memorystore/v1 API. The full documentation for this
|
||||
API can be found at: https://cloud.google.com/memorystore/
|
||||
|
||||
NOTES
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha memorystore backup-collections backups export
|
||||
|
||||
$ gcloud beta memorystore backup-collections backups export
|
||||
|
||||
37
gcloud/memorystore/backup-collections/backups/help
Normal file
37
gcloud/memorystore/backup-collections/backups/help
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
NAME
|
||||
gcloud memorystore backup-collections backups - manage Backup resources
|
||||
|
||||
SYNOPSIS
|
||||
gcloud memorystore backup-collections backups COMMAND
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Manage Backup resources.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
delete
|
||||
Delete backups.
|
||||
|
||||
describe
|
||||
Describe backups.
|
||||
|
||||
export
|
||||
export backups.
|
||||
|
||||
list
|
||||
List backups.
|
||||
|
||||
NOTES
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha memorystore backup-collections backups
|
||||
|
||||
$ gcloud beta memorystore backup-collections backups
|
||||
|
||||
102
gcloud/memorystore/backup-collections/backups/list
Normal file
102
gcloud/memorystore/backup-collections/backups/list
Normal file
|
|
@ -0,0 +1,102 @@
|
|||
NAME
|
||||
gcloud memorystore backup-collections backups list - list backups
|
||||
|
||||
SYNOPSIS
|
||||
gcloud memorystore backup-collections backups list
|
||||
(--backup-collection=BACKUP_COLLECTION : --location=LOCATION)
|
||||
[--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE]
|
||||
[--sort-by=[FIELD,...]] [--uri] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
List backups
|
||||
|
||||
EXAMPLES
|
||||
To list all backups, run:
|
||||
|
||||
$ gcloud memorystore backup-collections backups list
|
||||
|
||||
REQUIRED FLAGS
|
||||
BackupCollection resource - The resource name of the backupCollection
|
||||
using the form:
|
||||
projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}
|
||||
The arguments in this group can be used to specify the attributes of this
|
||||
resource. (NOTE) Some attributes are not given arguments in this group but
|
||||
can be set in other ways.
|
||||
|
||||
To set the project attribute:
|
||||
◆ provide the argument --backup-collection on the command line with a
|
||||
fully specified name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
--backup-collection=BACKUP_COLLECTION
|
||||
ID of the backupCollection or fully qualified identifier for the
|
||||
backupCollection.
|
||||
|
||||
To set the backup-collection attribute:
|
||||
▸ provide the argument --backup-collection on the command line.
|
||||
|
||||
This flag argument must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
The location id of the backupCollection resource.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument --backup-collection on the command line with
|
||||
a fully specified name;
|
||||
▸ provide the argument --location on the command line.
|
||||
|
||||
LIST COMMAND FLAGS
|
||||
--filter=EXPRESSION
|
||||
Apply a Boolean filter EXPRESSION to each resource item to be listed.
|
||||
If the expression evaluates True, then that item is listed. For more
|
||||
details and examples of filter expressions, run $ gcloud topic filters.
|
||||
This flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--limit=LIMIT
|
||||
Maximum number of resources to list. The default is unlimited. This
|
||||
flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--page-size=PAGE_SIZE
|
||||
Some services group resource list output into pages. This flag
|
||||
specifies the maximum number of resources per page. The default is
|
||||
determined by the service if it supports paging, otherwise it is
|
||||
unlimited (no paging). Paging may be applied before or after --filter
|
||||
and --limit depending on the service.
|
||||
|
||||
--sort-by=[FIELD,...]
|
||||
Comma-separated list of resource field key names to sort by. The
|
||||
default order is ascending. Prefix a field with ``~'' for descending
|
||||
order on that field. This flag interacts with other flags that are
|
||||
applied in this order: --flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--uri
|
||||
Print a list of resource URIs instead of the default output, and change
|
||||
the command output to a list of URIs. If this flag is used with
|
||||
--format, the formatting is applied on this URI list. To display URIs
|
||||
alongside other keys instead, use the uri() transform.
|
||||
|
||||
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 $ gcloud help for details.
|
||||
|
||||
API REFERENCE
|
||||
This command uses the memorystore/v1 API. The full documentation for this
|
||||
API can be found at: https://cloud.google.com/memorystore/
|
||||
|
||||
NOTES
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha memorystore backup-collections backups list
|
||||
|
||||
$ gcloud beta memorystore backup-collections backups list
|
||||
|
||||
69
gcloud/memorystore/backup-collections/describe
Normal file
69
gcloud/memorystore/backup-collections/describe
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
NAME
|
||||
gcloud memorystore backup-collections describe - describe backupCollections
|
||||
|
||||
SYNOPSIS
|
||||
gcloud memorystore backup-collections describe
|
||||
(BACKUP_COLLECTION : --location=LOCATION) [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Describe a backupCollection
|
||||
|
||||
EXAMPLES
|
||||
To describe the backupCollection, run:
|
||||
|
||||
$ gcloud memorystore backup-collections describe
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
BackupCollection resource - Instance backupCollection resource name using
|
||||
the form:
|
||||
projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}
|
||||
where location_id refers to a Google Cloud region. The arguments in this
|
||||
group can be used to specify the attributes of this resource. (NOTE) Some
|
||||
attributes are not given arguments in this group but can be set in other
|
||||
ways.
|
||||
|
||||
To set the project attribute:
|
||||
◆ provide the argument backup_collection on the command line with a
|
||||
fully specified name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
BACKUP_COLLECTION
|
||||
ID of the backupCollection or fully qualified identifier for the
|
||||
backupCollection.
|
||||
|
||||
To set the backup_collection attribute:
|
||||
▸ provide the argument backup_collection on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
The location id of the backupCollection resource.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument backup_collection on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --location on the command line.
|
||||
|
||||
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 $ gcloud help for details.
|
||||
|
||||
API REFERENCE
|
||||
This command uses the memorystore/v1 API. The full documentation for this
|
||||
API can be found at: https://cloud.google.com/memorystore/
|
||||
|
||||
NOTES
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha memorystore backup-collections describe
|
||||
|
||||
$ gcloud beta memorystore backup-collections describe
|
||||
|
||||
37
gcloud/memorystore/backup-collections/help
Normal file
37
gcloud/memorystore/backup-collections/help
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
NAME
|
||||
gcloud memorystore backup-collections - manage Backup Collection resources
|
||||
|
||||
SYNOPSIS
|
||||
gcloud memorystore backup-collections GROUP | COMMAND
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Manage Backup Collection resources.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
GROUPS
|
||||
GROUP is one of the following:
|
||||
|
||||
backups
|
||||
Manage Backup resources.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
describe
|
||||
Describe backupCollections.
|
||||
|
||||
list
|
||||
List backupCollections.
|
||||
|
||||
NOTES
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha memorystore backup-collections
|
||||
|
||||
$ gcloud beta memorystore backup-collections
|
||||
|
||||
88
gcloud/memorystore/backup-collections/list
Normal file
88
gcloud/memorystore/backup-collections/list
Normal file
|
|
@ -0,0 +1,88 @@
|
|||
NAME
|
||||
gcloud memorystore backup-collections list - list backupCollections
|
||||
|
||||
SYNOPSIS
|
||||
gcloud memorystore backup-collections list --location=LOCATION
|
||||
[--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE]
|
||||
[--sort-by=[FIELD,...]] [--uri] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
List backupCollections
|
||||
|
||||
EXAMPLES
|
||||
To list all backupCollections, run:
|
||||
|
||||
$ gcloud memorystore backup-collections list
|
||||
|
||||
REQUIRED FLAGS
|
||||
Location resource - The resource name of the backupCollection location
|
||||
using the form: projects/{project_id}/locations/{location_id} where
|
||||
location_id refers to a Google Cloud region. This represents a Cloud
|
||||
resource. (NOTE) Some attributes are not given arguments in this group but
|
||||
can be set in other ways.
|
||||
|
||||
To set the project attribute:
|
||||
◆ provide the argument --location on the command line with a fully
|
||||
specified name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
--location=LOCATION
|
||||
ID of the location or fully qualified identifier for the location.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument --location on the command line.
|
||||
|
||||
LIST COMMAND FLAGS
|
||||
--filter=EXPRESSION
|
||||
Apply a Boolean filter EXPRESSION to each resource item to be listed.
|
||||
If the expression evaluates True, then that item is listed. For more
|
||||
details and examples of filter expressions, run $ gcloud topic filters.
|
||||
This flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--limit=LIMIT
|
||||
Maximum number of resources to list. The default is unlimited. This
|
||||
flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--page-size=PAGE_SIZE
|
||||
Some services group resource list output into pages. This flag
|
||||
specifies the maximum number of resources per page. The default is
|
||||
determined by the service if it supports paging, otherwise it is
|
||||
unlimited (no paging). Paging may be applied before or after --filter
|
||||
and --limit depending on the service.
|
||||
|
||||
--sort-by=[FIELD,...]
|
||||
Comma-separated list of resource field key names to sort by. The
|
||||
default order is ascending. Prefix a field with ``~'' for descending
|
||||
order on that field. This flag interacts with other flags that are
|
||||
applied in this order: --flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--uri
|
||||
Print a list of resource URIs instead of the default output, and change
|
||||
the command output to a list of URIs. If this flag is used with
|
||||
--format, the formatting is applied on this URI list. To display URIs
|
||||
alongside other keys instead, use the uri() transform.
|
||||
|
||||
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 $ gcloud help for details.
|
||||
|
||||
API REFERENCE
|
||||
This command uses the memorystore/v1 API. The full documentation for this
|
||||
API can be found at: https://cloud.google.com/memorystore/
|
||||
|
||||
NOTES
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha memorystore backup-collections list
|
||||
|
||||
$ gcloud beta memorystore backup-collections list
|
||||
|
||||
|
|
@ -15,6 +15,9 @@ GCLOUD WIDE FLAGS
|
|||
GROUPS
|
||||
GROUP is one of the following:
|
||||
|
||||
backup-collections
|
||||
Manage Backup Collection resources.
|
||||
|
||||
instances
|
||||
Manage Instance resources.
|
||||
|
||||
|
|
|
|||
80
gcloud/memorystore/instances/backup
Normal file
80
gcloud/memorystore/instances/backup
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
NAME
|
||||
gcloud memorystore instances backup - backup instances
|
||||
|
||||
SYNOPSIS
|
||||
gcloud memorystore instances backup (INSTANCE : --location=LOCATION)
|
||||
[--async] [--backup-id=BACKUP_ID] [--ttl=TTL] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
backup instances
|
||||
|
||||
EXAMPLES
|
||||
To backup all instances, run:
|
||||
|
||||
$ gcloud memorystore instances backup
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Instance resource - Instance resource name using the form:
|
||||
projects/{project_id}/locations/{location_id}/instances/{instance_id}
|
||||
where location_id refers to a Google Cloud region. The arguments in this
|
||||
group can be used to specify the attributes of this resource. (NOTE) Some
|
||||
attributes are not given arguments in this group but can be set in other
|
||||
ways.
|
||||
|
||||
To set the project attribute:
|
||||
◆ provide the argument instance on the command line with a fully
|
||||
specified name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
INSTANCE
|
||||
ID of the instance or fully qualified identifier for the instance.
|
||||
|
||||
To set the instance attribute:
|
||||
▸ provide the argument instance on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
The location id of the instance resource.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument instance on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --location on the command line.
|
||||
|
||||
FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--backup-id=BACKUP_ID
|
||||
The id of the backup to be created. If not specified, the default value
|
||||
([YYYYMMDDHHMMSS][Shortened Instance UID] is used.
|
||||
|
||||
--ttl=TTL
|
||||
TTL for the backup to expire. Value range is 1 day to 100 years. If not
|
||||
specified, the default value is 100 years.
|
||||
|
||||
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 $ gcloud help for details.
|
||||
|
||||
API REFERENCE
|
||||
This command uses the memorystore/v1 API. The full documentation for this
|
||||
API can be found at: https://cloud.google.com/memorystore/
|
||||
|
||||
NOTES
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha memorystore instances backup
|
||||
|
||||
$ gcloud beta memorystore instances backup
|
||||
|
||||
|
|
@ -19,7 +19,12 @@ SYNOPSIS
|
|||
--persistence-config-mode=PERSISTENCE_CONFIG_MODE
|
||||
--rdb-config-snapshot-period=RDB_CONFIG_SNAPSHOT_PERIOD
|
||||
--rdb-config-snapshot-start-time=RDB_CONFIG_SNAPSHOT_START_TIME]
|
||||
[--automated-backup-config-mode=AUTOMATED_BACKUP_CONFIG_MODE
|
||||
--automated-backup-config-retention=AUTOMATED_BACKUP_CONFIG_RETENTION
|
||||
(--fixed-frequency-schedule-start-time-hours=FIXED_FREQUENCY_SCHEDULE_START_TIME_HOURS --fixed-frequency-schedule-start-time-minutes=FIXED_FREQUENCY_SCHEDULE_START_TIME_MINUTES --fixed-frequency-schedule-start-time-nanos=FIXED_FREQUENCY_SCHEDULE_START_TIME_NANOS --fixed-frequency-schedule-start-time-seconds=FIXED_FREQUENCY_SCHEDULE_START_TIME_SECONDS)]
|
||||
[--cross-instance-replication-config-role=CROSS_INSTANCE_REPLICATION_CONFIG_ROLE : --cross-instance-replication-config-secondary-instances=[instance=INSTANCE] --primary-instance=PRIMARY_INSTANCE]
|
||||
[--gcs-source-uris=[GCS_SOURCE_URIS,...]
|
||||
| --managed-backup-source=MANAGED_BACKUP_SOURCE]
|
||||
[--zone-distribution-config=ZONE_DISTRIBUTION_CONFIG
|
||||
--zone-distribution-config-mode=ZONE_DISTRIBUTION_CONFIG_MODE]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
|
@ -262,7 +267,8 @@ FLAGS
|
|||
Ondemand maintenance for the instance.
|
||||
|
||||
--psc-auto-connections=[network=NETWORK],[port=PORT],[projectId=PROJECTID]
|
||||
User inputs and resource details of the auto-created PSC connections.
|
||||
Deprecated: Use the endpoints.connections.psc_auto_connection value
|
||||
instead.
|
||||
|
||||
network
|
||||
The network where the PSC endpoints are created, in the form of
|
||||
|
|
@ -369,6 +375,53 @@ FLAGS
|
|||
future snapshots will be aligned. If not provided, the current time
|
||||
will be used.
|
||||
|
||||
The automated backup config for an instance.
|
||||
|
||||
--automated-backup-config-mode=AUTOMATED_BACKUP_CONFIG_MODE
|
||||
The automated backup mode. If the mode is disabled, the other fields
|
||||
will be ignored. AUTOMATED_BACKUP_CONFIG_MODE must be one of:
|
||||
|
||||
disabled
|
||||
Automated backup config disabled.
|
||||
enabled
|
||||
Automated backup config enabled.
|
||||
|
||||
--automated-backup-config-retention=AUTOMATED_BACKUP_CONFIG_RETENTION
|
||||
How long to keep automated backups before the backups are deleted.
|
||||
The value should be between 1 day and 365 days. If not specified, the
|
||||
default value is 35 days.
|
||||
|
||||
Arguments for the schedule.
|
||||
|
||||
This schedule allows the backup to be triggered at a fixed frequency
|
||||
(currently only daily is supported).
|
||||
|
||||
Represents a time of day. The date and time zone are either not
|
||||
significant or are specified elsewhere. An API may choose to allow
|
||||
leap seconds. Related types are [google.type.Date][google.type.Date]
|
||||
and google.protobuf.Timestamp.
|
||||
|
||||
At least one of these must be specified:
|
||||
|
||||
--fixed-frequency-schedule-start-time-hours=FIXED_FREQUENCY_SCHEDULE_START_TIME_HOURS
|
||||
Hours of a day in 24 hour format. Must be greater than or equal
|
||||
to 0 and typically must be less than or equal to 23. An API may
|
||||
choose to allow the value "24:00:00" for scenarios like
|
||||
business closing time.
|
||||
|
||||
--fixed-frequency-schedule-start-time-minutes=FIXED_FREQUENCY_SCHEDULE_START_TIME_MINUTES
|
||||
Minutes of an hour. Must be greater than or equal to 0 and less
|
||||
than or equal to 59.
|
||||
|
||||
--fixed-frequency-schedule-start-time-nanos=FIXED_FREQUENCY_SCHEDULE_START_TIME_NANOS
|
||||
Fractions of seconds, in nanoseconds. Must be greater than or
|
||||
equal to 0 and less than or equal to 999,999,999.
|
||||
|
||||
--fixed-frequency-schedule-start-time-seconds=FIXED_FREQUENCY_SCHEDULE_START_TIME_SECONDS
|
||||
Seconds of a minute. Must be greater than or equal to 0 and
|
||||
typically must be less than or equal to 59. An API may allow
|
||||
the value 60 if it allows leap-seconds.
|
||||
|
||||
Cross instance replication config.
|
||||
|
||||
--cross-instance-replication-config-role=CROSS_INSTANCE_REPLICATION_CONFIG_ROLE
|
||||
|
|
@ -439,6 +492,27 @@ FLAGS
|
|||
To set the instance attribute:
|
||||
◇ provide the argument --primary-instance on the command line.
|
||||
|
||||
Arguments for the import sources.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
Backups that stored in Cloud Storage buckets. The Cloud Storage buckets
|
||||
need to be the same region as the instances.
|
||||
|
||||
--gcs-source-uris=[GCS_SOURCE_URIS,...]
|
||||
Example: gs://bucket1/object1, gs://bucket2/folder2/object2
|
||||
|
||||
Backups that generated and managed by memorystore.
|
||||
|
||||
--managed-backup-source=MANAGED_BACKUP_SOURCE
|
||||
Example:
|
||||
//memorystore.googleapis.com/projects/{project}/locations/{location}/backupCollections/{collection}/backups/{backup}
|
||||
A shorter version (without the prefix) of the backup name is also
|
||||
supported, like
|
||||
projects/{project}/locations/{location}/backupCollections/{collection}/backups/{backup_id}
|
||||
In this case, it assumes the backup is under
|
||||
memorystore.googleapis.com.
|
||||
|
||||
Zone distribution configuration for allocation of instance resources.
|
||||
|
||||
--zone-distribution-config=ZONE_DISTRIBUTION_CONFIG
|
||||
|
|
|
|||
|
|
@ -15,6 +15,9 @@ GCLOUD WIDE FLAGS
|
|||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
backup
|
||||
backup instances.
|
||||
|
||||
create
|
||||
Create a Memorystore instance.
|
||||
|
||||
|
|
|
|||
|
|
@ -14,6 +14,10 @@ SYNOPSIS
|
|||
--persistence-config-mode=PERSISTENCE_CONFIG_MODE
|
||||
--rdb-config-snapshot-period=RDB_CONFIG_SNAPSHOT_PERIOD
|
||||
--rdb-config-snapshot-start-time=RDB_CONFIG_SNAPSHOT_START_TIME]
|
||||
[--automated-backup-config-mode=AUTOMATED_BACKUP_CONFIG_MODE
|
||||
--automated-backup-config-retention=AUTOMATED_BACKUP_CONFIG_RETENTION
|
||||
--clear-automated-backup-config
|
||||
--fixed-frequency-schedule-start-time-hours=FIXED_FREQUENCY_SCHEDULE_START_TIME_HOURS --fixed-frequency-schedule-start-time-minutes=FIXED_FREQUENCY_SCHEDULE_START_TIME_MINUTES --fixed-frequency-schedule-start-time-nanos=FIXED_FREQUENCY_SCHEDULE_START_TIME_NANOS --fixed-frequency-schedule-start-time-seconds=FIXED_FREQUENCY_SCHEDULE_START_TIME_SECONDS]
|
||||
[--clear-cross-instance-replication-config
|
||||
--cross-instance-replication-config-role=CROSS_INSTANCE_REPLICATION_CONFIG_ROLE --clear-primary-instance | --primary-instance=PRIMARY_INSTANCE --cross-instance-replication-config-secondary-instances=[instance=INSTANCE] | --add-cross-instance-replication-config-secondary-instances=[instance=INSTANCE] --clear-cross-instance-replication-config-secondary-instances | --remove-cross-instance-replication-config-secondary-instances=[instance=INSTANCE]]
|
||||
[--clear-maintenance-policy
|
||||
|
|
@ -209,6 +213,54 @@ FLAGS
|
|||
future snapshots will be aligned. If not provided, the current time
|
||||
will be used.
|
||||
|
||||
The automated backup config for an instance.
|
||||
|
||||
--automated-backup-config-mode=AUTOMATED_BACKUP_CONFIG_MODE
|
||||
The automated backup mode. If the mode is disabled, the other fields
|
||||
will be ignored. AUTOMATED_BACKUP_CONFIG_MODE must be one of:
|
||||
|
||||
disabled
|
||||
Automated backup config disabled.
|
||||
enabled
|
||||
Automated backup config enabled.
|
||||
|
||||
--automated-backup-config-retention=AUTOMATED_BACKUP_CONFIG_RETENTION
|
||||
How long to keep automated backups before the backups are deleted.
|
||||
The value should be between 1 day and 365 days. If not specified, the
|
||||
default value is 35 days.
|
||||
|
||||
--clear-automated-backup-config
|
||||
Set instance.automatedBackupConfig back to default value.
|
||||
|
||||
Arguments for the schedule.
|
||||
|
||||
This schedule allows the backup to be triggered at a fixed frequency
|
||||
(currently only daily is supported).
|
||||
|
||||
Represents a time of day. The date and time zone are either not
|
||||
significant or are specified elsewhere. An API may choose to allow
|
||||
leap seconds. Related types are [google.type.Date][google.type.Date]
|
||||
and google.protobuf.Timestamp.
|
||||
|
||||
--fixed-frequency-schedule-start-time-hours=FIXED_FREQUENCY_SCHEDULE_START_TIME_HOURS
|
||||
Hours of a day in 24 hour format. Must be greater than or equal
|
||||
to 0 and typically must be less than or equal to 23. An API may
|
||||
choose to allow the value "24:00:00" for scenarios like
|
||||
business closing time.
|
||||
|
||||
--fixed-frequency-schedule-start-time-minutes=FIXED_FREQUENCY_SCHEDULE_START_TIME_MINUTES
|
||||
Minutes of an hour. Must be greater than or equal to 0 and less
|
||||
than or equal to 59.
|
||||
|
||||
--fixed-frequency-schedule-start-time-nanos=FIXED_FREQUENCY_SCHEDULE_START_TIME_NANOS
|
||||
Fractions of seconds, in nanoseconds. Must be greater than or
|
||||
equal to 0 and less than or equal to 999,999,999.
|
||||
|
||||
--fixed-frequency-schedule-start-time-seconds=FIXED_FREQUENCY_SCHEDULE_START_TIME_SECONDS
|
||||
Seconds of a minute. Must be greater than or equal to 0 and
|
||||
typically must be less than or equal to 59. An API may allow
|
||||
the value 60 if it allows leap-seconds.
|
||||
|
||||
Cross instance replication config.
|
||||
|
||||
--clear-cross-instance-replication-config
|
||||
|
|
@ -520,6 +572,10 @@ FLAGS
|
|||
form of
|
||||
projects/{project_id}/global/networks/{network_id}.
|
||||
|
||||
port
|
||||
port will only be set for Primary/Reader or Discovery
|
||||
endpoint.
|
||||
|
||||
pscConnectionId
|
||||
The PSC connection id of the forwarding rule connected to
|
||||
the service attachment.
|
||||
|
|
@ -531,11 +587,11 @@ FLAGS
|
|||
|
||||
Shorthand Example:
|
||||
|
||||
--endpoints=connections=[{pscConnection={forwardingRule=string,ipAddress=string,network=string,pscConnectionId=string,serviceAttachment=string}}] --endpoints=connections=[{pscConnection={forwardingRule=string,ipAddress=string,network=string,pscConnectionId=string,serviceAttachment=string}}]
|
||||
--endpoints=connections=[{pscConnection={forwardingRule=string,ipAddress=string,network=string,port=int,pscConnectionId=string,serviceAttachment=string}}] --endpoints=connections=[{pscConnection={forwardingRule=string,ipAddress=string,network=string,port=int,pscConnectionId=string,serviceAttachment=string}}]
|
||||
|
||||
JSON Example:
|
||||
|
||||
--endpoints='[{"connections": [{"pscConnection": {"forwardingRule": "string", "ipAddress": "string", "network": "string", "pscConnectionId": "string", "serviceAttachment": "string"}}]}]'
|
||||
--endpoints='[{"connections": [{"pscConnection": {"forwardingRule": "string", "ipAddress": "string", "network": "string", "port": int, "pscConnectionId": "string", "serviceAttachment": "string"}}]}]'
|
||||
|
||||
File Example:
|
||||
|
||||
|
|
@ -565,6 +621,10 @@ FLAGS
|
|||
form of
|
||||
projects/{project_id}/global/networks/{network_id}.
|
||||
|
||||
port
|
||||
port will only be set for Primary/Reader or Discovery
|
||||
endpoint.
|
||||
|
||||
pscConnectionId
|
||||
The PSC connection id of the forwarding rule connected to
|
||||
the service attachment.
|
||||
|
|
@ -576,11 +636,11 @@ FLAGS
|
|||
|
||||
Shorthand Example:
|
||||
|
||||
--add-endpoints=connections=[{pscConnection={forwardingRule=string,ipAddress=string,network=string,pscConnectionId=string,serviceAttachment=string}}] --add-endpoints=connections=[{pscConnection={forwardingRule=string,ipAddress=string,network=string,pscConnectionId=string,serviceAttachment=string}}]
|
||||
--add-endpoints=connections=[{pscConnection={forwardingRule=string,ipAddress=string,network=string,port=int,pscConnectionId=string,serviceAttachment=string}}] --add-endpoints=connections=[{pscConnection={forwardingRule=string,ipAddress=string,network=string,port=int,pscConnectionId=string,serviceAttachment=string}}]
|
||||
|
||||
JSON Example:
|
||||
|
||||
--add-endpoints='[{"connections": [{"pscConnection": {"forwardingRule": "string", "ipAddress": "string", "network": "string", "pscConnectionId": "string", "serviceAttachment": "string"}}]}]'
|
||||
--add-endpoints='[{"connections": [{"pscConnection": {"forwardingRule": "string", "ipAddress": "string", "network": "string", "port": int, "pscConnectionId": "string", "serviceAttachment": "string"}}]}]'
|
||||
|
||||
File Example:
|
||||
|
||||
|
|
@ -616,6 +676,10 @@ FLAGS
|
|||
the form of
|
||||
projects/{project_id}/global/networks/{network_id}.
|
||||
|
||||
port
|
||||
port will only be set for Primary/Reader or Discovery
|
||||
endpoint.
|
||||
|
||||
pscConnectionId
|
||||
The PSC connection id of the forwarding rule connected
|
||||
to the service attachment.
|
||||
|
|
@ -627,11 +691,11 @@ FLAGS
|
|||
|
||||
Shorthand Example:
|
||||
|
||||
--remove-endpoints=connections=[{pscConnection={forwardingRule=string,ipAddress=string,network=string,pscConnectionId=string,serviceAttachment=string}}] --remove-endpoints=connections=[{pscConnection={forwardingRule=string,ipAddress=string,network=string,pscConnectionId=string,serviceAttachment=string}}]
|
||||
--remove-endpoints=connections=[{pscConnection={forwardingRule=string,ipAddress=string,network=string,port=int,pscConnectionId=string,serviceAttachment=string}}] --remove-endpoints=connections=[{pscConnection={forwardingRule=string,ipAddress=string,network=string,port=int,pscConnectionId=string,serviceAttachment=string}}]
|
||||
|
||||
JSON Example:
|
||||
|
||||
--remove-endpoints='[{"connections": [{"pscConnection": {"forwardingRule": "string", "ipAddress": "string", "network": "string", "pscConnectionId": "string", "serviceAttachment": "string"}}]}]'
|
||||
--remove-endpoints='[{"connections": [{"pscConnection": {"forwardingRule": "string", "ipAddress": "string", "network": "string", "port": int, "pscConnectionId": "string", "serviceAttachment": "string"}}]}]'
|
||||
|
||||
File Example:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue