The DeltaV Continuous Historian > Automated backup utility

Error codes

The batch file that calls the automated backup utility for the DeltaV Continuous Historian returns an error code numbered 0 through 7. If the automated backup utility is run from the command line, the error codes may not be especially useful: the onscreen message indicating success or failure is self-explanatory. However, if the backup is run using a batch file, you might want to revise the batch file based on the error code returned.

The error codes, as indicated in the following table, increase numerically with the severity of the error.

Error code Description
0 The operation completed successfully.
1 Not used.
2 Invalid parameter. The command line syntax is incorrect.
3 Invalid directory. Indicates one of the following conditions:
  • The syntax of the directory specified is incorrect.
  • The directory specified is a special folder (such as COM or AUX, for example). Change the directory name and rerun the batch file.
  • The local directory is one to which the user performing the backup does not have write access. Change the directory name and rerun the batch file.
  • The directory specified is a local or shared folder to which the user does not have write access. Change the directory name and rerun the batch file.
4 The DeltaV Continuous Historian is not installed. The DeltaV Continuous Historian is not installed. Another historian such as the Advanced Continuous Historian or OSIsoft PI Server could be installed. Contact your system administrator.
5 No DeltaV. DeltaV is not installed or the DeltaV service is not running. Contact your system administrator.
6 Can’t Create New Active Data Set. The user does not have the privileges necessary to create a new active data set. Contact your system administrator.
7 Backup Exception. Analyze the exception text appearing in the Event Log or batch file output. Contact Emerson for assistance.