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

Re: Repository binary compatibility?

From: Tim Hill <tim.hill_at_realmgp.com>
Date: 2006-04-26 00:44:07 CEST

thanks for the info. As you note, I'll probably do it the official way
to avoid any possible issues.

--Tim

Nathan Kidd wrote:
> Tim Hill wrote:
>> Are repositories binary compatible across platforms? That is, if I
>> create a repo using (say) the Windows version of svnserve, can I
>> later move it to a Linux (or Mac) box and access it there using the
>> appropriate svnserver version? Or do I need to export/import?
>
> Using the FSFS backend, yes, you can move your repositories around at
> will.
>
> Using BDB I think the "official" line is "no", but in practice if your
> CPU architectures are the same you *can* move e.g. between Windows and
> Linux by (IIRC) removing the log files and doing a 'svn-admin
> recover'. I have successfully done this a few times in the past. If
> you search in the archives you'll find some info from Max Bowsher on
> this topic.
>
> Of course doing it the Completely-Guaranteed-Compatible-Way(TM) isn't
> difficult either:
>
> [host1] svnadmin dump oldrepo > oldrepo.dump
> [host2] svnadmin create newrepo
> [host2] svnadmin load newrepo < oldrepo.dump
>
> (Add some gzip and netcat goodness in there and you're laughing.)
>
> -Nathan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 26 00:45:45 2006

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.