[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

SVN backup CGI script

From: Stephen Warren <swarren_at_paramanet.com>
Date: 2004-04-02 19:55:46 CEST

I have written a little CGI script that basically does "svnadmin hotcopy" and tar's the result. The idea is that computer A can 'execute' this via a GET call on computer B, and download the resulting backup data - a very simple way to pull a backup of an SVN database from one host to another...

It's attached.

Personally, I run this in a password-protected directory, over SSL, with no links to that directory!

Perhaps the error checking could be improved too. I need to verify that a "raise" in Python will cause a non-200 response that my client script can see.

--
Stephen Warren, Software Engineer, Parama Networks, San Jose, CA
http://www.wwwdotorg.org/work_contact/


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Received on Fri Apr 2 19:57:09 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.