Support

Akeeba Backup for Joomla!

#13500 JPS won't extraxt when it contains a .zip file

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by nicholas on Tuesday, 11 September 2012 14:54 CDT

davesage
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? None applicable
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: 2.5.6
PHP version: 5.3.x
MySQL version: 5.1.x
Host: (optional, but it helps us help you)
Akeeba Backup version: 3.6.3

EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.

Description of my issue:
I have a site which is backing up to a JPS file, when I try to extract this on my desktop using Akeeba eXtract Wizard 3.3 I get an error "A decompression error occured when extracting the archive.". I tracked it down to a .zip file in a directory - when I set the backup to ignore this file it all works ok. I'm sure this wasn't a problem previously.

The zip file is about 15mb in size.

Have you come across this before? How can I include this zip file in the archive as it is important?

Cheers for your help,

Dave

nicholas
Akeeba Staff
Manager
Just so that I get a complete picture, I will have to ask a question: can you download that ZIP file manually via FTP?

And now I will explain why I am asking this seemingly irrelevant question. Generally talking, there is no limitation in the file type of what can be included in the archive. In fact, the file type is ignored. What can be a big problem, though, is a file whose size changes while we're backing it up or for which the filesystem reports a false filesize (broken file). In this case the file record becomes corrupt and its extraction fails. If you're using JPA and ZIP files it's possible to work around that using the "Ignore most errors" options of eXtract Wizard. In this case eXtract will try finding the next file record header in the archive, ignoring the broken file. With JPS archives this is not possible due to the encryption.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

davesage
Hi,

Thanks for the info, I have downloaded via FTP and the file looks ok - I've been able to unzip it fine.

Should I re-upload and try the backup again?

Thanks for your help as always,

Dave

nicholas
Akeeba Staff
Manager
Yes, please try a new backup now.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

davesage
Tried again but having the same issue - sorry

nicholas
Akeeba Staff
Manager
No idea. It could be a bug in eXtract's decoding library. That's the part of the code I didn't write and can't know for sure if it's working well enough. The best approach to locally extracting archives has always been using Kickstart on a local testing server, e.g. one created with XAMPP, MAMP, WAMPServer or whichever pre-packaged server environment you feel comfortable with.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

davesage
I thought the eXtract Wizard used the same process as kickstart, now I know it doesn't I'll try a local xampp kickstart restore and see if this works ok.

Thanks for your help,

Dave

nicholas
Akeeba Staff
Manager
Kickstart and eXtract are very different. Kickstart is written in PHP. eXtract is written in Lazarus (a variant of Delphi, which is a language derived by Pascal). The former is interpreted code, the latter is a compiled binary. At some point eXtract will become obsolete. I'm just not sure how soon that will be :)

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!