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

Re: Import existing SVN-Database

From: Vasili Sviridov <vsviridov_at_exceede.com>
Date: 2007-07-30 19:58:10 CEST

Anton Hofmann wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all,
>
> we have following SVN constellation in our company.
>
> Server1 <-- The productive SVN Server, all our versioning runs over this
> machine.
>
> Server2 <-- Server2 is a clone of Server1, just with RAID1 (md-raid)
>
> both the same 1.4 version.
>
> The Server2 Database is about 2 month old, so i would like to import the
> whole SVN-Tree/Database from Server1 to Server2.
> The problem is, i canĀ“t stop the subversion service for more than 10
> minutes. I it possible to import the existing database from server1 than
> stop the svn service on server1 and import the last changes from server1
> to server2?
>
> kind regards
>
> anton
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
>
> iD8DBQFGrfuoUhOOK1n0VVkRAphZAJ0Welwp6JpVC6Le4f86PSj9kZUvbQCgiDjt
> hG/JNdMkKjsjxXq3jzrs62o=
> =aZo4
> -----END PGP SIGNATURE-----
>
You can try making a hot-copy
(http://svnbook.red-bean.com/en/1.0/re33.html) and then do a svndump of
everything *after* you made a hot copy (using -r switch) and restore
that on the new server. this way the incrementals will be pretty small
and you can get the job done in the 10 minute period.

You can always ask your users not to commit anything during the migration :)

V.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 30 19:58:41 2007

This is an archived mail posted to the Subversion Users mailing list.