Getting S3 bucket replication
Get a replication configuration for a bucket.
Before you begin
- A running IBM Storage Ceph 9.9.09.9.1 cluster with Multi-site Ceph object Gateway configured. For more information on creating multi-site sync policies, see Creating a sync policy group.
- Zonegroup-level policy is created. For more information on creating zone group policies, see Bucket granular sync policies.
- An S3 bucket replication created.
About this task
You can retrieve the replication configuration of the bucket.
Procedure
Get the S3 API put bucket replication.
aws s3api get-bucket-replication --bucket BUCKET_NAME --endpoint-url=RADOSGW_ENDPOINT_URL
For example,
[root@host01 ~]# aws s3api get-bucket-replication --bucket testbucket --endpoint-url=http://host01:80
{
"ReplicationConfiguration": {
"Role": "",
"Rules": [
{
"ID": "pipe-bkt",
"Status": "Enabled",
"Priority": 1,
"Destination": {
"Bucket": "testbucket"
}
}
]
}
}