[Zope] packing a data.fs from outside zope?

Fritz Mesedilla fritz.mesedilla@summitmedia.com.ph
Thu, 17 May 2001 13:20:45 +0800


how do i go with that?

do i copy that to a file then run it as root or something?

Fritz Mesedilla
Systems Administrator

Summit Interactive, Inc.
FHM | Seventeen | Candy | Cosmopolitan | Preview | Good Housekeeping
femalenetwork.com | candymag.com | fhm.com.ph | cosmo.com.ph
----------------------------------------------------------------------------
http://contemplation401.tripod.com                     +Basta Ikaw Lord

> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Chris
> McDonough
> Sent: Thursday, May 17, 2001 12:08 AM
> To: sean.upton@uniontrib.com; anthony@interlink.com.au
> Cc: zope@zope.org
> Subject: Re: [Zope] packing a data.fs from outside zope?
>
>
> No.  You'd need ZEO for that.
>
> ----- Original Message -----
> From: <sean.upton@uniontrib.com>
> To: <chrism@digicool.com>; <anthony@interlink.com.au>
> Cc: <zope@zope.org>
> Sent: Wednesday, May 16, 2001 11:51 AM
> Subject: RE: [Zope] packing a data.fs from outside zope?
>
>
> > and this can be done with Zope running, and the ODB being used?
> >
> > -----Original Message-----
> > From: Chris McDonough [mailto:chrism@digicool.com]
> > Sent: Tuesday, May 15, 2001 8:02 PM
> > To: anthony@interlink.com.au
> > Cc: zope@zope.org
> > Subject: Re: [Zope] packing a data.fs from outside zope?
> >
> >
> > Here ya go, Anthony (untested, but I'm feeling confident tonight ;-):
> >
> > from ZODB.DB import DB
> > from ZODB.FileStorage import FileStorage
> > s = FileStorage('Data.fs')
> > db = DB(s)
> > db.pack()
> > db.close()
> >
> >
> >
> > Anthony Baxter wrote:
> > >
> > > Don't suppose anyone's produced a nice convenient "pack a
> data.fs file"
> > > script that's runnable from outside Zope?
> > >
> > > Anthony
> > >
> > > _______________________________________________
> > > Zope maillist  -  Zope@zope.org
> > > http://lists.zope.org/mailman/listinfo/zope
> > > **   No cross posts or HTML encoding!  **
> > > (Related lists -
> > >  http://lists.zope.org/mailman/listinfo/zope-announce
> > >  http://lists.zope.org/mailman/listinfo/zope-dev )
> >
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
> >
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>