Forum Discussion

Alex_Zn's avatar
Alex_Zn
Level 6
13 years ago

NetBackup Oracle templates

Hi all!

Could i manualy modify template file on a master server? Or it can be created and modifyed only by the wizard?

  • It is not possible to edit template file manually. If done, the template will treated as invalid by NetBackup.
    Two options in this situation:

    • Remove template file on master server, and recreate it as you like.
      You can only change parameters through Template Wiazard.
    • If you want to add RMAN command manually, you have to use backup script instead.
      You can generate script file from template as wr wrote.
      "/usr/openv/netbackup/bin/bpdbsbora -backup -g <script_file_name> -t <template_name>"

4 Replies

  • NetBackup for Oracle also provides a utility, bpdbsbora, that can generate a shell

    script from a backup wizard template. A user can then create a template with the

    wizard and generate a shell script from the template. The user can then run the

    shell script or modify the shell script further.

     

  • Hi Wr. In my example i mean modify template, open it via editor and add some RMAN commands, in yours i should create script from template, and then should place it on each clients, and make it accesible for netbackup. But i want to use the same template for all my oracle clients, and i dont want to copy script on each my client.

  • It is not possible to edit template file manually. If done, the template will treated as invalid by NetBackup.
    Two options in this situation:

    • Remove template file on master server, and recreate it as you like.
      You can only change parameters through Template Wiazard.
    • If you want to add RMAN command manually, you have to use backup script instead.
      You can generate script file from template as wr wrote.
      "/usr/openv/netbackup/bin/bpdbsbora -backup -g <script_file_name> -t <template_name>"