Moving a Metastore

Move a metastore from one compartment to another.


Before moving the metastore, review its usage in other services. The new compartment name must be available to the service accessing this metastore.
    1. On the Data Catalog service page, click Metastores.
    2. On the Metastores page, click the name of the metastore that you want to move.
    3. On the metastore details page, click Move resource.
    4. In the Move resource dialog box, select the new compartment and click Move resource.
  • Use the change-compartment command and required parameters to move the metastore to a different compartment.

    oci data-catalog metastore change-compartment [OPTIONS]

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

  • Run the ChangeMetastoreCompartment operation to move the metastore to a different compartment.