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

Re: Backup all subversion repos

From: Juan Luis Serradilla Amarilla <juanlu_at_um.es>
Date: 2004-09-30 12:51:36 CEST

Jiøí Nìmec wrote:

>Hello,
>
>I am looking for solution how to backup all svn repos. I have dir /svn
>and I need to backup all repos inside this.
>
>There is way to list all directories (svn repos) and apply svn dump.
>But I do not want to forge what already exists. So, do you know some
>created dump script or I have to create my own?
>
>
>
Hello,

You can do with a shell script (linux/unix), for example using a for loop:

for repodir in `ls /svn`
do
    svnadmin dump /svn/$repodir
done

-- 
Juan Luis Serradilla Amarilla
Área de Tecnologías de la Información
y las Comunicaciones Aplicadas (ATICA)
http://www.um.es/atica
Universidad de Murcia
Spain
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 30 12:50:23 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.