Forum Discussion

Indzhev's avatar
Indzhev
Level 3
14 years ago
Solved

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

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.

  • 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

1 Reply

  • 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