Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using VisualSVN server. Since one of the hosted repositories is moving to a different server, I'd like to export a table of users with their password hashes and import it at the new location.

There does not seems to be an official way to do this. I found that passwords are stored in 'htpasswd', but it seems to be linked in other locations, too, so it feels like a dangerous idea.

Do you have any experiences with moving repositories, or is there a different way I should try?

share|improve this question
up vote 3 down vote accepted
  • To move only user accounts you can just copy the 'htpasswd' file to the new server. However in that case all Subversion user accounts will be available on the new server. After you move the 'htpasswd' you may edit it through VisualSVN Server Manager to get rid of unnecessary user accounts or to create new ones.

  • 'htpasswd' has a standard format and can be also managed by standard htpasswd utility. See

  • Please also consider moving the 'authz' file to the new server. 'Authz' file contains path-based authorization settings and by moving the file you won't have to set permissions for users again.

share|improve this answer
Is the htpasswd/authz format used by all Svn servers, or is it specific to VisualSVN? – mafu Mar 15 '12 at 14:30
'htpasswd' and 'authz' are used by all Subversion servers that use Subversion authentication type. For Active Directory authentication there is obviously no 'htpasswd' however 'authz-windows' has the same 'authz' format but contains AD users and groups SIDs instead of usernames. – bahrep Mar 16 '12 at 12:34
I see, thanks a lot! – mafu Mar 16 '12 at 13:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.