[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: <dtandersen_at_cox.net>
Date: 2004-09-28 00:55:15 CEST

I have restored a repository by copying back the old files, so that works.

What I do now is have a batch file run 'svnadmin dump' every night and copy the dump file over to the backup PC on the LAN. The dump file contains a perfect copy of the entire repository.

  svnadmin dump c:\svnrepos > yourfile.txt
  copy yourfile.txt \\somewhere\\folder

To restore use:

  svnadmin load < yourfile.txt

I am curious to how other are doing backups.

> 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!)

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 28 00:55:59 2004

This is an archived mail posted to the Subversion Users mailing list.