You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Anton Hofmann <T-...@weltfremd.at> on 2007/07/30 14:54:32 UTC

Import existing SVN-Database

-----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-----

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

Re: Import existing SVN-Database

Posted by Vasili Sviridov <vs...@exceede.com>.
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