Skip to main content

tigris buckets set-migration

Configure data migration from an external S3-compatible source bucket. Tigris will pull objects on demand from the source.

Usage

tigris buckets set-migration <name> [flags]
t3 b set-migration <name> [flags]

Flags

NameRequiredDefaultDescription
--bucketYes*Name of the source bucket to migrate from
--endpointYes*Endpoint URL of the source S3-compatible service
--regionYes*Region of the source bucket
--access-keyYes*Access key for the source bucket
--secret-keyYes*Secret key for the source bucket
--write-throughNoEnable write-through mode (writes go to both source and Tigris)
--disableNoDisable migration and clear all migration settings

* Required unless --disable is used.

Examples

# Set up migration from an S3 bucket
tigris buckets set-migration my-bucket \
--bucket source-bucket \
--endpoint https://s3.amazonaws.com \
--region us-east-1 \
--access-key AKIA... \
--secret-key wJal...

# Enable write-through mode
tigris buckets set-migration my-bucket \
--bucket source-bucket \
--endpoint https://s3.amazonaws.com \
--region us-east-1 \
--access-key AKIA... \
--secret-key wJal... \
--write-through

# Disable migration
tigris buckets set-migration my-bucket --disable