Moving a Replication Schedule Between Compartments

Move a replication schedule from one compartment to another.

    1. Open the navigation menu and click Migration & Disaster Recovery. Under Cloud Migrations, click Migrations.
    2. Click Replication schedules.
    3. On the Replication schedules page, click the Actions menu to the right of the schedule that you want to move and select Move resource.
    4. In the Move resource dialog box, select the destination compartment, and click Move resource.
  • To move a required replication schedule to a different compartment , use the change-compartment command with the required parameters.

    oci cloud-migrations replication-schedule change-compartment --compartment-id target_compartment_ID --replication-schedule-id replication_schedule_ID [OPTIONS]

    The required parameters for the change-compartment command are:

    --compartment-id, -c: Specifies the OCID of the compartment into which the replication schedule must be moved. You can also use the -c option instead of --compartment-id.

    --replication-schedule-id: Specifies the unique identifier for the required replication schedule.

    To get all the commands for replication-schedule, run:

    oci cloud-migrations replication-schedule -h

    To get help for the change-compartment command, run:

    oci cloud-migrations replication-schedule change-compartment -h

    For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.

  • To move a required replication schedule to a different compartment, use the ChangeReplicationScheduleCompartment operation.