* Notar que svnadmin dump sólo funciona para paths y no urls.
$ svnadmin dump /home/svn/crmdev > crmdev.dump
* Dumped revision 0.
* Dumped revision 1.
* Dumped revision 2.
* Dumped revision 3.
* Dumped revision 4.
...
Se crea un archivo de 184M
...Lo comprimo...
184M -rw-r--r-- 1 lukesw lukesw 184M 2011-04-15 11:04 crmdev.dump
...
$ bzip2 crmdev.dump
... y queda en unos 141M141M -rw-r--r-- 1 pablito pablito 141M 2011-04-15 11:04 crmdev.dump.bz2Me ahorré 40M de transferencia entre servers, que con la tasa de transferencia de Infinitum son bastante considerables.
$ scp crmdev.dump.bz2 svn@super.newserver.com:/home/svn
En el nuevo servidor creo el repositorio y lo cargo con el dump$ svnadmin create crmdev
$ svnadmin load crmdev < crmdev.dump
...
<<< Started new transaction, based on original revision 1
* adding path : trunk/umlconcepts ... done.
* adding path : trunk/umlconcepts/.classpath ... done.
* adding path : trunk/umlconcepts/.myumldata ... done.
* adding path : trunk/umlconcepts/.project ... done.
* adding path : trunk/umlconcepts/.settings ... done.
* adding path : trunk/umlconcepts/.settings/com.genuitec.eclipse.core.prefs ... done.
* adding path : trunk/umlconcepts/uml.umr ... done.
...
<<< Started new transaction, based on original revision 63
* editing path : trunk/productsweb/WebRoot/WEB-INF/jsp/footer.jsp ... done.
------- Committed revision 63 >>>
Listo, el repositorio ha sido copiado/movido
No hay comentarios.:
Publicar un comentario