Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Data Archive Administration

Restore a backup to an existing Data Archive server

Restore a backup to an existing Data Archive server

  • Last UpdatedOct 02, 2024
  • 2 minute read

This section explains how to restore a Data Archive server from a backup. Follow these instructions to restore the Data Archive server to the same computer that it was running on.

  1. Isolate your Data Archive server from the network.

    For more information, see Isolate a Data Archive server from incoming process data.

  2. Stop Data Archive.

    \%PISERVER%\adm\pisrvstop.bat

  3. Delete the following file:

    \%PISERVER%\dat\PIModuleUnitDb.dat

    This file is automatically regenerated when you restore from backup.

  4. Restore the backup to a temporary directory, such as C:\TempRestoreDir.

    For example, if you back up your backup directory with a third-party backup application, restore the desired backup to C:\TempRestoreDir. Alternatively, if you are restoring the latest backup, you can restore the Data Archive server directly from the latest backup directory. This procedure assumes that you have restored the desired backup to a folder of the name C:\TempRestoreDir.

  5. Copy the files from C:\TempRestoreDir\dat to %PISERVER%\dat.

  6. Copy the files from C:\TempRestoreDir\adm to %PISERVER%\adm.

  7. Copy the files from C:\TempRestoreDir\bin to %PISERVER%\bin.

    Note: Do not copy executable files with extension .exe.

  8. Copy the files from C:\TempRestoreDir\log to %PISERVER%\log.

  9. Copy the archive files from the C:\TempRestoreDir\arc directory in your backup folder to their original location on Data Archive.

    If you are not sure where your archive files were located on Data Archive, look in the backup log file in C:\TempRestoreDir\. The log contains the archive list at the time of the backup.

    Because you are restoring to an existing server, you do not have to restore all archives. At a minimum you must restore the primary archive. Restore other archives as needed.

  10. If a site backup was performed (if, for example, C:\TempRestoreDir\sitebackup exists), then copy the files from the site backup directories to the %PIHOME% directory.

  11. Restart Data Archive.

  12. Restore the Data Archive connection to the network.

  13. Use the MDB to AF Synchronization tool in PI SMT to check the status of the synchronization between MDB and AF.

    See Tools for editing PI AF and PI MDB objects.

  14. If MDB and AF are out of sync, then use the MDB to AF Synchronization tool to reset MDB.

TitleResults for “How to create a CRG?”Also Available in