Forum Stats

  • 3,782,317 Users
  • 2,254,637 Discussions


dbload to restore files from dbdump -r

user2029344 Member Posts: 1
edited Jul 24, 2014 12:10PM in Berkeley DB Java Edition

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: /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..


  • 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.


This discussion has been closed.