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

Re: dump and load

From: Geoffrey <lists_at_serioustechnology.com>
Date: Tue, 15 Apr 2008 11:36:06 -0400

Geoffrey wrote:
> I'm trying to verify the validity of our backup process. What I'd like
> to do is take the output of an 'svnadmin dump' and run 'svnadmin load'
> on another machine. Unfortunately, it appears that it's looking for a
> directory structure from the original machine, I get:
>
> svnadmin: Can't open file '/svrepos/format': No such file or directory
>
> Is it possible to do what I'm trying to do?
>
> I'm assuming that there is a way to take the dump and recreate our
> repository on a machine newly configured. Say, in the event our
> repository server crashes.

Sorry for the wasted bandwidth, I figured it out:

svnadmin dump > dumpfile
svnadmin create /svrepos
svnadmin load /svrepos < dumpfile

-- 
Until later, Geoffrey
Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.
  - Benjamin Franklin
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-15 17:36:54 CEST

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.