# tigris buckets set-locations

Set the data locations for a bucket.

## Usage[​](#usage "Direct link to Usage")

```
tigris buckets set-locations <name> [flags]

t3 b set-locations <name> [flags]
```

## Flags[​](#flags "Direct link to Flags")

| Name                | Required | Default | Description     |
| ------------------- | -------- | ------- | --------------- |
| `--locations`, `-l` | Yes      | —       | Bucket location |

## Examples[​](#examples "Direct link to Examples")

```
# Set a single location

tigris buckets set-locations my-bucket --locations iad



# Set multiple locations

tigris buckets set-locations my-bucket --locations iad,fra



# Set to global

tigris buckets set-locations my-bucket --locations global
```

note

A location change applies to new writes only. Tigris does not move existing objects to the new locations. If you overwrite an existing object, Tigris writes the new version to the current locations of the bucket.
