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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.