Transferring Data Between Projects
- Last UpdatedMar 18, 2022
- 2 minute read
The RECONFIGURER provides a simple means of transferring data from one Project to another, on the same type of computer, provided both Projects are running under the same major version of the AVEVA base product and provided cross-referencing between Databases (DBs) is considered logically.
The transfer operation in this case requires the use of the FROM FILES and TO FILES options of the FROM and TO commands. In the simplest case, namely the transfer of the contents of a single DB, such as a Catalogue, the following sequence of commands could be used:
In the source Project:
Example: |
|---|
|
FROM DB /CATOLD Specifies the source DB. |
|
TO FILES /TEMP1 /TEMP2 Only PASS 1 of reconfiguration to be carried out; partially reconfigured data to be stored in named files. |
|
RCFCOPY ALL |
|
RECONFIGURE |
In the destination Project:
Example: |
|---|
|
FROM FILES /TEMP1 /TEMP2 Partially reconfigured data to be recovered from named file. |
|
TO DB /CATNEW PASS 2 of reconfiguration to be done. |
|
RCFCOPY ALL |
|
RECONFIGURE |
Note:
FREE (i.e. Read/Write) access is required to both Projects.
If the contents of more than one DB are to be transferred, provided no reference attributes point outside the set of DBs being transferred, an extension of the same procedure could be used. Consider the transfer of the whole of one Model DB, the whole of a Catalogue DB and one item of equipment from a second Model DB, thus:
|
Source DB |
Elements Transferred |
Destination DB |
|---|---|---|
|
CIVIL/STRUC4 |
Whole Model DB |
STEEL/MAIN |
|
ANSI/MASCAT |
Whole Catalogue DB |
CATAL/MAIN |
|
SITE-A |
One Site |
EQUIP/MAIN |
The reconfiguration commands should be given in the following order:
In the source Project:
|
FROM DB ANSI/MASCAT |
|
|
Copies the Catalogue DB first. |
|
|
FROM DB CIVIL/STRUC4 |
|
|
Copies the Design DB. |
|
|
FROM DB VESSEL/V25CT |
|
|
Copies the Site. |
In the destination Project:
|
FROM FILES /REC1A /REC1B |
|
|
Creates Catalogue DB. |
|
|
FROM FILES /REC2A /REC2B |
|
|
Creates Design DB. |
|
|
FROM FILES /REC3A /REC3B |
|
|
Creates equipment item. |
|
|
RCFUPDATE DB STEEL/MAIN |
|
|
Gives correct cross-references. |