1) To access a terminal server from Synology, you’ll need to have either SSH or Telnet running. If you haven’t done this already, go to the control panel and click the “Terminal” icon. Check Enable SSH service.
2) Go to your old repository and run:
svnadmin dump /path/to/repository > repository-name.dmp
(repository-name should be replaced with whatever you called your repository)
svnadmin dump C:\Repositories\source > source.dmp
3) The previous step will create a .dmp file. Copy it to your NAS (for example, I copied it to \\220.127.116.11\Shared ).
2) Use putty, Bitvise SSH client, etc. and connect to your NAS on port 22. Log in using “root” and the same password that you use when loggin into the page at http://18.104.22.168:5000/webman/index.cgi . It is important to login as root and not admin so that the proper owner of the database is setup.
3) Now that you’re logged in via SSH type:
svnadmin create repository-name
svnadmin load repository-name< repository-name.dmp
It should start importing the dump, which will take a long time so go get some coffee.
4) Now if you do an ls -la you’ll see a new folder with the name of your repository. The config files are in that folder! At this point I thought I was done – I could checkout and view files, but the problem is that I couldn’t commit – I still didn’t have write permissions! You can at least verify at this point that your database dump was successfully loaded by opening up the SVN app in the web GUI (the svn packaged app on your Synology NAS)
5) You will need to edit the config file. Busybox has vi and some type of elvis editor I never heard of. I used VI. If you’ve forgotten most of the commands for VI, just google VI commands and use the cheat-sheet. Type:
6) Uncomment these lines:
auth-access = write
password-db = passwd
At the bottom I found the following:
(If it’s not at the bottom of your file, uncomment it above)
7) Save the file. You may have to restart svn – I’m not sure. I just rebooted the whole NAS to be safe.