Creating a batch file

You can use any of the backup or restore dialog boxes to create a batch file that contains a NetBackup for SQL Server script. This script can be executed at a later time from the Manage Scripts dialog box.

Or you can launch the script from the dbbackex command line program or through the NetBackup scheduler. See the example batch files.

To create a batch file

  1. Select File > Backup SQL Server objects or File > Restore SQL Server objects.

  2. Select the object you want to back up or restore.

  3. Select the backup or restore options.

  4. In the Backup script or Restore script group, click Save.

  5. Click Backup or Restore.

  6. Specify a file name and click Save.

    Alternatively, you can select the name of an existing file and NetBackup appends the new script to it.

  7. Click Yes to open and edit the batch file.

More Information

Manage Scripts

About sample batch files

Backup Microsoft SQL Server Objects dialog box

Restore Microsoft SQL Server Objects dialog box

About sample batch files