# Is it possible to change the directory where the subversion repositories are created?

**URL:** <https://community.cloudogu.com/t/is-it-possible-to-change-the-directory-where-the-subversion-repositories-are-created/1192>\
**Category:** SCM-Manager (General)\
**Created:** [July 12, 2023, 12:43am UTC](https://community.cloudogu.com/t/is-it-possible-to-change-the-directory-where-the-subversion-repositories-are-created/1192 "2023-07-12T00:43:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![martinperucki](https://dub1.discourse-cdn.com/flex013/user_avatar/community.cloudogu.com/martinperucki/32/1188_2.png) [@martinperucki](https://community.cloudogu.com/u/martinperucki)\
**Post date:** [July 12, 2023, 12:43am UTC](https://community.cloudogu.com/t/is-it-possible-to-change-the-directory-where-the-subversion-repositories-are-created/1192/1 "2023-07-12T00:43:46Z")

</div>

Hi!  
I am currently testing scm-manager on a Rocky Linux 9 machine, and was wondering if there is any way to specify the subversion repositories directory. I did notice that the repositories created with scm-manager seem to be created within a specific ID directory, and the data stored under **/data.** (Which already makes me think there is no way to modify the repositories directories but asking just in case…)

Let’s say that I already have Subversion installed on this machine, with the following paths set in my **subversion.conf** file:

* * *

```
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so

<Location /svn>
  DAV svn

  SVNParentPath /myPath/svn/repo
  SVNListParentPath on

  ## Subversion Auth Setting
  ## --------------------------
  AuthType Basic
  AuthName "Subversion Repository Authenticated Zone"
  AuthUserFile /myPath/svn/conf/svn_passwdfile
  AuthzSVNAccessFile /myPath/svn/conf/svn_accessfile
  Require valid-user
</Location>

```

* * *

Is there any way to set the path **/myPath/svn/repo** on scm-manager so the data is created there instead? I do know how to modify the base directory of scm-manager itself, but couldn’t find any way of only modifying the repositories path.

Also, I was wondering what would happen if another software such as TortoiseSVN creates a directory on that repositories path, as I can see that scm-manager.conf is created under each repository’s /data directory.

Thank you for your time!  
Best regards.

---

<div class="post-metadata">

**Author:** ![pfeuffer](https://dub1.discourse-cdn.com/flex013/user_avatar/community.cloudogu.com/pfeuffer/32/72_2.png) [@pfeuffer](https://community.cloudogu.com/u/pfeuffer)\
**Post date:** [July 12, 2023, 5:38am UTC](https://community.cloudogu.com/t/is-it-possible-to-change-the-directory-where-the-subversion-repositories-are-created/1192/2 "2023-07-12T05:38:33Z")

</div>

Hi @martinperucki ,

SCM-Manager keeps all repository related data in one directory, including all metadata related to the repository. By default, this is the directory with the repository id you find in the `repositories` folder. It is possible to move this complete directory to wherever you like. You just have to adapt the path in the `repository-paths.xml` file in the `config` directory (this can be an absolute path, too). It is not possible to specify the path for the “raw” repository data alone, though (the `data` directory in the repository). Having that said, if you want to/have to move this folder alone, I think that a symlink should work nonetheless.

Hope this helps  
René

---

<div class="post-metadata">

**Author:** ![martinperucki](https://dub1.discourse-cdn.com/flex013/user_avatar/community.cloudogu.com/martinperucki/32/1188_2.png) [@martinperucki](https://community.cloudogu.com/u/martinperucki)\
**Post date:** [July 13, 2023, 12:51am UTC](https://community.cloudogu.com/t/is-it-possible-to-change-the-directory-where-the-subversion-repositories-are-created/1192/3 "2023-07-13T00:51:07Z")

</div>

Hi @pfeuffer  
Understood!  
Thank you for your reply.
