Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Backup Client returned 404 not found

keouchao August 1, 2016

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

0 votes
Jeff Thomas
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 1, 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).

0 votes
keouchao August 1, 2016

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.

0 votes
Jeff Thomas
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 1, 2016

What is the Base URL that you have configured?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events