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

Re: svnadmin load on live repository: safe or not?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-07-25 23:20:13 CEST

On Jul 25, 2005, at 4:12 AM, Dave Rodgman wrote:

> Hi,
> Is it safe to do "cat dump | svnadmin load /svn/
> live_repository" (while
> this repository is being served
> by apache)? Or does the repository need to be taken offline first? In
> general, the docs don't seem to
> mention which of the server-side commands can be run on repositories
> which are being served by, e.g., apache.

Well, 'svnadmin load' does a bunch of rapid commits in succession.
Do you care if other clients' commits happen in the middle, at random
points in time? Generally, you don't want that to happen, because
'svnadmin load' is usually run to reconstruct a repository. But
then, say, if you're loading a dumpfile into one area of the
repository, it's perfectly fine for client commits to happen in other
areas of the repository. It's up to you to decide.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 25 23:22:05 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.