Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket Server- Can we configure the repositories location?


Can you tell me if when we install Bitbucket Server on Linux RHEL, we can install it under /opt, but the repositories that are created be under a shared drive? 

1 answer

1 accepted

0 votes
Answer accepted
DPK J Community Leader Sep 11, 2019

@Eyal Goren  Bitbucket Server store repositories in <BITBUCKET_HOME>/data directory. To solve your problem, either you can mount home folder of Bitbucket Server to shared drive (which is really a great idea) or you can just mount `data` directory to shared drive.

You can learn more about how to update home directory, and what does it contain from this documentation provided by Atlassian -

Thanks DPK J!!


I we already have Bitbucket, can we move the data directory to a shared drive and then mount it to point there?

DPK J Community Leader Sep 11, 2019

@Eyal GorenYes.

You can move content of data directory to shared drive, and  later mount that shared drive to <BITBUCKET_HOME>/data .

Few things you need consider are,

  • User running Bitbucket must have write permission on shared drive
  • you stop Bitbucket server before doing this.


I suggested HOME directory first because, in that you just need to copy full content of home to shared driver and just set path of HOME directory to shared drive. No need for mount etc.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,826 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you