Plugin:Dbx mdbx/de: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 17: | Line 17: | ||
mdbx_chk.exe -i -w -v -t -2 "path\to\corrupted.dat" | mdbx_chk.exe -i -w -v -t -2 "path\to\corrupted.dat" | ||
</pre> | </pre> | ||
This command will select the second to last meta page (since the last one is probably corrupted). | |||
Each meta page contains the necessary information (number transactions, geometry, etc.) as well as a pointer (usually) to | |||
own MVCC snapshot that seems to float in many pages along with the rest of the MVCC snapshots. Each such snapshot is generated when the writing transaction is committed. | |||
== Überprüfung der Datenbank == | == Überprüfung der Datenbank == |
Revision as of 16:09, 9 October 2020
Miranda NG MDBX database driver
| |
---|---|
Dateiname | Dbx_mdbx.dll |
Autor | Miranda NG team |
Download-Links | |
Stabile Version: | 32-bit, 64-bit |
Entwicklungsversion: | 32-bit, 64-bit |
Dieser Datenbanktreiber leidet unter Problemen mit PC-Instabilität oder Festplattenschäden. Es ist daher wichtig, täglich Sicherungen zu machen un das Risiko eines Datenverlustes zu minimieren.
Plugin funktioniert nicht unter Wine.
Unterstützung für Miranda-Datenbank: Globale Einstellungen, Kontakte, Verlauf, Einstellungen pro Kontakt.
Basiert auf libmdbx, enthält aber einige Änderungen vom Miranda-NG-Team, um den speziellen Anforderungen von Miranda NG gerecht zu werden.
Database repair
Make a backup copy of the damaged database before restoring!
mdbx_chk.exe is located in the Miranda root folder.
mdbx_chk.exe -i -w -v -t -2 "path\to\corrupted.dat"
This command will select the second to last meta page (since the last one is probably corrupted).
Each meta page contains the necessary information (number transactions, geometry, etc.) as well as a pointer (usually) to own MVCC snapshot that seems to float in many pages along with the rest of the MVCC snapshots. Each such snapshot is generated when the writing transaction is committed.
Überprüfung der Datenbank
mdbx_chk.exe befindet sich im Miranda-NG-Hauptverzeichnis.
mdbx_chk.exe -i -v -n -w "path\to\database.dat"
Nachrichten "problems: wrong order of entries" sollten nicht als Fehler angesehen werden.
If the above does not help
mdbx_dump.exe and mdbx_load.exe are located in the Miranda root folder.
mdbx_dump.exe -n -a -f "%TEMP%\corrupted.tmp" "path\to\corrupted.dat" mdbx_load.exe -n -a -f "%TEMP%\corrupted.tmp" "path\to\repaired.dat"
This extracts as much data as possible from the corrupted.dat to the temporary file and builds repaired.dat.