I've put what I believe to be the correct, necessary values in the backup-config.properties file:
bitbucket.home=E:\\Atlassian\\ApplicationData\\Bitbucket
bitbucket.user=(local Windows user that runs the Bitbucket service)
bitbucket.password=(password for that same local user)
bitbucket.baseUrl=https://bitbucket.atlas.cm.com/
When I run the backup client, I get:
ERROR A backup could not be created
com.atlassian.bitbucket.internal.backup.client.BackupException: The Bitbucket version could not be verified; the server returned 401 Unauthorized. Backup/restore is only supported by Bitbucket 2.7.0 and later.
at com.atlassian.bitbucket.internal.backup.client.RestBitbucketService.handleVersionQueryFailure(RestBitbucketSe
rvice.groovy:359)
at com.atlassian.bitbucket.internal.backup.client.RestBitbucketService.getVersion(RestBitbucketService.groovy:18
8)
I'm running v5.7.0 and the latest version of the backup client.
Thanks.
Hi Joel,
It looks like you've used the wrong user + password. Instead of using your local Windows user, bitbucket.user should be the username of a sysadmin on the Bitbucket service.
bitbucket.password should be the password for that user on Bitbucket. So, to summarise:
bitbucket.user=(username of a sysadmin on Bitbucket)
bitbucket.password=(password for that same sysadmin on Bitbucket)
I hope this helps!
Cheers.
Thanks, Dick. Makes sense. I'll test that out tonight.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Joel and Dick! I've been searching and reading for hours/days trying to figure this and a few other things. I stumbled across this a few days after I created a post(never received a response though). The user I had was sysadmin on BB and it wasn't working due to a "!" in the password field. Ironically enough, I created another account with another sysadmin and didnt use the bang(just found out) and voila...thx!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
incredible hint of yours! I was having the same problem because of a $
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.