Showing posts with label Tortoise SVN. Show all posts
Showing posts with label Tortoise SVN. Show all posts

How to create svnserve service for Tortoise SVN server?

By // No comments:

How to create and delete svnserve service for Tortoise SVN server?

Tortoise svn no connection could be made because the target machine actively refused it

How to create svnserve service on windows, execute the following command to create service which is automatically started when window start.


For create svnserve service on service control manager:-

sc create svnserve binpath= "\"C:\Program Files\TortoiseSVN\bin\svnserve.exe\" --service --root c:\repos" displayname= "svnserve" depend= tcpip start= auto





To custom in command:-

C:\Program Files\TortoiseSVN\bin\svnserve.exe\ = It is location of TortoiseSVN file programme

c:\repos = It is location of repositry where your svn repository created on your system.

Displayname "svnserve' = It is display name of service.


For Delete svnserve service on service control manager:- 

sc delete svnserve binpath= "\"C:\Program Files\TortoiseSVN\bin\svnserve.exe\" --service --root c:\repos" displayname= "svnserve" depend= tcpip start= auto

How to take Backup and Restore of Tortoise SVN on window?

By // No comments:

How to take Backup and Restore of Tortoise SVN on window?



For Backup:- 

Go to Run with Administrator privilege and then type cmd now command prompt open 
Type svnadmin dump e:\svn (source location of svn repository ) > e:\svn\svnbackup (destination location where you have to keep your backup file) and press Enter.




cmd: svnadmin dump e:\svn > e:\svn\svnbackup   



For Restore:- 

Go to Run with Administrator privilege and then type cmd now command prompt open 
Type svnadmin load e:\svn (destination location of svn repository ) < e:\svn\svnbackup (source location where you have to backup file keep) and press Enter.
  
cmd: svnadmin load e:\svn < e:\svn\svnbackup