Hi Martin,
For each volume there is a database directory on $pwrp_db, for example somevolume.db for the volume 'somevolume', and that is where the log-files are with names as log.000000015. Old log-files can be removed, and to be sure not to remove an active logfile there is a utitlity to do this. You can copy the database directory with cp -r and I would advice you to take a copy before you start experimenting. There is also a db_recover utiltity in the db-util package but I doubt that it will work if logfiles are lost.
The database though can be recovered from the dbs-file for the volume which you can find on $pwrp_load on the process station. This can be opened by the configurator and copied to and empty database.
- First remove (or rename) the volume directory ($pwrp_db/somevolume.db), enter the directory volume and save to create an new empty database.
- Copy the dbs-file from the process station.
- Open configurator for the volume, which now should be empty, and open the copied dbs-file from File/Open Dbs File in the menu.
- Select all the top hierachies and copy with the command 'copy /keepref'.
- Paste with the command 'paste /keepoid'.
- Everything should no be copied except the hidden volume object that contains a NextOix attribute that has to be transfered manually. Open 'FileVolume attributes' in the dbs-configurator and read NextOix. This value should now be inserted into the new database, but as NextOix is readonly, it has to be done with a command, 'set attribute/attr=NextOix/name=somevolume: /value=1234 /noconfirm'.
/Claes