Re: packing directory storage

Paul Winkler <[email protected]>
Newsgroups gmane.comp.web.zope.zodb.dirstorage
Message-ID <[email protected]>
On Wed, Jun 23, 2004 at 05:48:09PM +0100, Toby Dickenson wrote:

> To pack without Zope in the loop:
(snip)

If you run ZEO, you should also be able to pack like this
(for zope 2.7.x):

./bin/zopectl debug
Starting debugger (the name "app" is bound to the top-level Zope object)
>>> cp = app.Control_Panel
>>> cp.Database['main'].manage_pack(days=1)

... assuming it's your main database you want to pack.

-- 

Paul Winkler
http://www.slinkp.com


-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.