cancel
Showing results for 
Search instead for 
Did you mean: 

How to run a file system backup and then a sap policy type backup

Gilbert_Maranan
Level 2

Hi Everyone,

 Requirement:

We need to run 2nd policy after 1st backup successfully completed.

Note. 1st backup is file system backup (Policy type Standard)

          2nd backup is oraarch online backup (Policy type SAP)

is there a way that we can do this?

 

We want a file system backup on this director /oracle/orasid/oraarch after that run a online backup for automatic deletion.

 

Master Server: linux Rhel 64bit NBU 7.5.0.6

Media Server linux rhel 64 bit NBU 7.5.0.6

Client Server: AIX

Application: SAP

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Nicolai
Moderator
Moderator
Partner    VIP   

No directly using policies -  you can't create policy relations in Netbackup.

You can howver specify a Netbackup user initiated backup command in the SAP script to backup /oracle/orasid/oraarch

e.g  : bppbackup -p CLIENT_INITIATED -s oracle_files  /oracle/orasid/oraarch

Policy CLIENT_INITIATED need to have a schedule of type "user backup" in order to the command above to work.

View solution in original post

6 REPLIES 6

Michal_Mikulik1
Moderator
Moderator
Partner    VIP    Accredited Certified

Hello,

 

if I understand, you want to backup archive logs of Oracle-based SAP system.

But SAP policy should take care of everything including archive logs, no need to overcomplicate it with Standard policy.

 

Michal

Nicolai
Moderator
Moderator
Partner    VIP   

No directly using policies -  you can't create policy relations in Netbackup.

You can howver specify a Netbackup user initiated backup command in the SAP script to backup /oracle/orasid/oraarch

e.g  : bppbackup -p CLIENT_INITIATED -s oracle_files  /oracle/orasid/oraarch

Policy CLIENT_INITIATED need to have a schedule of type "user backup" in order to the command above to work.

sdo
Moderator
Moderator
Partner    VIP    Certified

Maybe you could do it using a "bpend_notify" script on the client, and when it runs with "current stream id"="max stream id" then get it to kick off a user mode SAP backup using "bpbackup".

Gilbert_Maranan
Level 2

Hi Everyone.

 

Thanks for the feedbacks.

 

We tried using online archived log backup using SAP policy the problem is when restoring. SAP required sequince number when restoring,  is there anyways to browse the archived log backup to check the sequence number? 

There is no SAP policy on Backup, Archived and restore on NBU gui right?

 

Please help.

 

 

Marianne
Level 6
Partner    VIP    Accredited Certified
Maybe your restore issue should be posted as a new discussion. I do not see how this is related to your backup query. Other than providing us with details of 'online backup for automatic deletion' as this will determine how restores must be done. Agent backups can only be restored from the client, not BAR GUI.

Nicolai
Moderator
Moderator
Partner    VIP   

All SAP operations - backup/restore and archiving need to be done using the BRTOOL package for SAP.

You should in no case use any other tools for managing SAP backups.

If SAP complains about the sequence of archive files, something is disrupting.