https://github.com/adfinis/leveldb-repairdb
Statically linked binary to repair leveldb databases
https://github.com/adfinis/leveldb-repairdb
leveldb repair
Last synced: 8 months ago
JSON representation
Statically linked binary to repair leveldb databases
- Host: GitHub
- URL: https://github.com/adfinis/leveldb-repairdb
- Owner: adfinis
- License: mit
- Created: 2018-12-06T08:46:32.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-21T09:32:44.000Z (over 1 year ago)
- Last Synced: 2025-01-01T22:42:42.329Z (9 months ago)
- Topics: leveldb, repair
- Language: Makefile
- Size: 11.7 KB
- Stars: 3
- Watchers: 15
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
leveldb-repairdb
================[](https://github.com/adfinis-sygroup/leveldb-repairdb/blob/master/LICENSE)
This repo contains the source for a statically linked binary that repairs
leveldb databases using the official Google C++ library. Check out the
repository using `git clone --recursive` to also check out the leveldb and
snappy libraries.Build
-----Just run `make`, this will automatically build leveldb and snappy and build
a static binary called `leveldb-repairdb`.Usage
-----Change to the directory where the database that needs to be repaired resides
and execute `leveldb-repairdb`. The binary will have the returncode 0 when the
repair was successful and 1 when it failed.Example:
```
$ cd /aptly/.aptly/db/
$ leveldb-repairdb
Repairing the database in the current directory.
Repairing the database was sucessful.
```