Skip to Main Content

Berkeley DB Family

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

dbload to restore files from dbdump -r

user2029344Jul 23 2014 — edited Jul 24 2014

There is only one database involved.

we ran into the log file missing error,

LOG_FILE_NOT_FOUND: Log file missing, log is likely invalid. Environment is invalid and must be closed.

..

Caused by: java.io.FileNotFoundException: /opt/tc/data/data-B1/objectdb/00ae2743.jdb (No such file or directory)

Based on some other posts here, we ran the DbDump with the -r flag to try to salvage the database. That completed successfully.


Now I can't tell what flags DbLoad needs to restore the data.
There are a number of .dump files created.

Do we need to run DbLoad with the -f flag, for each of these files ?

I'm going to guess we do, and try that. If it fails not sure what next - suggestions welcome..

Comments

Greybird-Oracle

Yes, the -r option writes a dump file per database, each of which should be loaded (using DbLoad) into an empty environment.

If you have the bad environment (with the LOG_FILE_NOT_FOUND error) still available and you're willing to give me access to the files to try to find out what happened, please send me email:  mark.hayes at the obvious .com.

--mark

1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 21 2014
Added on Jul 23 2014
1 comment
807 views