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

Stash Backup and Restore

Does someone has developed a good Stash Backup and Restore scenario? I am startign to work on a scenario and as there is no "tool" included I see many hurdes to solve it. I need to cover following: Usually we have a production server and one "cold or warm standby" system for a case of emergency. In such a case we have to keep the standby-system relatively sync with the production one. Usually in Jira or Confluence we could simply use the import/export functionality and thus we could give this synchronisation in a hand of a simple employed employee. Now for stash we need to craft knowleedge from well payed colleaques and optimize the processes to have a valid backup and valid restore-system (we need to dump the database, copy the filesystem, have to consistencely modify the sql dumpfile to point to the cold-standby-URL [what a mess!]). THis is hard work just for a simple restore mechanism... Does someone know if there are activities besides atlassian to have something like that import/export mechanism? The real problem is stash, not the repositories - they are on the users clients, too ;) We guess we will host more than 200 Projects with ~four times of repositories in the next 2-3 years. So also the manual method of "just add the repository in the standby-system and clone-configure the permissions" is not continuable. I also think the backup-mechanism of dumping and file-copying is not very consistant. Any further well thought ideas?

1 answer

Hi there,

We recommend customers to backup their database and home directory directly due the data amount.

Stash generally stores a larger amount of data and even in Confluence and JIRA we recommend using an external backup strategy over the in-app backup feature. For example the Confluence documentation states:

Note: The XML export built into Confluence is not suited for the backup or migration of large data sets. There are a number of third party tools that may be able to assist you with the data migration. If you would like help in selecting the right tool, or help with the migration itself, we can put you in touch with one of the Atlassian Experts.


Suggest an answer

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

Listening out loud: how Dave Liao works on distributed teams

The start of the COVID-19 pandemic served as a forcing function to re-evaluate the way teams worked together. In fact, many companies are re-learning how to collaborate with their teams. As some move...

122 views 4 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