04-17-2019 01:12 AM
Hi Team,
VERSION NetBackup 8.1.1
HARDWARE LINUX_RH_X86
This is related to RMAN backup.
Can we add both schedule (Full and differential) under one policy?
can we add both schedule (full and differential) under one script and use in policy? If yes, can you guys please share sample script
Solved! Go to Solution.
04-17-2019 03:51 AM
Yes you can.
A sample script is already on the client at
/usr/openv/netbackup/ext/db_ext/oracle/samples/rman
And the file you need
hot_database_backup.sh
Cumulative and differential schedules set NB_ORA_CINC and NB_ORA_INCR respectively to 1. NB_ORA_FULL is set to 1 by the full backup schedule.
All can be in one policy pointing to the same script.
04-17-2019 01:25 AM
Best to config Intelligent Policies for Oracle. This will allow you to config Full and Incr backups in the same policy.
Details in NetBackup for Oracle Administrator's Guide
04-17-2019 01:28 AM
Thanks Marianne, but the customer needs backup through script only not through OIP.
04-17-2019 03:51 AM
Yes you can.
A sample script is already on the client at
/usr/openv/netbackup/ext/db_ext/oracle/samples/rman
And the file you need
hot_database_backup.sh
Cumulative and differential schedules set NB_ORA_CINC and NB_ORA_INCR respectively to 1. NB_ORA_FULL is set to 1 by the full backup schedule.
All can be in one policy pointing to the same script.
04-17-2019 12:59 PM
Since Oracle RMAN polices have two schedule - Parent and Child, be careful if you need multiple retentions. I know I tried setting the child to make multiple copies once and it reacted badly.
Good luck!