Quantcast
Channel: Symantec Connect - Backup and Recovery - 讨论
Viewing all articles
Browse latest Browse all 3749

Can I use NBU environment variables with SQL Server batch scripts?

$
0
0
我需要解决方案

Default scripts of Oracle,

I can use NBU environment variables such as:  $NB_ORA_FULL, $NB_ORA_INCR, $NB_ORA_CINC. Then I can choose many methods of backup in 1  script depending on what Schedule is running.

In SQL Server, NBU use batch script file which is different. Is there a way to do the same as Oracle?

For example:

<if $NB_ORA_FULL=1>

OPERATION BACKUP
DATABASE "testmir"
SQLHOST "sql1"
SQLINSTANCE "SQLDB"
NBSERVER "MASTER1"
MAXTRANSFERSIZE 6
BLOCKSIZE 7
NUMBUFS 2
ENDOPER TRUE

 

<if $NB_ORA_INCR=1>

OPERATION BACKUP
DATABASE "testmir"
SQLHOST "sql1"
SQLINSTANCE "SQLDB"
NBSERVER "MASTER1"
MAXTRANSFERSIZE 6
BLOCKSIZE 7
DUMPOPTION INCREMENTAL
NUMBUFS 2
ENDOPER TRUE

 


Viewing all articles
Browse latest Browse all 3749

Trending Articles