Listing Replication Sources for an Object Storage Bucket

View a list of replication sources for an Object Storage replication destination bucket.

  • This task can't be performed using the OCI Console.

  • Use the oci os replication list-replication-sources command and required parameters to list the sources of a replication policy for an Object Storage replication destination bucket:

    oci os replication list-replication-sources --bucket-name bucket_name [OPTIONS]

    If you're replicating to a destination bucket in a different region, include the region parameter and the region identifier. For example:

    For example:

    oci os replication list-replication-sources --namespace MyNamespace --bucket-name MyDestinationBucket --region us-ashburn-1
    {
      "data": [
        {
          "policy-name": "MyReplicationPolicy",
          "source-bucket": "MySourceBucket",
          "source-region": "us-phoenix-1"
        }
      ]
    }

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the ListReplicationSources operation to get the details of a replication policy for an Object Storage bucket.