Skip to main content

How to Access Oracle dSource Archive Logs from the Delphix Appliance (KBA5482)




KBA# 5482



At times, it may be necessary to retrieve/restore the archivelogs of an Oracle dSource for a number of reasons, including but not limited to, recovery of a production database.  The method described below will allow access to a copy of the dSource's current ingested archives logs which will be shared and mounted to a target server using NFS.  Currently the dSource archivelogs are only shared during provisioning from a snapshot of the dSource, to a filesystem (/provision-mount-point/source-archive).  The time this filesystem is available is dependent on the length of the recovery of the VDB, which in most instances will not be sufficient for copying the needed archive logs from this location.


You must have a target Oracle environment compatible with the version of the Oracle dSource ingested.

Applicable Delphix Versions

Click here to view the versions of the Delphix engine to which this article applies
Major Release All Sub Releases
5.0,,,,,,,,, ,,,,,
4.2,,,,,,, ,,


Select the latest dSource Snapshot and provision to a compatible Target Environment specifying a "Pre Start" Hook Point during the Provision workflow.  For example:

Screen Shot 2020-02-18 at 12.22.05 PM.png

In this example, a "Pre Start" Hook script called "Archive Log Retrieval" is created with the following script contents:

sleep 3600
exit 1

Please note, the argument to sleep is in seconds, so in this example, 3600 = 1 hour and should be modified for the length of time you think you will need to have access to the source-archive filesystem to copy the archivelog files off to a new location.   Once the limit configured by sleep has been reached, the script will exit with an exit code of 1 causing the VDB provision job to fail and rendering the VDB to be invalid/unstartable. At this point, the VDB can be removed from the Delphix Appliance.