Workflow for Migrating Alarms and Events Data
If the alarms and events data is currently in Microsoft SQL 2008 or later:
- Install the following components on the target machine in the given sequence:
- Back up the alarms and events data.
- Install Microsoft SQL on the target machine. Refer to Software Requirements for a list of supported versions.
- Restore the data that you have backed up to Microsoft SQL.
- As needed, perform calculations on the migrated data. Ideally, you must create
an archive already to store the calculated data. For unsolicited calculation
tags, migration of data will cause the calculation to be triggered automatically
for the time associated with the migrated data points. Archives will potentially
grow beyond the configured default size. To avoid this issue, adjust the value
for the
DataIsReadOnlyAfter
field on the Security section of the Data Store Maintenance page of Historian Administrator (or theActiveHours
property) so that the value is large enough to contain the calculated data. By default, this value is 1 month.
If the alarms and events data is currently in a version earlier than Microsoft SQL 2008:
- Using Microsoft SQL Server Management Studio, back up the alarms and events data. If the database is large, consider taking a partial backup instead of a full backup.
- Install Microsoft SQL Server 2008 on the target machine.
- Restore the data that you have backed up in step 1.
- In Microsoft SQL Server Management Studio, under Databases, right-click the database that you have restored, and then select .
- In the Compatibility level field, select SQL Server 2008.
- Install the following components on the target machine in the given sequence:
- Back up the alarms and events data that you have restored in step 3.
- Install a supported version of Microsoft SQL on the target machine. Refer to Software Requirements for a list of supported versions.
- Restore the data that you have backed up in step 7 to Microsoft SQL.
- As needed, perform calculations on the migrated data. Ideally, you must create
an archive already to store the calculated data. For unsolicited calculation
tags, migration of data will cause the calculation to be triggered automatically
for the time associated with the migrated data points. Archives will potentially
grow beyond the configured default size. To avoid this issue, adjust the value
for the
DataIsReadOnlyAfter
field on the Security section of the Data Store Maintenance page of Historian Administrator (or theActiveHours
property) so that the value is large enough to contain the calculated data. By default, this value is 1 month.