how can I change the Stash repository directory path to a new place

 

1 answer

This widget could not be displayed.

You need to change the location of STASH_HOME, as described here.

STASH_HOME it's a path, Can I copy all the sub directories in the path to the new location, restart stash and all the projects will work without any problem?

What I want to do is to put all my Git/Stash projects in a NetApp machine so if something goes wrong with the Stash server I'll be able to move to a standby node. Second I'll be able to backup the projects using NetApp tools to a different location for DR.

The page I linked to has all the info there is about this topic. It says "Where possible, you should choose a location for your Stash home directory that will never need to be moved. Some home contents are location-sensitive, so moving the home directory may corrupt them. Stash attempts to update contents when it detects that the home directory has moved, but the safest approach is to avoid the issue altogether by leaving the home directory in the same location." On the other hand, we have done this several times and it has never actually caused a problem.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,193 views 8 10
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you