Stash shutdown before backup

The following statement can be found at https://confluence.atlassian.com/display/STASH/Data+recovery+and+backups.

Important: Stash should be shut down before making any backups, to ensure data consistency.

Is this really a requirement? If so, are there any plans to allow for live backups? We are evaluating Stash and other Atlassian products and would definitely require zero downtime for backups before we could adopt it on a larger scale.

Thanks.

2 answers

1 accepted

Hi Justin,

Shutting down Stash is a requirement if you want a consistent backup with the database and the repositories perfectly in sync.

However, you can choose to backup your database and filesystem while Stash is running (it's what we are doing internall), in which case it's likely that the two get out of sync.

We will provide more documentation and guides on backup strategies for Stash in the coming months.

Cheers,
Jens

I was hoping you'd say that. =)

Hi Justin,

Currently yes, we do recommend taking Stash offline before performing a backup. The reason for this is that we need to ensure the files on disk (e.g. your Git repositories) are consistent with the records in the Stash database.

However we could build a feature that allows backups to occur whilst Stash is still running, with minimal downtime. I'd recommend creating a feature request in the Stash project that allows you to take a backups whilst Stash is still running. Our Product Managers are always interested in feedback and incorporate customer demand (particularly issues and votes in JIRA) when prioritising our roadmaps.

Hope this helps!

Tim

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in United States

Topic Tuesday: What's your favorite topic?

Good morning All, Our goal is to get you into the habit of while enjoying your favorite morning drink you are checking the NOVA "space" for topics and comments. Your input is really needed and...

60 views 4 0
View post

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