Replicate a Project
- Last UpdatedApr 09, 2024
- 3 minute read
The Replicate Project options on the Tools tab enable the user to replicate the whole project, including all the data, or just the structure of the project.
The Project Data option copies the current project to a new project. Before the user uses this option, they must create the project directories and set the environment variables for the copied project. Then enter the new project code on the Replicate Project window.
The Project Data to a directory option copies an on-premises Dabacon Project to a target directory on a disk located on the local LAN.
Note:
A project must not be replicated outside the AVEVA base product by copying the whole of the Project directory
to another Project directory. This is because information about the project name is stored inside the
DBs themselves.
Note:
Passwords will not be written to REPLICATE output. After running in the generated macro the Administrator of the new project
will have to set user passwords before the replicated users can log in.
The Project Structure option creates a macro which can be run into the AVEVA base product to replicate the structure of the current project. No data is copied. When the user selects this option, a file browser is displayed so that the user can give the pathname for the macro.
The application scans the System database and outputs to the file all the commands necessary to recreate the project structure, in the following order:
-
Create users.
-
Create teams.
-
Add users to teams.
-
Create Databases (DBs).
-
Make Copy DBs.
-
Create Multiple Databases (MDBs).
-
Add DBs to MDBs and make them current if appropriate.
To create a new project using the generated macro, set up a virgin project using make as described in Create a Project. Then enter the AVEVA base product and run the macro by giving the command:
$m/pathname/ReplicateProj.mac
assuming that the user has used the default filename ReplicateProj when they created the macro. To give this command:
-
Either start the AVEVA base product in tty mode, (that is, without the Graphical User Interface (GUI)) by typing AVEVA E3D tty, and type the command into the window where AVEVA base product is running.
or
-
Start the AVEVA base product with the GUI, select Display > Command Window, and type the command into the Command window.
Replicate On-premises Dabacon Project to Target Directory on Local LAN
Supports the replication of an on-premises Dabacon Project to a target directory on a disk located on the local LAN. Replication to a target folder does not require the environment variables to be set prior to entering AVEVA Administration.
To replicate the current project to an on-premises Dabacon Project on the local LAN, select Project > Replicate > Project data to a directory from the main menu to display the Replicate project to specified directory window.

Browse
Specifies the target folder for the replicated project. All project folders are downloaded into the selected folder.
OK
Replicates the current project.
If the project is not locked, a confirm window displays, the user is prompted to lock the project.

Open the Command Window to display details of the replication progress. Large projects can take some time to replicate.

When the replication is complete, a summary displays in the Command Window.

Command Syntax
The command line syntax for project replication to a target directory is:
REP/LICATE---directoryname