rshura (AT) gmail (DOT) com writes:
Quote:
Here's my question: how do I revert to the last checkpoint?
Is there any way to do that in bdb? |
Starting with a snapshot of the database and all transaction
logs, you can perform catastrophic recovery to some point
back in time (option -t for db_recover), and then restart
your application on the result.
This will mean several minutes downtime, and you probably want
to do it on a _copy_ of the database (I'm not sure; I'm always
doing it to copies...)
Of course, you'll lose ANY committed made after the specified
recovery point.
If you have a no-downtime requirement, I can't see how anything
but regular transactions could solve your problem.
best regards
Patrick