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

Re: Backing up a live repos

From: Brian Mathis <bmathis_at_directedge.com>
Date: 2004-05-10 19:27:20 CEST

There's an "official" script that does this. It's in the source tree
under "tools/backup". Or if you don't have the source, take a look here:
    http://svn.collab.net/repos/svn/tags/1.0.2/tools/backup/

You'll need to update the paths under Global Settings

Peter Milliken wrote:

>I wrote a small Python script to handle this problem.
>
>It "resolves" the issue of accidently hotcopy'ing to an existing
>repository/directory by creating a unique name (temporary directory)for the
>repository. It then tar's and gzip's the results (all using Python 2.3
>library calls :-)) such that I end up with a file of the form
>"reproback-DD-MMM-YYYY-HH-MM-SS.tar.gz" in the root of my C drive. It cleans
>up after itself so there are no temporary directories/files left lying
>around.
>
>Next step will be to set it up as a cron job on my cygwin installation so
>that it runs at appropriately regular intervals (haven't used cron since my
>Unix days - which was a long time ago so a small amount of research is
>required here :-)).
>
>I am working with a couple of guys who don't have Python installed, so I
>even created a executable of it so they can install and run it if need be -
>see py2exe for instructions on doing this.
>
>Peter
>

-- 
Brian Mathis
http://directedge.com/b/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 10 19:27:53 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.