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

RE: SVN dump/load Question

From: Frank Facciola <frank.facciola_at_sknt.com>
Date: 2007-03-30 22:18:21 CEST

 
Ok, so I took a dump from my old subversion server v1.08 with a Berkeley DB back-end, gzipped it and transferred it via scp to my new subversion server v1.32 that was compiled without Berkeley DB

I created a new repo:
svnadmin create --fs-type=fsfs /var/svn/repo

And then loaded my dump file [/var/svn/svn.dump]:
svnadmin load /var/svn/repo < /var/svn/svn.dump

This is what I get:

subversion02:/var/svn# svnadmin load /var/svn/repo/ < svn.dump
<<< Started new transaction, based on original revision 1
     * adding path : .dummy ... done.
svnadmin: Can't open directory '/var/svn/repo/db/transactions/0-1.txn/¥': No such file or directory

Any ideas?
-----Original Message-----
From: Maxim Veksler [mailto:hq4ever@gmail.com]
Sent: Friday, March 30, 2007 1:56 PM
To: Andy Levy
Cc: Frank Facciola; users@subversion.tigris.org
Subject: Re: SVN dump/load Question

On 3/30/07, Andy Levy <andy.levy@gmail.com> wrote:
> On 3/30/07, Frank Facciola <frank.facciola@sknt.com> wrote:
> >
> >
> >
> > Can I take a svndump from a BDB database running SVN v1.08 and load
> > it into a new repository on a different server that is running SVN
> > v1.3.2, but has been compiled without BDB and is using the FSFS?
>
> Yes, this is one of the reasons for having the dumpfile functionality.
> SVN dumps are platform- and backend-agnostic and are one of the the
> safest ways to move repositories across Subversion versions (and the
> only way to change back-ends, AFAIK).
>

And on an OT note: Dumps are also better for backups, because the software (if it's smart enough) can make incremental backup of the dumped file.

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

--
Cheers,
Maxim Veksler
"Free as in Freedom" - Do u GNU ?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 30 22:19:03 2007

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.