The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

unable to restore bitbukcet from the backup taken by Backup Client

Ithead Findoc
July 15, 2020

Unable to restore the Bitbucket from the backup client. I am running Bitbucket on centos 7, I am running "java -jar bitbucket-restore-client.jar" but it gives error:

Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'backupHome' defined in class path resource [META-INF/spring/common-spring.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.bitbucket.internal.backup.client.layout.DefaultBackupHome]: Constructor threw exception; nested exception is java.lang.IllegalStateException: /root/bitbucket-20200714-165408-907.tar already exists and is not a directory
2020-07-15 16:47:02,320 ERROR The application could not be started. An unexpected error prevented the Spring
ApplicationContext from being created. Details of the error follow.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'backupHome' defined in class path resource [META-INF/spring/common-spring.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.bitbucket.internal.backup.client.layout.DefaultBackupHome]: Constructor threw exception; nested exception is java.lang.IllegalStateException: /root/bitbucket-20200714-165408-907.tar already exists and is not a directory
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:304)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:285)
... 20 more frames available in the log file

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events