Oracle

Veeam Backup & Replication application-aware processing supports backup of virtual and physical machines running Oracle Database. Physical machines are protected with Veeam Agents managed by the backup server.

This page describes what happens “under the hood” during backup and restore. For job operational recommendations, see Operate > Applications > Oracle.

Note: Oracle Real Application Clusters (RAC) are not supported with image-level backup (System Requirements – Applications). For RAC, use the Veeam Plug-in for Oracle RMAN and see Design > Enterprise Plug-Ins.

Oracle backup workflow

Oracle on Linux backup workflow

  1. A coordination component that performs all necessary steps is deployed into the guest OS. This is either the non-persistent runtime component or the persistent guest agent, if Use persistent guest agent is enabled. It is the same component that is used for Linux application-aware processing in general.
  2. Application discovery is performed using native OS methods. /etc/oratab is parsed to get the Oracle SIDs and Oracle homes. The Oracle homes are used to locate oraInst.loc and the Oracle Inventory inventory.xml. Databases that aren’t listed in /etc/oratab aren’t discovered.
  3. The status and version of the instance(s) are fetched.
  4. Disk group information is retrieved for ASM instances.
  5. The log mode is identified. This information is used later to decide how the database has to be processed. Database files, CDB information (Oracle 12 and later) and the current DBID are retrieved.
  6. At this point all required information has been collected and Veeam starts the actual backup, modifying the database state. The online redo logs are archived and all archive log information is retrieved. This information is the starting point for the archived log backup (How Oracle Archived Log Backup Works).
  7. A PFILE is created from memory in the temporary folder (/tmp by default) and stored in the backup metadata.
  8. Additional information is collected and recorded: current DBID, SCN, sequence IDs, database unique name, domain, recovery file destination, basic listener information and current archive log.
  9. The coordination component is shut down and restarted to finalize the backup. The database (ARCHIVELOG mode) is put into backup mode (ALTER DATABASE BEGIN BACKUP), the snapshot is created, and the database is taken out of backup mode again (ALTER DATABASE END BACKUP).

Note: Databases in NOARCHIVELOG mode are closed and dismounted while the snapshot is created, then mounted and opened again. A backup of an open NOARCHIVELOG database isn’t valid from an Oracle perspective. To avoid the downtime, switch the database to ARCHIVELOG mode, which is also required for Oracle log backup. Alternatively, you can skip these databases with the OracleSkipNoArchiveLogDB setting (KB4350).

Oracle on Windows backup workflow

On Windows, Oracle homes and SIDs are discovered from the HKLM\SOFTWARE\ORACLE registry key. Behavior depends on the state of the Oracle VSS writer, the Oracle version and the database type.

Oracle version Oracle VSS writer running Oracle VSS writer not running Pluggable database (PDB)
Oracle 11gR2 Oracle VSS writer is engaged. NOARCHIVELOG databases are shut down and excluded from VSS processing. Same workflow as for Linux N/A
Oracle 12c and later Oracle VSS writer is engaged. NOARCHIVELOG databases are shut down and excluded from VSS processing. Same workflow as for Linux Same workflow as for Linux. The VSS writer is skipped.

Restore workflow

When you perform a restore, Veeam Explorer for Oracle goes through the following steps (How Restore Works):

  1. Validation: Veeam Explorer for Oracle validates the target machine.
    • On Windows, the non-persistent Veeam Oracle Restore Service is deployed to the target. For restores to a specific transaction, it is also deployed to the staging server.
    • On Linux, no component is deployed. All operations are performed over SSH.
  2. Mount preparation: The Veeam Mount Service on the mount server associated with the backup repository prepares the backup for mounting.
  3. Mount: The backup file system is mounted to the target (How Mounting Works).
    • Windows: over iSCSI to C:\VeeamFLR. The mount server acts as the iSCSI target.
    • Linux: with FUSE to /run/media.
  4. Copy: The database files and archived redo logs are copied from the mount to the native file system of the target. On Windows this is done by the Veeam Oracle Restore Service; on Linux, by Veeam Explorer for Oracle itself over SSH.
  5. Recover and start:
    • Latest state of the image-level restore point: The restored database is started from the copied files.
    • Point-in-time restore: The archived redo logs from the log backups are applied with RMAN up to the selected point in time (RECOVER ... UNTIL TIME/SCN). The database is then opened with RESETLOGS. Point-in-time restore requires archived log backups (Restoring Point-in-Time State).
    • Restore to a specific transaction: The staging server is used first to analyze the archived logs and list the transactions. The database is then recovered with RMAN to the moment before the selected transaction.
  6. Cleanup: Temporary files are removed and the backup file system is unmounted.

References

Backup

Restore

Related BP Guide pages


Back to top

Copyright © 2026 Solutions Architects, Veeam Software.