cancel
Showing results for 
Search instead for 
Did you mean: 

Start a MS SQL backup for a single DB from command line

Indzhev
Level 3
Partner

Hello.

Is there any way to start a MS SQL backup for a single DB from command line. No templates, no new policies.

 

Thank you in advance.

1 ACCEPTED SOLUTION

Accepted Solutions

Mark_Solutions
Level 6
Partner Accredited Certified

install_path\NetBackup\bin\dbbackex -f file [-p policy][-u userid][-pw password] [-s server][-np]

The file is the batch file you want to use

As always you will need the client to be in a SQL policy somewhere but at least you can use a specific batch file for just the one database so you can have a few pre-prepared for each database

The userid and password are the SQL login, the server is the Master Server

Hope this helps

View solution in original post

1 REPLY 1

Mark_Solutions
Level 6
Partner Accredited Certified

install_path\NetBackup\bin\dbbackex -f file [-p policy][-u userid][-pw password] [-s server][-np]

The file is the batch file you want to use

As always you will need the client to be in a SQL policy somewhere but at least you can use a specific batch file for just the one database so you can have a few pre-prepared for each database

The userid and password are the SQL login, the server is the Master Server

Hope this helps