This is an archive version of the document. To get the most up-to-date information, see the current version.

How Oracle Transaction Log Backup Works

In this article

    The transaction logs backup for Oracle VMs is performed in the following way:

    1. Veeam Backup & Replication launches the parent backup job by schedule.
    2. The parent backup job creates an image-level backup of the Oracle VM and stores this backup to the backup repository.
    3. A new session of the transaction log backup starts. Veeam Backup & Replication accesses the VM guest OS to perform guest processing, collect database information and handle transaction log.

    If Oracle runs on a Microsoft Windows server, Veeam Backup & Replication accesses the VM guest OS via a guest interaction proxy. You can instruct Veeam Backup & Replication to select the guest interaction proxy automatically or assign it explicitly.

    By default, Veeam Backup & Replication accesses the VM guest OS over the network:

    • For Linux VM guest OS — using SSH.
    • For Microsoft Windows VM guest OS — using RPC.
    • If a network connection cannot be established, Veeam Backup & Replication accesses the VM guest OS using VIX.
    1. Veeam Backup & Replication deploys the runtime process in the VM guest OS. The runtime process scans the Oracle system and collects information about databases whose logs must be processed, including:
    • List of all databases
    • Database state — a database is on or off, in which logging mode it runs
    • Paths to all database files (configuration logs and so on) and other data required for backup

    Veeam Backup & Replication also detects whether it is possible to store logs to the backup repository through a direct access or a log shipping server is required.

    The runtime process copies transaction log files from the log archive destination (set by the Oracle administrator) to a temporary folder on the VM guest file system.

    1. Veeam Backup & Replication maps information about the Oracle system collected at step 4 with information kept in the configuration database. This periodic mapping helps reveal databases for which Veeam Backup & Replication must ship transaction logs to the backup repository during this time interval.
    1. Transaction log backup files are transferred from the temporary location on the Oracle VM to the backup repository, either directly or via the log shipping server. The source-side Veeam Data Mover compresses log data to be transferred according to its built-in settings. On the backup repository side, data is compressed according to the parent backup job settings.

    If in the backup job settings you have specified that you want to delete archived transaction log backups from the VM guest OS, Veeam Backup & Replication will delete them from the temporary folder on the Oracle VM.

    Transaction logs that for some reason were not processed during the log backup interval remain in the temporary folder and are processed during the next log backup interval. To detect these remaining logs, Veeam Backup & Replication enumerates log files in the temporary folder.

    How Oracle Transaction Log Backup Works Note:

    If a new session of the transaction log backup starts and the parent backup job has not created a new restore point yet, the transaction log backup job will remain in the idle state, waiting for a new restore point to be created.

    How Oracle Transaction Log Backup Works