trashed databases after disk full situation

Adam Stephens Adam.Stephens at bristol.ac.uk
Mon Jul 24 05:54:29 EDT 2006


On Sat, 22 Jul 2006, Daniel Eckl wrote:

> Thanks!
>
> The code looks promising, but how can I use this to recover?
>
> I couldn't try yet, but it just seems to output the key-value pairs to
> stdout, or did I read wrong?
>
> What would be the step for recover from a broken skiplist?

The output should be a valid DB in 'flat' format. So:

skiplist.py corrupted.seen > seen.txt
cvt_cyrusdb /path/seen.txt flat /path/repaired.seen skiplist

cheers,
Adam.
--------------------------------
Adam Stephens
Network Specialist - Email & DNS
adam.stephens at bristol.ac.uk



More information about the Info-cyrus mailing list