Download Trail Files

Starting with Oracle GoldenGate 23ai, you can download trail files to your local system. This might be required if you need to do additional analysis or you need more information for diagnostic purposes.

Within you local Oracle GoldenGate environment, you can use logdump to access the trail file records. See Using the LogDump Utility to Access Trail File Records.

To begin downloading trail files, you need to perform the following steps:
  1. Log in to the Administration Service.

  2. From the left navigation pane, click Trails to open the Trail page in the right pane. This page displays the Trails table that provides various details about the trail files, including the Extract (producer) and Replicat (consumer), last archived sequence number among others. You can monitor the trail file from this table.

  3. To download the trail file, click the Download icon from the Action column for the trail file that you want to download. The Download Trail Sequence dialog box is displayed. From this dialog box, you can specify a trail sequence number from where the trail file will be downloaded.

  4. After determining the required trail sequence number, enter the value in the Sequence Number box and click Submit.

The trail files are downloaded to the specified location at the host system from where the call is initiated.

Note:

You can download only one trail file at a time.
You can also use the cURL command to download the trail file:
curl -s -k -u ggma:**** --basic -o ea000000096\
      -H 'Accept: application/binary' \
      -X GET "https://north.oraclevcn.com:9200/services/v2/trails/ea/sequences/96?path=north"