Backup a Batch Historian database using SQL

The Batch Historian Administrator tool has a function that allows you to schedule regular backups of your active database. However, should the need arise to perform a backup on demand, you can use SQL Server Management Studio, available when SQL Server is installed or as a download from Microsoft.

The steps outlined here are independent of the SQL version. For exact steps for your SQL version, please refer to the SQL Server Management Studio help.

  1. Log on to the Batch Historian workstation as Windows Administrator, and then log on to DeltaV as the DeltaV Administrator.
  2. Stop the Batch Historian.
    1. Run the Batch Historian Administration tool.
      StartDeltaVBatchHistorian Administration Tool
    2. Select ServerConnect.
    3. Select ServerStart/Stop Historian.
  3. Close the Historian Administration Tool and all other Batch Historian clients on all workstations, for example, Batch History View.
  4. Start SQL Server Management Studio.
  5. Use the database backup utility that is available in the SQL Server Management Studio.
  6. Connect to the Batch Historian Server node.
  7. Drill into the Batch Historian Server node nameDatabasesDVHisDB.
  8. Right click and select TasksBack Up...
    This launches the SQL backup wizard.
  9. Complete the fields on the wizard pages with the following options:
    • Database = DVHisDB
    • Backup type = Full
    • Backup destination = Use the format: Drive:\Directory Path\Filename
    • Backup name = Provide a unique name for each backup.

    The rest of the options will depend on the SQL version and your preferences.

  10. At the end of the wizard, click OK and the backup task will begin.
  11. Once the backup completes, you can restart the Batch Historian server using the Batch Historian Administration tool.
    1. Run the Batch Historian Administration tool.
      StartDeltaVBatchHistorian Administration Tool
    2. Select ServerConnect.
    3. Select ServerStart/Stop Historian.