# tigris buckets migrate

Actively migrate all objects from a shadow bucket to Tigris by scheduling server-side migration for unmigrated objects. Pairs with [`set-migration`](/docs/cli/buckets/set-migration/.md), which configures the shadow source.

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

```
tigris buckets migrate <path> [flags]

t3 b migrate <path> [flags]
```

`<path>` is a bucket name, optionally with a key prefix. When a prefix is given, only objects under that prefix are migrated. Paths accept the optional `t3://` (or `tigris://`) scheme.

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

| Name                 | Required | Default | Description                                                                                      |
| -------------------- | -------- | ------- | ------------------------------------------------------------------------------------------------ |
| `--max-in-flight-gb` | No       | `50`    | Maximum total gigabytes of scheduled-but-unconfirmed migrations to keep in flight. Accepts 1–100 |

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

```
# Migrate every unmigrated object in the bucket

tigris buckets migrate my-bucket



# Keep less data in flight on a slow source

tigris buckets migrate my-bucket --max-in-flight-gb 10



# Migrate only objects under a prefix

tigris buckets migrate my-bucket/images/



# Using the t3:// scheme

tigris buckets migrate t3://my-bucket/prefix/
```
