Getting a Replication Policy's Details

View the details of the replication policy for an Object Storage bucket.

    1. Open the navigation menu and click Storage. Under Object Storage & Archive Storage, click Buckets.
    2. Select the compartment from the list under List Scope. All buckets in that compartment are listed in tabular form.
    3. Click the bucket for whose replication policy's details you want to get. The bucket's Details page appears.
    4. Click Replication Policy under Resources. The Replication Policy (Source) list appears.

    The Replication Policy list displays the details of the replication policy, including its destination region, destination bucket, and the time of the last replication.

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

    oci os replication get-replication-policy --bucket-name bucket_name --replication-id replication_policy_id [OPTIONS]

    For example:

    oci os replication get-replication-policy --bucket-name MySourceBucket --replication-id bacb8334-b191-4026-aa65-5e4f5165ae3e
    {
      "data": {
        "destination-bucket": "MyDestinationBucket",
        "destination-region": "us-ashburn-1",
        "id": "bacb8334-b191-4026-aa65-5e4f5165ae3e",
        "name": "MyReplicationPolicy",
        "status": "ACTIVE",
        "status-message": "The policy is active.",
        "time-created": "2020-02-06T16:44:10+00:00",
        "time-last-sync": "2020-02-06T16:49:40+00:00"
      }
    }

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

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