gcloud memorystore backup-collections backups export

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:
gcloudmemorystorebackup-collectionsbackupsexport
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 thisresource. (NOTE) Some attributes are not given arguments in this group but canbe set in other ways.

To set theproject attribute:

  • provide the argumentbackup on the command line with a fullyspecified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

BACKUP
ID of the backup or fully qualified identifier for the backup.

To set thebackup attribute:

  • provide the argumentbackup on the command line.

This positional argument must be specified if any of the other arguments in thisgroup are specified.

--backup-collection=BACKUP_COLLECTION
The backupCollection id of the backup resource.

To set thebackup-collection attribute:

  • provide the argumentbackup on the command line with a fullyspecified name;
  • provide the argument--backup-collection on the command line.
--location=LOCATION
The location id of the backup resource.

To set thelocation attribute:

  • provide the argumentbackup on the command line with a fullyspecified 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 thememorystore/v1 API. The full documentationfor this API can be found at:https://cloud.google.com/memorystore/
NOTES
These variants are also available:
gcloudalphamemorystorebackup-collectionsbackupsexport
gcloudbetamemorystorebackup-collectionsbackupsexport

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.