Configure the Replication Tool
- Last UpdatedMay 10, 2023
- 2 minute read
When you start the Replication Tool, default values are loaded from the Replicate.exe.config file.
To configure the Replication Tool:
-
Open the Replicate.exe.config file.
Note: In a typical installation, the Replicate.exe.config is located in the folder, C:\Program Files\AVEVA\AVEVA Asset Information Management\Workhub\Install\Replicate
-
In the Replicate.exe.config file, go to the <replicate> section.
<replication maxArchiveSize="" outputDirectory="" replicationDate="">
<sources>
<source name="" outputDirectory="">
<portalConnection dbuser="" dbpassword="" datasource=""encrypted=""/>
<urlMappings>
<urlMapping url ="" unc="" type="" />
</urlMappings>
</source>
</sources>
</replication>
The following are the optional attributes of the replication node <replication>:
-
maxArchive: Maximum size in MB of each individual zip archive. Defaults to 2000MB.
-
outputDirectory: Location where the replication package will be created. Defaults to "\Output".
-
replicationDate: Date from which to check for changes in the Database. In the format of "YYYY-MM-DDTHH:mm:ssZ". Defaults to using the last replication run date stored in the database.
The following are the optional attributes of the source node <source>:
-
name: The name of this source section. Used in the command line option -source='' Defaults to 'Default'.
-
outputDirectory: Location where the replication package will be created. This overrides the setting in the replication node <replication>.
The following are the attributes required for the Workhub database connection node <portalConnection>:
-
datasource: Database datasource, database server name.
-
database: Database name. If not set, then the default database is used.
-
schema: Database schema. if not set, then the mapped schema is used.
-
dbpassword: Database password for when dbuser is set.
The following is the optional attribute of the Workhub database connection node <portalConnection>:
-
encrypted: Is the given password encrypted. This defaults to false.
|
integrated |
dbuser |
Authentication used |
|---|---|---|
|
true |
not set |
Windows credentials of the user running the tool is used. |
|
true |
set |
The given account credentials is used. |
|
false |
set |
Normal SQL authentication is used. |
The urlMapping nodes <urlMapping> has two mandatory attributes and one optional attribute:
-
url: The url to match.
-
type: The type of mapping, either http or viz.
The following is the optional attribute of the urlMapping nodes <urlMapping>:
-
unc: The unc path to the url.