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

Re: Using python to invoke svnadmin?

From: Robert Dailey <rcdailey_at_gmail.com>
Date: Wed, 13 Aug 2008 14:09:26 -0500

On Wed, Aug 13, 2008 at 12:11 PM, Blair Zajac <blair_at_orcaware.com> wrote:
> First, if you're not doing anything special with your backup script, then
> just use
> http://svn.collab.net/repos/svn/trunk/tools/backup/hot-backup.py.in
> which comes with Subversion. It compresses backups, keeps N old ones
> around and is generally the tool people use to backup their repositories.

This is even better! I was thinking I'd have to write this myself! Thank you
so much!

If you need to use your own custom backup and don't want to shell out, then
> use
> $ python
> >>> import svn.repos
> >>> svn.repos.dump_fs2
> <function svn_repos_dump_fs2 at 0xf77d66f4>
> See svn_repos.h on how to use it.
Received on 2008-08-13 21:10:01 CEST

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.