45
edits
Changes
m
Changed letter case and removed repeated word
===The environment is lost===
If you don't have the original environment for that file, you may try dumping and loading your data using Berkeley DB tools. Depending on your system, they may be called <code>db_dump</code> and <code>db_load</code>, <code>db41_dump</code> and <code>db41_load</code>, <code>db4.4_dump</code> and <code>db4.4_load</code>, or some such. Whatever they are called, there should be be a dump tool and a load tool, and they should be version 4 or later.
Basically, you just dump the grdb into a text file, then create a new grdb from that text file:
$ db4.4_dump BackupData.grdb > somefile.txt
$ db4.4_load newfile.grdb < somefile.txt
and then cross your heart and hope that <code>newfile.grdb</code> will open in grampsGRAMPS.
==How to prevent corruption?==