Moving a Project Between Compartments

Move a project in Data Science to a different compartment.

For example, you might want to move a project to promote it from a development compartment to production compartment, or you could change the visibility of the project.

When you move a project, none of its notebook sessions or models move to the new compartment.

    1. Use the Console to sign in to a tenancy with the necessary policies.
    2. Open the navigation menu and click Analytics & AI. Under Machine Learning, click Data Science.
    3. Select the compartment that contains the projects that you want to move.

      All projects in the compartment are listed.

    4. Click the name of the project.

      The project details page opens and lists the notebook sessions.

    5. Click Move resource
    6. Select the new compartment, and then click Move resource.
    A notification is displayed indicating that the project is moved to the new compartment successfully. You might notice the project status change to Moving. After the move is completed successfully, the project status changes back to Active.
  • Use the oci data-science project change-compartment command and required parameters to change the compartment:

    oci data-science project change-compartment --compartment-id <compartment-id>.-c [<text>].. [OPTIONS]

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

  • Use the ChangeProjectCompartment operation to change the compartment for the project.