Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Copy database and backup entire server (with license)

We need to have one instance of slave Stash. This instance will be offline while Master instance is working. But when Master instance is switched off, we need to change Slave to Master and Master to Slave.

This means what two instances may have the same (equal) database and filesystem. We use replication for database and rsync for files. This also means what license and server ID will be same for both instances.

Is it ok to have same Server ID and License on two different servers?

2 answers

1 accepted

1 vote
Answer accepted

Hi Alexey,

You don't have to get a separate license for a cold standby server, so it's fine to use the same license and server ID for this purpose.

Please note that using rsync to synchronise data from one server to the other may lead to inconsistent/corrupt git repositories. This can happen because the rsync protocol does not synchronize a consistent 'snapshot' of the repository, but synchronizes file-by-file. If the rsync is done while git is writing to the repository, you'll can end up with incomplete or missing objects / pack files and refs pointing to objects that don't exist in you repository. Subsequent rsyncs will correct these inconsistencies, so it's eventually consistent, but if you're relying on this for high availability, you should consider setting up a SAN or distributed file system.



Michael, another one question. Is any license limitations for setup testing server by one day backup copy from production server? We never will be use this test server for production, only for testing new Stash releases and our plugins. So, in this case we have 3 servers with same license key and server ID. Is it ok?


Sounds like your talking about a 'staging' server, where you test Stash upgrades / plugin upgrades? You can use the same license for your staging server.


Thank you! Our configuration: -- Online production with License, users sits here -- Slave hot backup for production. If production is down, this server will be switched on. Not visible for users until production is OK. If production is down, then users switched to this server. The same license as for -- Testing (staging) server. Server mirrored from production ( at every night. Not visible for users, only for maintainers of stash in our company. The same license as for

0 votes
Timothy Rising Star Sep 12, 2013

I don't see why not.

Is any license agreement limitions?

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events