The DeltaV Continuous Historian > Automated backup utility

Syntax

The automated backup utility for the DeltaV Continuous Historian is located in the DeltaV\bin directory of the DeltaV workstation. The filename is HistorianBackup.exe. The syntax for the automated backup utility is:

HistorianBackup Directory [/CreateNewActive] [/Extended] [/BackupIfLTDays:n] [/Retries:n] [/DeleteIfGTdays:n] [/OnlyIfModified] [/LogFile:FileName]

Parameters in brackets are optional. The parameters are:

Parameter Description
Directory The directory to which the data sets are backed up, in either UNC or drive letter directory format
/CreateNewActive Creates a new active data set before backing up
/Extended Backs up current and extended data sets
/BackupIfLTDays:n Backs up data sets less than n days old
/Retries:n Retries on exclusive use error for n retries, where n is in the range of 0 to 720; the default is five retries
/DeleteIfGTDays:n Deletes offline data sets greater than n days old
/OnlyIfModified Backs up modified data sets only
/LogFile:FileName Creates a log file that documents the backup process
/?, -?, or no parameters Displays a help message with the command syntax

Data sets are backed up in alphabetic order. The oldest data sets are backed up first. Any data set being backed up will have its Backup Status in the Continuous Historian Administration application set to Backing Up while the backup is in progress. When the data set is backed up, its status is set to Backed Up. If the data set is modified during or after the backup, its status is set to Modified. If the data set is modified during or after the backup, a backup file will still exist for the data set; however, the backup file will not be up-to-date.

Note that the Continuous Historian Administration application only updates every 60 seconds, so there may be a slight delay in the backup status display immediately after a backup is performed.

The results of the backup procedure are recorded in the Windows Event Viewer log files.