issues with Bitbucket restore - "archive is not a ZIP archive"

I've been attempting to restore Bitbucket to another server and I get this error when using the Bitbucket Backup Client to do the restore:

[root@test /home/bitbucket-backups/bitbucket-backup-client-3.3.3]# java -jar ./bitbucket-restore-client.jar backups/bitbucket-20171029-211520-441.tar
2017-10-31 15:35:40,087 DEBUG        Adding jar ojdbc7-12.1.0.1.jar to the classpath
2017-10-31 15:35:40,111 DEBUG        Adding jar sqljdbc-6.0.7507.jar to the classpath
2017-10-31 15:35:40,111 DEBUG        Adding jar hsqldb-2.2.4.jar to the classpath
2017-10-31 15:35:40,112 DEBUG        Adding jar postgresql-9.4.1211.jar to the classpath
2017-10-31 15:35:40,593 INFO         Initializing
2017-10-31 15:35:43,620 INFO         Unpacking bitbucket-20171029-211520-441.tar to /var/atlassian/application-data/bitbucket
2017-10-31 15:42:36,818 DEBUG        Unpacking system backup to /var/atlassian/application-data/bitbucket/shared
2017-10-31 15:42:36,884 ERROR        bitbucket-20171029-211520-441.tar could not be restored
java.util.zip.ZipException: archive is not a ZIP archive
        at org.apache.commons.compress.archivers.zip.ZipFile.positionAtEndOfCentralDirectoryRecord(ZipFile.java:772)
        at org.apache.commons.compress.archivers.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:702)

 

original o/s is RHEL 6u6. new o/s is RHEL 7u3

The original has a local postgres 9.2 database. new system has postgres 9.5

 backup was produced using the same Bitbucket Backup Client version.

can anyone help?

0 answers

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 10, 2018 in Bitbucket

What is your #1 piece of advice to new users getting started using Bitbucket?

Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...

245 views 14 2
Join discussion

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