Basic SVN commands and configuration

Linux and Windows pathnames are used in the same way, except in Windows we need to specify the drive letter also.



Create Repository
Command: svnadmin create [repository_location]

Then modify the following files:
  • /conf/svnserve.conf
    Disable anonymous access and allow password file usage.
  • /conf/passwd
    Create yourself a login.

Migrate Repository
Firstly we need to dump it into a portable file so we can transfer it.
Command: svnadmin dump [repository_location] > ./outputfile

Transfer the output file to the new server.
Once the new repository has been created, we can in the old repository data.

Command: svnadmin load [new_repository_location] < ./inputfile

Note: this does not transfer your settings such as passwords or access configurations.
Copyright © Twig's Tech Tips
Theme by BloggerThemes & TopWPThemes Sponsored by iBlogtoBlog