Backup Client returned 404 not found

This question is in reference to Atlassian Documentation: Troubleshooting Backup - Client

I am using backup client (3.0.0) to backup the repository in Bitbucket.net; the initial backup was done initially in March without problem. However, I ran into an error

$ java -jar bitbucket-backup-client.jar 
2016-08-01 11:29:52,489 INFO         Initializing
2016-08-01 11:29:53,988 ERROR        A backup could not be created
com.atlassian.bitbucket.internal.backup.client.BackupException: The Bitbucket version could not be verified; the server returned 404 Not Found. Backup/restore is only supported by Bitbucket 2.7.0 and later.
    at com.atlassian.bitbucket.internal.backup.client.RestBitbucketService.handleVersionQueryFailure(RestBitbucketService.groovy:359) ~[bitbucket-backup-client.jar:3.0.0]
    at com.atlassian.bitbucket.internal.backup.client.RestBitbucketService.getVersion(RestBitbucketService.groovy:188) ~[bitbucket-backup-client.jar:3.0.0]
    ... 9 more frames available in the log file

I checked the backup-config.properities and the bitbucket.baseURL, bitbucket.home are correct; I did not change it since the initial backup in March. The same error shows when running backup client 3.3.0.

Any suggestions ?

Thanks

 

 

3 answers

This widget could not be displayed.
Jeff Thomas Atlassian Team Aug 01, 2016

What is the Base URL that you have configured?

This widget could not be displayed.

The baseURL is

bitbucket.baseUrl=https://bitbucket.org/

In my original question, it should be Bitbucket.org not the Bitbucket.net. I also tried to set the URL to http://bitbucket.org without trailing '/', and got the same response.

This widget could not be displayed.
Jeff Thomas Atlassian Team Aug 01, 2016

The Bitbucket Server Backup Client is only compatible with the self-hosted Bitbucket Server instance (previously known as Stash). More details on the backup client can be found at https://confluence.atlassian.com/display/BitbucketServer/Using+the+Bitbucket+Server+Backup+Client

This backup client will not work with Bitbucket Cloud (hosted at bitbucket.org). More information on backups for Bitbucket Cloud can be found at https://confluence.atlassian.com/pages/viewpage.action?pageId=288658413. A clone of the repository can serve has a backup of the code (but will not preserve pull requests and comments).

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,225 views 8 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you