volvox
volvox

Reputation: 1234

Remote SubversionSVN connection to Unix Server

Having installed TurtoiseSVN locally (local repository, no server) for my Delphi projects, i now want to share my updates via internet. To make it possible i did install Subversion (version 1.6) on an Apache Unix server (RedHat, VDS Hosting plan with Sphera) and created a repository folder at that place. The server is running well but i'm a bit lost at that point:

What are my best options to import the projects to the Unix repository, the easiest will be to clone the local repository to the one on the Unix machine? - ideally i would like them both synchro. What is the best tool to manage the Unix Subversion server and its repository (right now i'm using SSH Explorer) and best tool to checkout/import/export files on the repository of that server?

Tx

Upvotes: 2

Views: 713

Answers (2)

volvox
volvox

Reputation: 1234

I have found a solution to my problem.

General remote connection script from a Windows SubversionSVN to a unix Subversion server:

svn+ssh://<username>@<hostname>:<port>/<location of the SVN repository>

Better, lets have username and password parameters added to TortoisePlink.exe, Open Explorer file window, right-click in the file section (get a pop-up), choose: TortoiseSVN -> Settings -> "Network" Pane-> SSH Client.

exemple: 'TortoiseSVN\bin\TortoisePlink.exe -l username -pw password'

now the connection will be:

svn+ssh://@<hostname>:<port>/<location of the SVN repository> ... no need to add username and no password asked for.

Upvotes: 1

mjn
mjn

Reputation: 36644

To copy the local repository to the server, you can use svnadmin dump to backup the local repo including all revisions to a portable backup file. On the target server, use svnadmin load to install the backup.

See 'Repository Maintenance - Migrating Repository Data Elsewhere' in the documentation.

If you have the server running, there is no need for the local repository anymore. If you really want to keep and synchronize a local repository with the server, you can use the svnadmin hotcopy command.

Upvotes: 7

Related Questions