The restore operation shuts down all the running servers, along with Node Manager, and replaces the domain homes with the backup.
The cluster size of the Oracle SOA Suite on Marketplace instance must be the same as the size of the domain backup. If the cluster size does not match, the restore is terminated with an error message.
Prerequisite: Enable backup and restore in the provisioning wizard or by editing the Oracle SOA Suite on Marketplace instance. See Enable Backup/Restore configuration in Provision an Oracle SOA Suite on Marketplace Instance in the Oracle Cloud Infrastructure Console.
To restore the domain home for all nodes in an Oracle SOA Suite on Marketplace instance cluster:
- Use the
sshcommand to connect to the Administration Server VM (as the
ssh -i private_key opc@AdminServerVM_IP_address
- Change to the
sudo su - oracle
- Retrieve the backup object name from the Oracle Cloud
Infrastructure Object Storage console:
Click the Actions icon for the backup file, then select View Object Details.
In the Basic Information pane, copy the name of the backup file.
- Run the restore script to initiate the domain home restore, responding to the
prompts for the WebLogic Server administration password, Node Manager password,
and backup object name that you retrieved in the previous step:
$ cd /opt/scripts/runbooks $ ./restore.sh Enter the weblogic admin password : Enter the weblogic nodemanager password : Do you want to start the servers after restore (yes/[no]) ?yes <Mar 08, 2023 01:41:52 PM GMT> <INFO> <file_utils.py> <(host:soampdemo-soa-0.mpsubnet.soacsvcn.oraclevcn.com) - Cannot delete the directory /u01/data/SOAMP_SOAMPDemo as it does not exist> Backup object name :