Realtime mirroring Stash instance to backup/failover instance

Alexey_Efimov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 5, 2013

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
Answer accepted
Roger Barnes
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 3, 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.

Alexey_Efimov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 30, 2014

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events