You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Dave Rodgman <Da...@arm.com> on 2005/07/25 09:12:19 UTC

svnadmin load on live repository: safe or not?

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.

Thanks,

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


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

Posted by Ben Collins-Sussman <su...@collab.net>.
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