Use the DBCOPY Utility
- Last UpdatedOct 30, 2024
- 1 minute read
You must change the location where you want to run the DBCOPY utility. In this example, file is copied to a file location called Backup. After it runs, the command prompt will show the path to the Config_A.
Syntax
<path1>\dbcopy -L <db_ name> <path2><backup_db_name>
Where:
<path1> is the source location of the database that you want to back up (for example, C:\Program Files\AVEVA\Batch Management\cfg\Config_A).
-L enables database locking. (This is required.)
<db_name> is the source database that you want to back up (for example, ModelDB).
<path2> is the destination location (for example, C:\Backup).
<backup_db_name> is the backup database name (for example, ModelDB).
Example
C:\Program Files\Wonderware\Batch Management\cfg\Config_A\dbcopy -L ModelDB C:\Backup\ModelDB
WARNING! Do not use DBCOPY to back up configuration databases while Update Runtime or Update Configuration is in progress. Your data can become corrupt.