11-27-2015 01:07 AM
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
Solved! Go to Solution.
11-27-2015 01:43 AM
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.
11-27-2015 01:32 AM
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
11-27-2015 01:43 AM
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.
11-27-2015 11:23 AM
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".
11-30-2015 07:42 PM
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.
12-01-2015 12:30 AM
12-07-2015 07:06 AM
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.