You are here: System Administration > Server Administration > Server Administration Guide - Back up the Database

Back up the Database

You can make a backup of your database at any time without shutting down the ClearSCADA server(s). When you have made a backup, you can use the backup files to restore your database to its original state (that is, restore the data that has been lost or corrupted since the backup took place).

We recommend that you back up your database:

NOTE: The backup will only take place on the Main server.

ClearSCADA will continue to synchronize data between the Main server and the Standby servers during the backup.

When you make a backup, we also recommend that you back up the ClearSCADA registry key, as this contains information about the setup of your server at the time of the backup.

NOTE: ClearSCADA usernames and passwords that stored in the registry are encrypted (for example for alarm redirection). You can only decrypt them on the machine from which they were backed up. This means that backing up the registry and then re-applying it to another machine requires you to recreate users in order to use the affected functions. This is also true if windows is re-installed on the machine.

NOTICE

LOSS OF DATA

During the backup process, ClearSCADA will not save to disk any changes that users make to the database. ClearSCADA will store the changes in memory, and then save them to disk when the backup is complete. Therefore, we recommend that users do not make any changes to the database when a backup is running
Failure to follow these instructions can result in loss of data.

To back up your database:

  1. In ViewX, Configure a Backup Database Item.
  2. Either:
  3. Finally, Back up the Server Settings The server settings are stored in the registry and need to be backed up separately.

When a backup is taking place, you can:


ClearSCADA 2015 R2