Plugin:Dbx mdbx: Difference between revisions

From Miranda NG
Plugin:Dbx mdbx
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
Based on <tvar|project_website>'''[https://github.com/leo-yuriev/libmdbx libmdbx]'''</> library, but contains some changes from the Miranda NG team which are necessary to meet the specific needs of Miranda.
Based on <tvar|project_website>'''[https://github.com/leo-yuriev/libmdbx libmdbx]'''</> library, but contains some changes from the Miranda NG team which are necessary to meet the specific needs of Miranda.


== Database repair == <!--T:4-->
== Database repair ==


<!--T:5-->
mdbx_chk.exe is located in the Miranda root folder. Make a backup copy of the damaged database before restoring!
mdbx_dump.exe and mdbx_load.exe are located in the Miranda root folder.
</translate>
</translate>


<pre style="overflow:auto;">
<pre style="overflow:auto;">
mdbx_dump.exe -n -a -f "%TEMP%\corrupted.tmp" "path\to\corrupted.dat"
mdbx_chk.exe -i -w -v -t -2 "path\to\corrupted.dat"
mdbx_load.exe -n -a -f "%TEMP%\corrupted.tmp" "path\to\repaired.dat"
</pre>
</pre>
<translate>
<!--T:6-->
This extracts as much data as possible from the corrupted.dat to the temporary file and builds repaired.dat.
</translate>


<translate>
<translate>
Line 40: Line 33:


{{TNT|Note|<translate><!--T:10--> "problems: wrong order of entries" messages should not be considered as errors.</translate>}}
{{TNT|Note|<translate><!--T:10--> "problems: wrong order of entries" messages should not be considered as errors.</translate>}}
<translate>
== If the above does not help ==
mdbx_dump.exe and mdbx_load.exe are located in the Miranda root folder.
</translate>
<pre style="overflow:auto;">
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"
</pre>
<translate>
This extracts as much data as possible from the corrupted.dat to the temporary file and builds repaired.dat.
</translate>


{{PluginGroups}}
{{PluginGroups}}

Revision as of 16:02, 9 October 2020

Other languages:
Miranda NG MDBX database driver

Filename Dbx_mdbx.dll
Author Miranda NG team
Download links
Stable version: 32-bit, 64-bit
Development version: 32-bit, 64-bit

Warning
This database driver might suffer problems because of PC instability or disk damages. Thus that's vitally important to make backups once a day to minimize the chance of data loss.

Provides Miranda database support: global settings, contacts, history, settings per contact.

Based on libmdbx library, but contains some changes from the Miranda NG team which are necessary to meet the specific needs of Miranda.

Database repair

mdbx_chk.exe is located in the Miranda root folder. Make a backup copy of the damaged database before restoring!

mdbx_chk.exe -i -w -v -t -2 "path\to\corrupted.dat"

Database check

mdbx_chk.exe is located in the Miranda root folder.

mdbx_chk.exe -i -v -n -w "path\to\database.dat"
Note
"problems: wrong order of entries" messages should not be considered as errors.

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.