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

Re: svnadmin dump on live repository

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-06-25 15:56:13 CEST

On Jun 24, 2005, at 9:07 PM, Chris Jensen wrote:

> Hi,
> Just curious, is performing "svnadmin dump" on a repository that
> may also be accessed by users (over webdav) safe?
> Is there any reason it shouldn't be done?

It's perfectly fine. It's no different than running 'svn checkout
file:///' in a loop, over each revision. All sorts of other reads/
writes can be happening at the same time from other servers. The
nice thing about the repository's architecture is that readers are
*never* blocked, ever.

>
> The book doesn't seem to say one way or another. Though I've
> noticed users mentioning that their backup solutions involve using
> "svn-hot-backup" and then running "svnadmin dump" off the hot
> backup rather than the live repository.
>

Hot backup is just a way of copying db files in a specific order, so
as to guarantee that your backup remains consistent. If the
repository is offline, then 'cp -R' is all you need.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jun 25 15:57:56 2005

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.