Hello,
i have got 2 databases in 2 folders and need copy from one to second (first
is a work database and second is for testing).
In Progress v.8 is possible easy copy content folder to another. But in v.
9 is full path included and this simple way is impossible.
If you know about any simple solving, tell me, please.
Thank you for your help.
'jazzy' Lada
Hi,
try procopy db1 db2
"Lada Novotny" wrote:
>
>Hello,
>i have got 2 databases in 2 folders and need copy from one to second (first
>is a work database and second is for testing).
>In Progress v.8 is possible easy copy content folder to another. But in
>v.
>9 is full path included and this simple way is impossible.
>If you know about any simple solving, tell me, please.
>Thank you for your help.
>'jazzy' Lada
Right, if your main db is in C:\live and your training db is in C:\train and are both call dob.db
1. Delete all the files in the C:\train area (i am not telling you to use prodel as I dont know what effect this will have if your database is just a disk copy of the live one)
2. Copy the dob.st file from the C:\live area to the C:\train area
3. EDIT THE dob.st file so that it points to files in the C:\train area, failure to do so can cause corruption of the live db.
4. In promon type procopy c:\live\dob c:\train\dob this will create a db in the C:\train area and copy the contents of the db
You can also copy the entire contents of the live area in to the training area and edit the st file in the training area then do a prostrct repair C:\train\dob
BACKUP THE LIVE DB BEFORE YOU START!!!!
I cannot be held responsible for anything going wrong do at your own risk.
Robert.