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

RE: RE: Backing up a live repos

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-05-11 01:22:37 CEST

On Mon, 2004-05-10 at 18:17, Garrick Olson wrote:
> Is it strictly necessary to do "svnadmin hotcopy" before "svnadmin
> dump"? Or is this a performance optimization?
>
> I looked at the svn book, but it doesn't seem to indicate whether it is
> safe to do "svnadmin dump" on a live repository. Maybe I just missed
> it.

'svnadmin dump' is exactly the same as doing a checkout of every
revision. So yes, it's perfectly safe to run on a live repository.

'svnadmin hotcopy' is exactly the same as:

  1. cp -R repos repos-backup
  2. cp -R repos/db/log* repos-backup/db/
  3. svnadmin recover repos-backup

...and this can also be run on a live repository.

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