mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 10:35:03 +00:00
105 lines
3.9 KiB
Text
105 lines
3.9 KiB
Text
NAME
|
|
gcloud lustre instances export-data - exports data from Managed Lustre
|
|
instance to Cloud Storage
|
|
|
|
SYNOPSIS
|
|
gcloud lustre instances export-data (INSTANCE : --location=LOCATION)
|
|
--gcs-path-uri=GCS_PATH_URI [--async] [--lustre-path=LUSTRE_PATH]
|
|
[--request-id=REQUEST_ID] [--service-account=SERVICE_ACCOUNT]
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
Exports data from Managed Lustre instance to Cloud Storage.
|
|
|
|
EXAMPLES
|
|
To export data from my-instance to gs://my-bucket storage run:
|
|
|
|
$ gcloud lustre instances export-data my-instance \
|
|
--location=us-central-a --gcs-path-uri=gs://my-bucket \
|
|
--lustre-path='/path/to/lustre/dir'
|
|
|
|
POSITIONAL ARGUMENTS
|
|
Instance resource - The name of the Managed Lustre instance. 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.
|
|
|
|
REQUIRED FLAGS
|
|
--gcs-path-uri=GCS_PATH_URI
|
|
The URI to a Cloud Storage bucket, or a path within a bucket, using the
|
|
format gs://<bucket_name>/<optional_path_inside_bucket>/. If a path
|
|
inside the bucket is specified, it must end with a forward slash (/).
|
|
|
|
OPTIONAL FLAGS
|
|
--async
|
|
Return immediately, without waiting for the operation in progress to
|
|
complete.
|
|
|
|
--lustre-path=LUSTRE_PATH
|
|
The root directory path to the Managed Lustre file system. Must start
|
|
with /. Default is /. If you're importing data into Managed Lustre, any
|
|
path other than the default must already exist on the file system.
|
|
|
|
--request-id=REQUEST_ID
|
|
UUID to identify requests.
|
|
|
|
ServiceAccount resource - User-specified service account used to perform
|
|
the transfer. If unspecified, the Managed Lustre service agent is used.
|
|
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 --service-account on the command line with a
|
|
fully specified name;
|
|
◆ provide the argument --project on the command line;
|
|
◆ set the property core/project.
|
|
|
|
--service-account=SERVICE_ACCOUNT
|
|
ID of the serviceAccount or fully qualified identifier for the
|
|
serviceAccount.
|
|
|
|
To set the service-account attribute:
|
|
▸ provide the argument --service-account 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 lustre/v1 API. The full documentation for this API
|
|
can be found at: https://cloud.google.com/managed-lustre/
|
|
|
|
NOTES
|
|
This variant is also available:
|
|
|
|
$ gcloud alpha lustre instances export-data
|
|
|