Re: Recovering from disk errors
Toby Dickenson <[email protected]>
| Newsgroups | gmane.comp.web.zope.zodb.dirstorage |
|---|---|
| Message-ID | <[email protected]> |
On Sunday 04 July 2004 00:42, Ed Leafe wrote: > On Jul 3, 2004, at 3:05 AM, Toby Dickenson wrote: > > 4. recreate your config.snapshot.conf. (ok, I lied. all but one of > > these > > files are easy to recreate ;-) > > Umm... I've looked through the docs, and I don't see how to create > this file. I see something about a LOCKCONFIG file in the docs for > snapshot.py, but it doesn't give a whole lotta info on what's needed. > Am I missing something obvious? That file is only needed if you want to run tools such as replica, backup, or checkds, while the storage is live. If you always shut the storage down cleanly before running those tools then it is ok for that file to be missing (although you will get a warning) or empty. from http://dirstorage.sourceforge.net/snapshot.html : This file contains lines which describe methods which the tool can try to force the storage into snapshot mode. Each line must be of the form: http URL ACCESS URL The URL of a DirectoryStorageToolkit instance in a Zope server. ACCESS The name of a file which contains username and password of a Zope user authorized to use that DirectoryStorageToolkit for example, my file contains the one line: http http://localhost:5080/DSToolkit ../../../access I hope that helps ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com