We have Bitbucket installed on my own server, with Centos 7 platform.
We have tried taking the backup of the "Atlassian-Bitbucket" from the "/var/atlassian/application-data/bitbucket" to a different location and have installed a new instance of the bitbucket on a new machine and pasted the above directory along with the PostGres SQL dump to the new machine. But still unable to restore the entire repositories, users, projects etc.
* Please provide assistance on the same, as in how to backup and restore properly and what all directories need to copied and where to be placed for an instance to be running as it was.
It would be greatly appreciated if you could take up a remote session and help demonstrate this.
The new instance is starting but none of the previous repositories or users or projects are being shown there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you change the BITBUCKET_HOME variable in <BITBUCKET_INSTALL>/bin/set-bitbucket-home.sh to the new directory?
If not do so and restart BB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to the community!
The different locations you meant to say another machine or the same machine?
If there is a different machine then you can follow the steps mentioned on Atlassian Migrating Bitbucket from server to another server.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
By different location I did not intend to restore it to a different server only. But I did want to restore to another server or the same server.
Pls help on that
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If Its in the different server then you can follow the documents attached to my earlier comment.
Make sure you should point out your new bitbucket to the old home directory and also restore old bitbucket DB backup to new DB (if you are changing the DB as well).
Then you can restart the new bitbucket server manually.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.