Forum Discussion

Kunalgoel's avatar
Kunalgoel
Level 4
6 years ago

RMAN Backup

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

  • 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.

  • 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.

    • Genericus's avatar
      Genericus
      Moderator

      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!

       

    • Kunalgoel's avatar
      Kunalgoel
      Level 4

      Thanks Marianne, but the customer needs backup through script only not through OIP.