Search code examples
linuxsvnconfigurationsvn-repository

After migrate svn repositories to another server in conf folder passwd file is empty


After migrating svn repos from a server to another server, even I used "--force-uuid" in svnadmin load command, the passwd files of the repositories are empty. All conf folder contents are empty.

Is there a way to migrate conf file properly?

Thanks for your help.

edit: from server's svn version is 1.6, to server's svn version is 1.7. is version difference causes a problem like this?


Solution

  • edit: from server's svn version is 1.6, to server's svn version is 1.7. is version difference causes a problem like this?

    You must not use Subversion 1.7 or older versions. Upgrade to the latest 1.9.x.

    I would recommend that you read the documentation before you perform any repository maintenance or administration tasks. SVNBook is a great resource of information about Subversion and version control in general. It will help you familiarize yourself with common terminology and concepts of SVN and version control.

    After migrating svn repos from a server to another server, even I used "--force-uuid" in svnadmin load command, the passwd files of the repositories are empty. All conf folder contents are empty.

    Read SVNBook | Repository data migration using svnadmin:

    The Subversion repository dump format describes versioned repository changes only. It will not carry any information about uncommitted transactions, user locks on filesystem paths, repository or server configuration customizations (including hook scripts), and so on.

    And note that UUID has nothing to do with your htpasswd file.