Hi,

> [...]
> Local metadata is corrupted. Remove or repair the following files
> manually and re-run fsck:
> /var/cache/s3/store/s3:=2F=2Fstore.db (corrupted)
> [...]
> 1. How can I recover from local-corrupted-meta-data ?

you could try
http://lmgtfy.com/?q=recover+corrupt+sqlite+database
before you delete the metadata.

> 2. How can I prevent above situation?
SQLite database corruption can have many reasons (
https://www.sqlite.org/howtocorrupt.html ). E.g. I managed to corrupt a
database by inadvertently restricting the maximum file size with ulimit.
I was able to recover from that by repairing the database. Another more
common way would be to have no space left on the file system, where your
cache ist kept (/var/cache/s3/store).

Updating to the newest version of S3QL should be also a good thing to do.

-- 
You received this message because you are subscribed to the Google Groups 
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to