Hi folks - how does one go about backing up and restoring a production Zope server? -jim
At 10:41 PM 6/10/02, Jim Kutter wrote:
Hi folks - how does one go about backing up and restoring a production Zope server?
Crontab entry :-) # at 1:30am, Tuesday - Saturday, backup Zope, save export file to ~root/ 30 1 * * 2-6 root wget -O ~root/zopebak.zexp "http://zopehost:8080/manage_exportObject?download:int=1"
Crontab entry :-)
# at 1:30am, Tuesday - Saturday, backup Zope, save export file to ~root/ 30 1 * * 2-6 root wget -O ~root/zopebak.zexp "http://zopehost:8080/manage_exportObject?download:int=1"
This requires giving anonymous access to manage_exportObject at root level, doesn't it? Please forgive me if I overlooked something obvious, but it looks like any cracker may download your whole Zope simply by visiting "www.yoursite.com/manage_exportObject?download:int=1" -- Milos Prudek
At 03:17 PM 6/11/2002 +0200, Milos Prudek wrote:
Crontab entry :-) # at 1:30am, Tuesday - Saturday, backup Zope, save export file to ~root/ 30 1 * * 2-6 root wget -O ~root/zopebak.zexp "http://zopehost:8080/manage_exportObject?download:int=1"
This requires giving anonymous access to manage_exportObject at root level, doesn't it?
Please forgive me if I overlooked something obvious, but it looks like any cracker may download your whole Zope simply by visiting "www.yoursite.com/manage_exportObject?download:int=1"
You are correct, unless you happen to have a .wgetrc file, owned by root.root, with 0600 perms, containing: http_user = someuser http_passwd = ********** :-) Adam
participants (3)
-
Adam Manock -
Jim Kutter -
Milos Prudek