[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zodb-dev
Subject:    RE: [ZODB-Dev] Corrupt db when trying to pack
From:       Gerry Kirk <gerry () faithonline ! com>
Date:       2004-10-04 18:07:23
Message-ID: E77FB6B832F3CE4CAFF50EB91FB74FFC1B7D09 () primary ! CENTRAL ! local
[Download RAW message or body]

Tim Peters wrote:
> 
> You didn't say which version(s) of Zope or ZODB you're using, but
> there are indeed no known software causes for FileStorage corruption 
> in current releases of Zope or ZODB.  You should look this over now:
> 
>     http://zope.org/Wikis/ZODB/FileStorageBackup
> 
I took a look at that. Very informative.

I'm using Zope 2.7.0 and whatever version of ZODB that comes with it.

> 
> For the future, take the recommended practices listed on the link
> above to heart.  For example, had you made daily backups all along, 
> repairing "impossible" corruption in the first 300MB of a 700MB 
> FileStorage probably would have been straightforward.
> 
We do a nightly backup of the whole database. How does that make 
repairing easier? The only thing I can see doing is to run tests on the 
backup each night, to know if there is an issue or not, and deal with it
right away.

Oh, I almost forgot to mention that I ran fstest.py and fsrefs.py, and
both 
passed on a newer backup... the problems I had earlier were on backup 
copies I transferred between two Linux boxes... not sure why that would 
matter.

So, I may be really fortunate and not have a problem with the live db 
after all. I'm going to try and pack a backup db and see what happens.

- Gerry

_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic