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

This widget could not be displayed.
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
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,348 views 8 11
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