Cannot Run Oracle Audit Vault Backup As User Oracle

(Doc ID 2278768.1)

Last updated on JUNE 26, 2017

Applies to:

Oracle Audit Vault and Database Firewall - Version 12.2.0.0 and later
Information in this document applies to any platform.

Goal

Following Oracle Audit Vault and Database Firewall Administrator's Guide 12.2, Step 3: Validate the Backup
In this section, Step 2 says to "switch to user oracle"
When I execute Step 3 and issue the command /var/lib/oracle/dbfw/bin/avbackup validate
I get message:
Backup/Restore requires root privileges.
Please log on as root and re-issue the command.

Further, if I try to run the command /var/lib/oracle/dbfw/bin/avbackup restore as user root, I get permission denied errors on reading the backup set.

Note: I am using an NFS export as my backup destination.

So I am left in a dilemma, only user oracle has permission on the backup files, and only root has permission to run the avbackup script. What is the recommended procedure to remedy this situation? Currently, I am running the scripts as root, but switching to oracle to issue a chmod command on the backup files.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms