[Zope] Re: Packing data.fs programmatically

Jonathan Cleaver jcleaver.hq at da.mod.uk
Tue Jan 31 07:17:53 EST 2006


Ah-ha, that's another approach I had not thought of!

Many thanks!

Cheers

Jonathan

Reinoud van Leeuwen wrote:
> On Tue, Jan 31, 2006 at 11:38:34AM +0000, 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 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
> 
> 



More information about the Zope mailing list