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

Re: Reading an old SVN database

From: Ryan Schmidt <subversion-2010b_at_ryandesign.com>
Date: Fri, 7 May 2010 12:07:39 -0500

On May 7, 2010, at 12:03, Bob Archer wrote:

>> On May 7, 2010, at 10:09, Felix E. Klee wrote:
>>
>>> From a server that is not running anymore, I have a backup of the
>> Subversion database: /var/db/svn
>>
>> It would have been better to back up a dumpfile of the repository, since
>> dumpfiles are portable.
>>
>>
>>> Now I want to check out the latest version of every repository in that
>> database. What's the best way to proceed?
>>
>> Since you only have the old database, your best bet is to get a machine
>> with the same processor architecture as the old server, and a version of
>> Subversion at least as new, and access the repository. If the repository
>> is using BerkeleyDB (BDB) you should also use the same version of
>> BerkeleyDB that the old server was using, otherwise you may need to do
>> some upgrades on the repository before you can read it.
>
> Might it just be easier using svn 1.6.11 to access each repository using the file:// protocol and do a check out?

Yes, but as I said, that svn 1.6.11 will have to be compiled against the same version of BDB as the old server's Subversion was (if the repository is using BDB), and will have to be running on a server of the same processor architecture (at least, that always used to be the advice with BDB; I don't know for a fact whether this still applies for FSFS).
Received on 2010-05-07 19:08:13 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.