The following command backs up the active data set and all the current data sets to the C:\DeltaVBackups directory and creates a log file of the backup. If the C:\DeltaVBackups directory does not exist, it will be created as part of the backup process.
HistorianBackup c:\DeltaVBackups /LogFile:CHbackup.log
A UNC path may also be defined for the backup directory. The shared folder should have full control permissions.
HistorianBackup \\server\share
The following command creates a new active data set and backs up the prior active and all the current data sets to the C:\DeltaVBackups directory.
HistorianBackup c:\DeltaVBackups /CreateNewActive
The following command backs up the active data set as well as all current and extended historical data sets.
HistorianBackup c:\DeltaVBackups /Extended
The following command backs up the active data set and all current data sets for which the end times fall within the last three days.
HistorianBackup c:\DeltaVBackups /BackupIfLTDays:3
The following command backs up the active data set and all current data sets. The command also deletes all backed up data sets whose end times are prior to 15 days before the backup and which do not have a corresponding data set still in the DeltaV Continuous Historian database. If the /Extended option is also used, the same criterion is applied to the extended data sets.
HistorianBackup c:\DeltaVBackups /DeleteIfGTDays:15
The following command backs up the active data set and all current data sets whose Backup Status is Modified. If the /Extended option is also used, the same criterion is applied to the extended data sets. In the Continuous Historian Administration application, the Backup Status field changes from Modified to Backed Up.
HistorianBackup c:\DeltaVBackups /OnlyIfModified
The following command backs up the active data set and all current data sets and allows for retries if certain error conditions exist. The error conditions addressed by the /Retries:n option include: a) The Continuous Historian Server is not running; b) the Continuous Historian Server fails during the backup; or c) the Continuous Historian Server is unavailable due to being locked out by another application’s access to the DeltaV Continuous Historian database. The retry rate is once per minute and must be greater than or equal to 0 and less than 721. If the /Retries:n option is not specified, the automated backup utility for the DeltaV Continuous Historian defaults to five retries. If the database does not become available during the retry period, an error will be logged stating that the retry period was exceeded.
HistorianBackup c:\DeltaVBackups /Retries:20