Re: [Zope] Packing data.fs programmatically

2006-02-27 Thread Chris Withers
Ron Bickers wrote: What's the solution without ZEO and without having to stop Zope? You use ZEO. Get over it, it should be how a standard Zope instance is set up, IMNSHO... So, in other words, there isn't one. I take it you're a big fan of ZEO. ;-) I guess I'll check it out. I've been

Re: [Zope] Packing data.fs programmatically

2006-02-24 Thread Chris Withers
Ron Bickers wrote: On Tue January 31 2006 07:47, Chris Withers wrote: I do it though the webinterface with a wget from the crontab: Oh, ouch ouch bad fragile pain failure suffering... URL whacking is evil and must be punished... How is this different than clicking on the Pack button in

Re: [Zope] Packing data.fs programmatically

2006-02-24 Thread Ron Bickers
On Fri February 24 2006 16:19, Chris Withers wrote: URL whacking is evil and must be punished... How is this different than clicking on the Pack button in the ZMI? That's also evil, because yes, it is just URL whacking with a browser... Ok. So there is no difference. What's the

Re: [Zope] Packing data.fs programmatically

2006-02-23 Thread Ron Bickers
On Tue January 31 2006 07:47, Chris Withers wrote: I do it though the webinterface with a wget from the crontab: Oh, ouch ouch bad fragile pain failure suffering... URL whacking is evil and must be punished... How is this different than clicking on the Pack button in the ZMI? What's the

[Zope] Packing data.fs programmatically

2006-01-31 Thread Jonathan Cleaver
I am using the following module to pack my data.fs programmatically before a backup is made. This was largely taken out of the Zopelabs cookbook - thanks! def packZODB(): try: import os, sys os.chdir(/path/to/Zope/python)

Re: [Zope] Packing data.fs programmatically

2006-01-31 Thread Chris Withers
Jonathan Cleaver wrote: I am using the following module to pack my data.fs programmatically before a backup is made. This was largely taken out of the Zopelabs cookbook - thanks! zeopack.py in the utilities\ZODBTools folder of your Zope distro is what you're after, no need for home-grown

Re: [Zope] Packing data.fs programmatically

2006-01-31 Thread Reinoud van Leeuwen
On Tue, Jan 31, 2006 at 11:38:34AM +, Jonathan Cleaver wrote: I am using the following module to pack my data.fs programmatically before a backup is made. This was largely taken out of the Zopelabs cookbook - thanks! I do it though the webinterface with a wget from the crontab: @daily

Re: [Zope] Packing data.fs programmatically

2006-01-31 Thread Chris Withers
Reinoud van Leeuwen wrote: On Tue, Jan 31, 2006 at 11:38:34AM +, Jonathan Cleaver wrote: I am using the following module to pack my data.fs programmatically before a backup is made. This was largely taken out of the Zopelabs cookbook - thanks! I do it though the webinterface with a wget

Re: [Zope] Packing data.fs programmatically

2006-01-31 Thread Dieter Maurer
Jonathan Cleaver wrote at 2006-1-31 11:38 +: ... Now for the wierd bit. I successfully ran the code that went into this module line-by-line in the Python interpreter. The data.fs was beautifully packed. However, when I run this script from the command line (through another script that acts