You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jiří Němec <ko...@menea.cz> on 2004/09/30 09:41:31 UTC

Backup all subversion repos

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?

-- 
Jiří Němec, ICQ: 114651500
www.menea.cz - www stránky a aplikace


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

Re: Backup all subversion repos

Posted by "Dr. Michael Boeni" <mb...@shift-think.com>.
Hi Jiri

You can use the backup script that comes with subversion (hot-backup.py)

I use: /usr/bin/hot-backup.py /data/svn/master .

to get a backup at the currently active directory.

Is that what you were looking for?

Cheers,
Michael


Am Donnerstag, 30. September 2004 11.41 schrieb Jiří Němec:
> 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?

-- 
Dr. Michael Boeni
shiftTHINK GmbH
Sandbuckstrasse 23
8173 Neerach
Switzerland

Phone: 	+41 1 858 38 85
Fax:	+41 1 858 38 86
Mobile:	+41 79 237 33 86

Email:	mbo@shift-think.com
Web:	www.shift-think.com

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


Re: Backup all subversion repos

Posted by Jens Peters <jp...@gmx.de>.
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?
>
>  
>
May be that one:

http://subversion.tigris.org/servlets/ReadMsg?list=users&msgNo=16051

Jens

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

Re: Backup all subversion repos

Posted by Juan Luis Serradilla Amarilla <ju...@um.es>.
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