[Zope] Re: How to backup Zope data base?

Andreas Tille tillea@rki.de
Fri, 19 Jan 2001 15:43:22 +0100 (CET)


On Fri, 19 Jan 2001, Stephane Bortzmeyer wrote:

> On Thursday 18 January 2001, at 13 h 52, the keyboard of "Mayers, Philip J" 
> <p.mayers@ic.ac.uk> wrote:
> 
> > This certainly isn't *efficient*, but it works:
This is great because absolutely the thing I was looking for ...
Thanks for the zexp part Philip!

> 
> Not here. Does it depend on a specific version of Zope? I have 2.2.2.
I guess I have the same Zope installation as you :)
~> dpkg --status zope
Package: zope
Status: install ok installed
Installed-Size: 7356
Maintainer: Gregor Hoffleit <flight@debian.org>
Version: 2.2.2-3

and I observed the same:


> wget -http-user=usename -http-pass=password
> http://your.site.com/Zope/path/to/wherever/manage_exportObject?download%3Ain
> t=1
This works:

--15:33:48--  http://localhost:9673/Control_Panel/Products/DebianAT/manage_exportObject?download%3Aint=1
           => `manage_exportObject?download:int=1'
Connecting to localhost:9673... connected!
HTTP request sent, awaiting response... 401 Unauthorized
Connecting to localhost:9673... connected!
HTTP request sent, awaiting response... 200 OK
Length: 15,173 [application/data]

    0K -> .......... ....                                        [100%]

15:33:48 (14.47 MB/s) - `manage_exportObject?download:int=1' saved [15173/15173]

> wget <blah>
> http://your.site.com/Zope/manage_exportObject?download%3Aint=1&toxml=Y
>
But this doesn't work :-(

--15:33:48--  http://localhost:9673/Control_Panel/Products/DebianAT/manage_exportObject?download%3Aint=1&toxml=Y
           => `manage_exportObject?download:int=1&toxml=Y'
Connecting to localhost:9673... connected!
HTTP request sent, awaiting response... 401 Unauthorized
Connecting to localhost:9673... connected!
HTTP request sent, awaiting response... 500 Internal Server Error
15:33:48 ERROR 500: Internal Server Error.

> Will get you an XML export of your entire site.
Is there any hint what went wrong??

Kind regards

       Andreas.