Forum Discussion

gkman's avatar
gkman
Level 5
9 years ago

How do I ignore simple recovery mode databases?

Hello, I have many sql transaction log backups partially completing. checking the detailed status I found: "Operation inhibited by NetBackup for Microsoft SQL Server: Only a full or incremental...
  • NBU35's avatar
    9 years ago

    Hi, To exclude any DB from SQL DB backup by NetBackup for SQL agent , add following line in your .bch file.

    EXCLUDE ''Database_name"

     

    for example you want to exclude datababe name master then script should be like :

     

    OPERATION BACKUP

    DATABASE $ALL
    EXCLUDE "master"

    SQLHOST "<SERVER NAME>"

    NBSERVER "<MASTER-SERVER>"

    MAXTRANSFERSIZE 6

    BLOCKSIZE 7

    OBJECTTYPE TRXLOG

    NUMBUFS 2

    ENDOPER TRUE