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.
  1. Go to the OCI console and get attached data block volume OCID.
  2. ssh to Essbase VM and change user to oracle.
  3. Edit the following:
    /u01/vmtools/scripts/essbase/environ.py
  4. 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"
  5. Run run-backup.sh script.