Listing the Object Storage Replication Policy

View a list the replication policy for an Object Storage bucket.

    1. On the Buckets list page, select the Object Storage bucket that you want to work with. If you need help finding the list page or the bucket, see Listing Buckets.
    2. On the details page, select Policies and find the Replication policy (Source) section.
      The replication policy for the selected bucket is displayed in a table.
    3. To view the Object Storage replication policy in a different compartment, use the Compartment filter to switch compartments.

      You must have permission to work in a compartment to see the resources in it. If you're not sure which compartment to use, contact an administrator. For more information, see Understanding Compartments.

    Actions

    To perform an action on the Object Storage replication policy directly from the list table, select an available option from the Actions menu in the row for that Object Storage replication policy:

    To create a Object Storage replication policy, select Create policy.

    Note

    A source bucket can only have one replication policy.
  • 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 ListReplicationPolicies operation to list the replication policies for a bucket: