名前
gdcloud backup repositories create - バックアップ リポジトリを作成します。
概要
gdcloud backup repositories create NAME [flags]
EXAMPLES
To create a backup repository "backup-repository-name" in a zone "us-east-1", run:
gdcloud backup repositories create backup-repository-name --zone=us-east-1 --project=project --s3-bucket-name=sample --s3-force-path=false --import-policy=ReadWrite
必須フラグ
--import-policy string Policy that determines whether this backup repository is read-only or read-write.
--project string Project that determines which project the associated s3 bucket was created.
--s3-bucket-name string Fully qualified name of the bucket.
--s3-force-path Set to force path style on S3 bucket name.
オプションのフラグ
--secret-reference-name string Name referencing the secret that contains access credentials for the endpoint.
--secret-reference-namespace string Unique name referencing the secret that contains access credentials for the endpoint.
--zone string Zone to use for this invocation. To preset the zone flag for all commands that require it, run: "gdcloud config set core/zone ZONE". The zone flag is available only in multi-zone environments.
GDCLOUD ワイドフラグ
これらのフラグは、すべてのコマンドで使用できます: --configuration、--format、--help、--project、--quiet。
詳細については、gdcloud CLI リファレンスの概要ページをご覧ください。