## NAME

gdcloud backup repositories update - update a backup repository.

## SYNOPSIS

```text
gdcloud backup repositories update BACKUP_REPOSITORY_NAME [flags]
```

### EXAMPLES

```text
To update a backup repository "backup-repository-name" in a zone "us-east-1", run:

    gdcloud backup repositories update backup-repository-name --zone=us-east-1 --project=project --s3-bucket-name=sample --s3-force-path=false --import-policy=ReadWrite
```

### REQUIRED FLAGS

```text
      --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, which can be found from the status of the GDC bucket custom resource.
      --s3-force-path           Set to force path style on S3 bucket name.
```

### OPTIONAL FLAGS

```text
      --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 WIDE FLAGS

These flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.

For more information, see the [gdcloud CLI reference overview](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/resources/gdcloud-reference/gdcloud.md.txt) page.