MinIO
2024-11-17
Bucket replication to remote MinIO instance
Use mcli
to create aliases for the local and remote instances.
mcli alias set nas-local http://localhost:9000 username password
mcli alias set nas-remote http://ip.addr:9000 username password
Add configuration rule on source bucket for nas-local to nas-remote to replicate all operations in an active-active replication setup.
mcli replicate add nas-local/sourcebucket --remote-bucket nas-remote/targetbucket --priority 1
Show replication status.
mcli replicate status nas-local/sourcebucket