Realtime mirroring Stash instance to backup/failover instance

We used rsync, but it probably make wrong coping on high loaded and large repos. If you did not stop Stash, then rsync possible lost some internal data of git withint Stash. For example, some opened Pull Requests will broken after new Stash instance started. It will complain about merge-base, will reject sha1 hash as unknown, etc.

Is there any ways to perform hot backup on fly? Someone get it worked? Does someone used File Systems with snapshots support?

We perform rsync every one minute, and we used innobackupex database engine for mysql.

1 answer

1 accepted

2 votes
Roger Barnes Atlassian Team Dec 03, 2013

At any given moment Stash can have active git, filesystem and database operations. Because of this, a clean hot-backup is not currently possible, even with filesystem snapshots. We intend to produce some better documentation and minor tweaks to the current backup-client based solution to allow for DIY backups with minimal downtime.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

2,043 views 1 5
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