[SOLVED] Step by step method of copying a svn repository from linux server to Windows server
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Step by step method of copying a svn repository from linux server to Windows server
I know little if anything about svn, so need your assistance. I have a linux server running svn. I have a Windows server running svn. First, I'm looking for a way to copy an svn repository from the linux server to a new Windows server repository. I've looked for how to do this on the Internet and within the Apache.org website(which is now the maintainer of SVN).
I haven't found anything on a very granuler way to copy a repository from one O/S to another other than folks say it can be done. Not how.
Second, is there a way to automatically do this on a regular basis? I see the manual process of svnadmin dump and svnload. Also there is a manual process of svnadmin hotcopy.
I'd appreciate any input on how these two things may work. Anyone have any experience on how to do these two things?
About automating, you have the disadvantage of working with two operating systems, so I would think you'd need to script something in a language that's supported on both OS, like Python for example, for the automation process.
I'll look into the two sites you suggest. As far as scripting between the two O/S's, would you think this would be a onetime process for the first transfer then incremental transfers after that? Sorry, I'm not a coder and will have to get with the developers on both ends of the O/S stream.
In a nutshell, we're in a tight spot for our code repository. I'm trying to come up with the safest and most cost effective means of having the repository backed up and immediately available should the primary server go down.
The primary is an old linux box and the corporate server(in another geographical location) is a new Windows server running the Windows version of svn.
Not exactly my choice, but I have to play the cards I'm given.
If it's just for backup purposes, then why don't you make a svndump on a regular basis with a script running through crontab and copy that dump over to the Windows server? In case the Linux box goes down, you'll be able to import the dump instantly on the Windows server and all your users have to do is sync with the Windows version of Subversion. Just an idea. The fact of having two copies of the same code available is asking for trouble since you can never trust all your users to play by the rules. Having two copies will surely get you in trouble after some time, having different versions of the same code on the two repositories. You'll loose a lot more time when you need to solve that kind of problems then when you have to import a dump file in my opinion.