From an Exported Project

If you’ve created a project before and backed up its data to an OCI Object Storage bucket or an OCI Object Storage Classic container, you can create a project and import the data from the backed up project.

To import project data from an OCI Object Storage bucket or OCI Object Storage Classic container, you need this information:

OCI Object Storage OCI Object Storage Classic
Target bucket's name Target container's name
Exported archive file's name Exported archive file's name
Private key and user's fingerprint (user who has the BUCKET_INSPECT or BUCKET_READ, and OBJECT_READ bucket permissions) User credentials with the Storage.Storage_Administrator or Storage_ReadOnlyGroup identity domain role.
Details for the compartment hosting the bucket

Contact the OCI administrator for the details and get the required input values.

OCI Object Storage Classic service ID and authorization URL

Contact the identity domain administrator or the OCI Object Storage Classic administrator for the details and get the required input values.

After you have all the required input values, import the project:

  1. On the Organization page, click + Create.
  2. On the New Project wizard's Project Details page, in Name and Description, enter a unique project name and a project description.
  3. In Security, select the project's privacy setting:
    1. Select Private to restrict access to project members only.

      Select the Discoverable checkbox to allow organization members that aren't org admins or project members to see basic information, such as name and owner contact information, about your private project. Private projects that aren't discoverable won't be exposed to non-members.

    2. Select Shared to make the project code, wiki docs, tasks, and builds available to anyone inside your organization.
  4. Click Next.
  5. On the Template page, select Import Project, and click Next.
  6. To import the project from an OCI Object Storage bucket, in the Project Properties page's Storage Connection section, in Account Type, select OCI and enter the required details:
    1. In Tenancy OCID, enter the tenancy's OCID copied from the Tenancy Details page.
    2. In User OCID, enter the user's OCID value (for a user that can access the bucket).
    3. In Home Region, select the OCI account's home region.
    4. In Private Key, enter the user's private key (for a user who can access the bucket).
    5. In Passphrase, enter the passphrase used to encrypt the private key. If a passphrase wasn't used, leave the field empty.
    6. In Fingerprint, enter the private-public key pair's fingerprint value.
    7. In Compartment OCID, enter the compartment's OCID copied from the Compartments page.
    8. In Storage Namespace, enter the storage namespace copied from the Tenancy Details page.

    Note:

    If the project administrator selected the Remember checkbox when the OCI storage connection was established during a previous export operation, the credential fields in this step will automatically be populated with the saved data. See step 14 in Export Project Data to an OCI Object Storage Bucket.
  7. To import the project from an OCI Object Storage Classic container, in Account Type, select OCI Classic. Then, enter the required details:
    1. In Service ID, enter the value copied from the last part of the REST Endpoint URL field on the Service Details page.
      For example, if REST Endpoint URL's value is https://demo12345678.storage.oraclecloud.com/v1/Storage-demo12345678, enter Storage-demo12345678.
    2. In Username and Password, enter the user credentials for a user who can access the archive file.
    3. In Authorization URL, enter the URL copied from the Service Details page's Auth V1 Endpoint field:
      http://storagetria01234-usoracletria12345.storage.oraclecloud.com/auth/v1.0.
  8. Click Next.
  9. On the Project Properties page, from Wiki Markup, select the project’s wiki markup language.
    Project team members use the markup language to format wiki pages and comments.
  10. In Container, select the storage bucket or the container where the data was exported.
  11. In File, select the exported file.
  12. Click Next.
  13. On the Team page:
    1. Click Add Members and select users or groups to add to the project, from the list displayed, if you know they may work in this project.
    2. Select the membership (Project Owner, Developer Full Access, Developer Limited Access, or Contributor) that the members you're adding will have in the project:
      See What Are Project Memberships? for more information about each membership.
    3. Click Add.
    4. Repeat substeps a, b, and c for different users and groups with various membership types, if needed.
  14. Click Finish.

If the import fails, an empty project will be created. You can try to import the data again without creating a project. To check the import log, under Project Settings, in the Data Export/Import page's History tab.