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

Re: Backup of repositories

From: Gustavo Guerra <gmcg_at_acm.org>
Date: 2004-09-28 20:08:42 CEST

I'm using this solution:

I have a network location where I backup the repositories. I do an
incremental backup on every commit
Supose the nerwork location is \\backup-server\svnbackups
Suppose I have repositories A and B in c:\svnroot\A and c:\svnroot\B
I have the files c:\svnroot\A\hooks\post-commit.bat and
c:\svnroot\B\hooks\post-commit.bat with
  svnadmin dump --incremental --deltas %1 -r %2 >
\\backup-server\svnbackups\A\A%2
and
  svnadmin dump --incremental --deltas %1 -r %2 >
\\backup-server\svnbackups\B\B%2

HTH
Gustavo Guerra

"Johan Kouwenberg" <jazekerhe@hotmail.com> wrote in message
news:BAY12-F2500ktmzmVBC000121a5@hotmail.com...
> Hello all,
>
> What is the best way to create backups of repositories? I want to create
> backups of my repos. on a weekly base, but I don't know how to do it
> correctly. Is simply copying the root directory (subdirectories included
> ofcourse) enough? I want my backups to contain *all* information
> (versions, branches, ...), so it's identical to the original one, and I
> want them to be correct for upcoming, future releases (so new releases are
> backwars compatible with my backups, so I can continune using them even
> within, for example, 10 years; nothing as irritating as backups which
> can't be used anymore because the current version doesn't support them
> anymore).
>
> I'm using windows XP with suversion 1.0.8. (by the way, why did the .exe
> installear dissapear from the download page? It was there yesterday, but
> i's gone now!)
>
> Thanks a lot,
>
> --
> Johan
>
> _________________________________________________________________
> De laatste last minute-reizen. http://connections.msn.be/?page=lm_NL

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 28 20:11:58 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.