Hello, we started backing up our on premises Bitbucket 4.14.4 installation with the client strategy (https://confluence.atlassian.com/bitbucketserver/data-recovery-and-backups-776640050.html#Datarecoveryandbackups-Bitbucketbackupstrategies).
We tried to restore it on a cold server: we see the projects, but there is no code associated.
Is it correct? Are missing some steps?
Hi Andrea!
Bitbucket Backup Client definitely backs up repositories data as well.
It seems like your Bitbucket has some issues with reading the contents of your Bitbucket home directory.
There might be a few reasons for that:
1. you've restored the backup with a different user than your Bitbucket default user, and it's a permission issue
2. you haven't restored it to the same home directory as before
Ad 1. Please go to your $BITBUCKET_HOME/shared/data/repositories directory and check if there are any directories present. It should contain numbered folders. These are your repositories. If it is NOT empty, please check the permissions on the directories and change them to the user running Bitbucket Server
Ad 2. If the $BITBUCKET_HOME/shared/data/repositories is empty that means you might have restored it to some different folder. The best option, in that case, might be to simply remove all the contents of $BITBUCKET_HOME and restore it again.
However, before any action is taken, please confirm in the backup log what has been backed-up.
Please let us know if you were able to recover your code!
Best regards,
Tomasz Tokarczuk
Atlassian Support
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.