gcloud looker instances export

NAME
gcloud looker instances export - export a Looker instance
SYNOPSIS
gcloud looker instances export(INSTANCE :--region=REGION)--kms-key=KMS_KEY--target-gcs-uri=TARGET_GCS_URI[GCLOUD_WIDE_FLAG]
DESCRIPTION
This command can fail for the following reasons:
  • The instance specified does not exist.
  • The active account does not have permission to access the given instance.
  • The Google Cloud Storage bucket does not exist.
EXAMPLES
To export an instance with the namemy-looker-instance in thedefault region, run:
gcloudlookerinstancesexportmy-looker-instance--target-gcs-uri='gs://bucketName/folderName'--kms-key='projects/my-project/locations/us-central1/keyRings/my-key-ring/cryptoKeys/my-key'

Note that the kms-key flag should be the full name of the kms key.

POSITIONAL ARGUMENTS
Instance resource - Arguments and flags that specify the Looker instance youwant to export. The arguments in this group can be used to specify theattributes of this resource. (NOTE) Some attributes are not given arguments inthis group but can be set in other ways.

To set theproject attribute:

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

This must be specified.

INSTANCE
ID of the instance or fully qualified identifier for the instance.

To set theinstance attribute:

  • provide the argumentinstance on the command line.

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

--region=REGION
The region of the instance.

To set theregion attribute:

  • provide the argumentinstance on the command line with a fullyspecified name;
  • provide the argument--region on the command line.
REQUIRED FLAGS
Key resource - The Cloud KMS (Key Management Service) cryptokey that will beused to protect the Looker instance and backups. The 'Looker Service Agent'service account must hold role 'Cloud KMS CryptoKey Encrypter'. The arguments inthis group can be used to specify the attributes of this resource.

This must be specified.

--kms-key=KMS_KEY
Fully qualified identifier (name) for the key.
Export Destination - The path and storage where the export will be stored.

This must be specified.

--target-gcs-uri=TARGET_GCS_URI
The path to the folder in Google Cloud Storage where the export will be stored.The URI is in the formgs://bucketName/folderName. The LookerService Agent should have the role Storage Object Creator.
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.

NOTES
This variant is also available:
gcloudalphalookerinstancesexport

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.