We're missing 16 days worth of content. Python 2.3.5, Zope 2.8.4, Plone 2.1.2, and a host of other products. ZEO configuration. Persistent disk caching is on. Yesterday everything was fine. All the content was there and accessible. Today I try to log in and the server doesn't respond. I go out and restart the zope client, still no response. I restart the zeo server and the site delivers content. Problem! The content is from two weeks ago. All of the content from the last 16 days is missing. Thinking maybe someone restored from an older backup I went out to our daily backups and pulled the previous days data.fs backup. A restore didn't work. It still shows the outdated content. I went out to look at the backups again and noticed that the date on the data.fs was 4/14 while the date on data.fs.tmp was 4/26. data.fs.tmp is a 9 meg file. Is the missing content somehow captured in data.fs.tmp or is it somewhere else that I can retrieve it? If it is how do I get it back?
Michael Havard wrote:
We're missing 16 days worth of content.
Have a read of this: http://www.catb.org/~esr/faqs/smart-questions.html#urgent
Python 2.3.5, Zope 2.8.4, Plone 2.1.2, and a host of other products. ZEO configuration. Persistent disk caching is on.
You've got Plone in the mix, you may get more help asking on a Plone-specific list...
Is the missing content somehow captured in data.fs.tmp or is it somewhere else that I can retrieve it? If it is how do I get it back?
You may want to ask about that on zodb-dev@zope.org but I've never heard of symptoms like yours. I can only hope/guess that it's one of your extra products that's done something weird. You could help by providing more information about what type of objects made up your missing data: was it a Plone site? specific types of content in a Plone site? Instances of some other type of object? cheers, Chris - this is why you should test backups ;-) -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
Sorry. I know better, just got in a panic. "Chris Withers" <chris@simplistix.co.uk> wrote in message news:4455E30D.3010307@simplistix.co.uk...
Michael Havard wrote:
We're missing 16 days worth of content.
Have a read of this: http://www.catb.org/~esr/faqs/smart-questions.html#urgent
Python 2.3.5, Zope 2.8.4, Plone 2.1.2, and a host of other products. ZEO configuration. Persistent disk caching is on.
You've got Plone in the mix, you may get more help asking on a Plone-specific list...
Is the missing content somehow captured in data.fs.tmp or is it somewhere else that I can retrieve it? If it is how do I get it back?
You may want to ask about that on zodb-dev@zope.org but I've never heard of symptoms like yours. I can only hope/guess that it's one of your extra products that's done something weird.
You could help by providing more information about what type of objects made up your missing data: was it a Plone site? specific types of content in a Plone site? Instances of some other type of object?
cheers,
Chris - this is why you should test backups ;-)
-- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael Havard wrote:
We're missing 16 days worth of content.
Python 2.3.5, Zope 2.8.4, Plone 2.1.2, and a host of other products. ZEO configuration. Persistent disk caching is on.
Yesterday everything was fine. All the content was there and accessible. Today I try to log in and the server doesn't respond. I go out and restart the zope client, still no response. I restart the zeo server and the site delivers content. Problem! The content is from two weeks ago. All of the content from the last 16 days is missing. Thinking maybe someone restored from an older backup I went out to our daily backups and pulled the previous days data.fs backup. A restore didn't work. It still shows the outdated content. I went out to look at the backups again and noticed that the date on the data.fs was 4/14 while the date on data.fs.tmp was 4/26. data.fs.tmp is a 9 meg file.
Is the missing content somehow captured in data.fs.tmp or is it somewhere else that I can retrieve it? If it is how do I get it back?
You could try the following (back up everything first, of course!): - Stop the application server, then the storage server. - Test the existing storage file: $ /path/to/python /path/to/zope/utilities/ZODBTools/fstest.py \ var/Data.fs - On the storage server, concatenate the 'tmp' file to the end of the main file, e.g.:: $ cat var/Data.fs.tmp >> var/Data.fs - Move the 'tmp' file aside, e.g.:: $ mv var/Data.fs.tmp var/Data.fs.tmp-ASIDE - Test the concatenated storage file: $ /path/to/python /path/to/zope/utilities/ZODBTools/fstest.py \ var/Data.fs - Restart the storage server in debug mode and watch the log output: $ bin/zeoctl start && tail -100f var/error.log Tres. - -- =================================================================== Tres Seaver +1 202-558-7113 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEVjS6+gerLs4ltQ4RAiqrAKC1AVhW1A1yobCieSsNWgivaJ4rZACg1yfj b9muiVfu4p5MlWbf1xG14Po= =nIFY -----END PGP SIGNATURE-----
participants (3)
-
Chris Withers -
Michael Havard -
Tres Seaver