Restoring Documents from a backup copy of the Database

I deleted some documents by accident from a a database but thankfully had a backup copy of the database to restore from. What next course of action would be the leazst disruptive? Besides the obvious problem of bookmarking, etc, would restoring the database back to its original location cause problems with its keys etc.?

I’m thinking of copying the documents that I’ve deleted from the restored database into the working one. How do I go about this? Any code examples? I do need to get this database with its documents in place as soon as possible.

Thanks.

Subject: Restoring Documents from a backup copy of the Database

Greetings;

I am offering you 2 solutions depending on severity, and 1 recommendation.

Solution 1. Restore the backup database as a local or offline copy. C:\Lotus\Notes\Data on your machine is sufficient. Then copy just the documents you deleted - if you know which they are.

Solution 2. Restore your backup as a replica, save off the bad-boy original somewhere safe, and make the backup replica your master.

Recommendation. Make it a standard policy for every database in your organization to implement soft deletes for at least 72 hours. This will save you a lot of stress. Read up on the help for more information.

I use a method of “Delete Me” that toggles a field for deletion first, then an agent deletes these marked docs weekly, where they sit until Soft Deletes removes them gracefully. If I want them back before the Soft Delete time, I just clear the “Delete Me” field to blank.

Using this policy I have never had to ask an Admin to restore a database. It’s just plain bad business when Lotus has provided an elegant solution.

Prevention is your best cure.

Good luck.