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

Re: Migrating SVN repository

From: Berthold Höllmann <hoel_at_gl-group.com>
Date: 2004-11-24 09:17:33 CET

Ulrich Eckhardt <eckhardt@satorlaser.com> writes:

> Berthold Höllmann wrote:
>> I am trying to migrate a SVN repository from a computer running SuSE
>> 9.0 to one running SuSE 9.1. Both have subversion 1.1.0 installed from
>> some RPMs. I copied the repository directory from the old server to
>> the new one. When I try to checkout now I get:
>>
>> /tmp >svn co svn://hoel@newserver/Project/trunk
>> svn: Berkeley DB error while opening environment for filesystem
>> /srv/svn/Project/db: Invalid argument
>> svn: bdb: Berkeley DB library configured to support only DB_PRIVATE
>> environments
>>
>> Googling brougth up an issue with modern thread libraries that causes
>> the above error message. If I understand it right, the only cure is to
>> move from bsdb storage to FSFS. Is there any advice avaliable
>
> The format of the underlying BDB is not portable between different systems or
> architectures. What is portable is the dumpfile format, see 'svnadmin load'
> or 'svnadmin dump'. In other words, you don't need to switch FSFS, you only
> need to load a dumpfile (created on the old system) into a fresh repository
> on the new system.

I guess I do have to change to FSFS:

On my new server I get:

# sudo -u svn svnadmin create /srv/svn/Project
svn: Berkeley DB error while creating environment for filesystem /srv/svn/Project/db:
Invalid argument
svn: bdb: Berkeley DB library configured to support only DB_PRIVATE environments

So I'll switch to FSFS.

Kind Regards
Berthold

-- 
hoel@GL-Group.com              __   Address:
                            G /  \ L Germanischer Lloyd
phone: +49-40-36149-7374    -+----+- Vorsetzen 35       P.O.Box 111606
fax  : +49-40-36149-7320      \__/   D-20459 Hamburg    D-20416 Hamburg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 24 09:22:50 2004

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.