[Zope] Re: Packing data.fs programmatically

Chris Withers chris at simplistix.co.uk
Tue Jan 31 08:36:36 EST 2006


ZEO & Stepper....

Or if you don't like Stepper, then zopectl run...

Chris

Max M wrote:
> Chris Withers wrote:
>> Reinoud van Leeuwen wrote:
> 
>>> I do it though the webinterface with a wget from the crontab:
>>>
>>> @daily cd /some_path/zeo_server/var && \
>>>        cp Data.fs Data.fs.pre_pack_backup && \
>>>        /usr/local/bin/wget \
>>>       
>>> 'http://myzopeserver/Control_Panel/Database/manage_pack?days:float=0'\
>>>        --http-user=special_user \
>>>        --http-passwd='some_password' \
>>>        --spider &&\        cp Data.fs Data.fs.post_pack_backup
>>
>>
>> Oh, ouch ouch bad fragile pain failure suffering...
>>
>> URL whacking is evil and must be punished...
> 
> What is the better way then? ZEO and ordinary Python scripts?
> 
> 

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Zope mailing list