Re: [Zope] Database Pack

2000-10-13 Thread Marcus Mendes

"Júlio Dinis Silva" wrote:
 
 Hi all,
 
 is there a way to do a pack to zodb without using the managment screens pack
 button?
 
 Maybe a python script we could execute from the file system.
 
 Regards,
 Júlio Dinis Silva
 _
 Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
 
 Share information about yourself, create your own public profile at
 http://profiles.msn.com.
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 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 )



Hello,

I'm using OracleStorage and I'd like know if can I pack my Database as I
do with data.fs. Are there any differences?

Thanks.

Marcus Mendes

___
Zope maillist  -  [EMAIL PROTECTED]
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] Database Pack

2000-10-12 Thread Júlio Dinis Silva

Hi all,

is there a way to do a pack to zodb without using the managment screens pack 
button?

Maybe a python script we could execute from the file system.

Regards,
Júlio Dinis Silva
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Database Pack

2000-10-12 Thread Oleg Broytmann

On Thu, 12 Oct 2000, Júlio Dinis Silva wrote:
 is there a way to do a pack to zodb without using the managment screens pack 
 button?
 
 Maybe a python script we could execute from the file system.

   Just call the pack over HTTP. I run a cron job to do this.

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Database Pack

2000-10-12 Thread Karl Anderson

"Júlio Dinis Silva" [EMAIL PROTECTED] writes:

 Hi all,
 
 is there a way to do a pack to zodb without using the managment screens pack 
 button?
 
 Maybe a python script we could execute from the file system.

Mount the database, then call manage_pack (untested python with cwd in
lib/python):

import ZServer, Zope
Zope.app().Control_Panel.Database.manage_pack(days = 1)

-- 
Karl Anderson  [EMAIL PROTECTED]

___
Zope maillist  -  [EMAIL PROTECTED]
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 )