Changes

Jump to: navigation, search

Nl:Het herstellen van een corrupt gegevensbestand

2 bytes removed, 11:14, 31 July 2007
What do I do now?
Indien je dus het gegevensbestand verplaatst, copiëert of herbenoemt zullen de gegevens wel verplaatst worden, maar niet de opmgeving. Zo geraken de gegevens corrupt.
==What do I do nowWat moet ik nu doen?==
The answer depends on whether or not you have the environment for that database. If you just copied one file into another then the environment still may work. If you modified the original database since then, then the original environment has chanegd and there's no good environment for the new file. If you removed your <code>.gramps</code> directory (why oh why?) then all environments are lost. So act depending on the situation, as explained below.
===The environment still existsDe omgeving bestaat nog===
If you have environment directory for that file, copy it under the above gudelines.
;Example: You copied <code>/home/user/genealogy/MyData.grdb</code> to <code>/home/user/genealogy/backup/BackupData.grdb</code> and the new file is not working.
;Solution: Copy <code>/home/user/.gramps/env/home/user/genealogy/MyData.grdb</code> directory into <code>/home/user/.gramps/env/home/user/genealogy/backup/BackupData.grdb</code> and this should fix the problem.
===The environment De omgeving is lostverloren===
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.
3,245
edits

Navigation menu