35 lines
1.2 KiB
YAML
35 lines
1.2 KiB
YAML
- release_tracks: [GA, BETA, ALPHA]
|
|
command_type: GENERIC
|
|
help_text:
|
|
brief: Export data from a Memorystore Redis instance to Google Cloud Storage.
|
|
description: |
|
|
Export data from a Memorystore Redis instance to Google Cloud Storage.
|
|
examples: |
|
|
To export the instance with the name `my-redis-instance` in region
|
|
`us-central1` to Cloud Storage object
|
|
gs://my-bucket/my-redis-instance.rdb run:
|
|
|
|
$ {command} gs://my-bucket/my-redis-instance.rdb my-redis-instance --region=us-central1
|
|
|
|
arguments:
|
|
resource:
|
|
spec: !REF googlecloudsdk.command_lib.redis.resources:instance
|
|
help_text: |
|
|
Arguments and flags that specify the Memorystore Redis instance you want
|
|
to export.
|
|
params:
|
|
- arg_name: destination
|
|
api_field: exportInstanceRequest.outputConfig.gcsDestination.uri
|
|
help_text: |
|
|
The Cloud Storage object path to export the instance to. Must have
|
|
the redis DB file extension *.rdb*.
|
|
is_positional: true
|
|
|
|
async:
|
|
collection: redis.projects.locations.operations
|
|
|
|
request:
|
|
collection: redis.projects.locations.instances
|
|
api_version: v1
|
|
method: export
|