Backup of Restored Instance Failed
In some instances, running a backup of a restored instance failed.
Workaround:
Note:
These steps are used when running an incremental backup (of a restore instance) using run-backup.sh script. The workaround steps are not required if the backup was initially run manually using expdp command.- Go to the OCI console and get attached data block volume OCID.
- ssh to Essbase VM and change user to oracle.
- Edit the following:
/u01/vmtools/scripts/essbase/environ.py - Replace the code:
def get_data_volume_id(self):return self._instance_metadata["metadata"]["volumes"]["data"]["id"]with the following:
def get_data_volume_id(self):return "OCID from step one" - Run run-backup.sh script.