cancel
Showing results for 
Search instead for 
Did you mean: 

Logging in BPBKAR by the client

Rene_Verhaeghe
Level 3

Wa have a SAN server, being a client and a media server at same time. Backups are either the system file backups, initialted by the master server and client-initiated Oracle backup via RMAN.

The log file directory bpbkar has been created and contain a log for every day.

In the log file, I can only find log data for the file system backups, none for the Oracle RMAn initiated backups.

RMAn backups are the only one initiated by the client. All other are created by the master server scheduler.

Is the fact that I can't see the log for RMAN backups linked to the way Oracle RMAn works, or because it is a client initiated backup ?

Is it possible to add the log data in the log file ?

1 ACCEPTED SOLUTION

Accepted Solutions

Nicolai
Moderator
Moderator
Partner    VIP   

create the directory bphdb and dbclient in the logs directory

If take a look at the file README.debug, you can read about all the diffrent debug directories possible

Cut and pate from the README.debug file 

       bphdb
                -program used to start obackup to do Oracle database backups
        bpdb2
                -log for the DB2 Extension clients
        dbclient
                -log for the DB Extension clients
        infxbsa
                -log for the Informix Extension clients
        tar
                -program used on standard clients to restore backup images
        bp
                -menu user interface for backups, archives, and restores
        bpadm
                -menu user interface for administrative tasks
        bpdbsbdb2
                -command-line program used to initiate template based
                 user-directed DB2 backup and recovery
                -enables generation of a shell script from a template for DB2
        bpdbsbora
                -command-line program used to initiate template based
                 user-directed backup and recovery
                -enables generation of a shell script from a template
        bporaexp
                -command-line program on clients to export Oracle
                 data in XML format
                -communicates with bprd on server
        bporaexp64
                -64-bit command-line program on clients to export Oracle
                 data in XML format
                -communicates with bprd on server
        bporaimp
                -command-line program on clients to import Oracle
                 data in XML format
                -communicates with bprd on server
        bporaimp64
                -64-bit command-line program on clients to import Oracle
                 data in XML format
                -communicates with bprd on server

View solution in original post

7 REPLIES 7

Nicolai
Moderator
Moderator
Partner    VIP   

create the directory bphdb and dbclient in the logs directory

If take a look at the file README.debug, you can read about all the diffrent debug directories possible

Cut and pate from the README.debug file 

       bphdb
                -program used to start obackup to do Oracle database backups
        bpdb2
                -log for the DB2 Extension clients
        dbclient
                -log for the DB Extension clients
        infxbsa
                -log for the Informix Extension clients
        tar
                -program used on standard clients to restore backup images
        bp
                -menu user interface for backups, archives, and restores
        bpadm
                -menu user interface for administrative tasks
        bpdbsbdb2
                -command-line program used to initiate template based
                 user-directed DB2 backup and recovery
                -enables generation of a shell script from a template for DB2
        bpdbsbora
                -command-line program used to initiate template based
                 user-directed backup and recovery
                -enables generation of a shell script from a template
        bporaexp
                -command-line program on clients to export Oracle
                 data in XML format
                -communicates with bprd on server
        bporaexp64
                -64-bit command-line program on clients to export Oracle
                 data in XML format
                -communicates with bprd on server
        bporaimp
                -command-line program on clients to import Oracle
                 data in XML format
                -communicates with bprd on server
        bporaimp64
                -64-bit command-line program on clients to import Oracle
                 data in XML format
                -communicates with bprd on server

Marianne
Level 6
Partner    VIP    Accredited Certified

Yes. bpbkar is for file-level backups only.

Logging for Oracle backups is described in NetBackup for Oracle Administrator's Guide  in Troubleshooting section.

Most important log is dbclient (there is a list in the manual - best to have them all).

Another important fact about agent logs is that the (Oracle) user that runs the backup must have write permission to the log folders.
You will see that the manual says to run 'chmod 777 <folder-name>'
 

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

or in Simple words..

bpbkar log only capture the log of FS backups.. not DB backups..

for DB backups, respective DB log directoreis needs to created as mectioned by Nicolai.

Rene_Verhaeghe
Level 3

Thanks for the data. I will implement that next week.

Rene_Verhaeghe
Level 3

Thanks for the very quick and complete answer.

Marianne
Level 6
Partner    VIP    Accredited Certified

No please - you have not solved your own query.

Please clear the solution for your own post and mark Solution for a post that has answered your query.

My suggestion is that you mark Nicolai's post.

Mark_Solutions
Level 6
Partner Accredited Certified

It would be good if you would mark the answer(s) that helped you as the solution rather than your own comment .. this gives credit to those who helped you and directs others looking for a similar issue to the solution

Thanks