Restore a Service Instance
You can restore an Oracle Java Cloud Service instance from a backup using the REST API. The following procedure describes how to undo configuration changes for an existing service instance by using a backup to return the instance to a particular state.
Note:
-
On accounts that are integrated with Oracle Identity Cloud Service, the identity domain ID is the Identity Cloud Service tenant name. This tenant name begins with the characters
idcs-
followed by a string of number and letters (for example,idcs-98888f7964454b658ac6d2f625b29030
). Access the Oracle Identity Cloud Service Console in a browser to find the tenant name in the URL. You can also find the name when you sign in to your Oracle Cloud account, navigate to Identity and then select Federation. -
The cURL command examples use the URL structure
https://rest_server_url/resource-path
, whererest_server_url
is the REST server to contact for your identity domain. See Send Requests.
When you restore from a backup, you can also choose to reset the Oracle WebLogic Server and the JDK software to the versions that correspond to the official patch set update (PSU) level of the software that Oracle Java Cloud Service is currently running, or leave the versions unchanged.
Consider the following before you use a backup to restore an Oracle Java Cloud Service instance:
-
If you performed a scaling operation after the backup was created, the topology of the service instance and the topology of the backup might not be the same. The restore operation can automatically remove nodes that you added to the service instance after the backup was created. However, the restore operation cannot add missing nodes to the service instance that were removed after the backup was created.
-
If a database backup was included in the Oracle Java Cloud Service instance backup, note that restoration of the database files for the database deployment associated with the Oracle Java Cloud Service instance is not supported through the Oracle Java Cloud Service instance restore operation. You need to restore the database files separately. Depending on whether the database deployment is hosting a single-instance database or an Oracle Real Application Clusters (Oracle RAC) database, you use an RMAN tag or a timestamp of the associated database backup to restore the database files. The RMAN tag or timestamp is the
dbTag
value that is returned when you perform a GET request on the Oracle Java Cloud Service instance backup, as described in View a Backup. For example, to restore the database files for a Database Cloud Service database deployment, see Restoring from a Specific Backup or Restoring to a Specific Point in Time in Administering Oracle Database Cloud Service. -
If the backup was retired because the database schema password was changed after the backup was taken, you must provide the current schema password.
-
See About Backup and Restoration in Administering Oracle Java Cloud Service.
To restore an Oracle Java Cloud Service instance from a backup: