Support

Site Restoration

#37564 Invalid header in archive file,

Posted in ‘Site restoration’
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

PHP version
8.1.8
CMS Type
WordPress
CMS Version
6.0.0
Backup Tool Version
7.6.10
Kickstart version
7.1.2

Latest post by tampe125 on Friday, 05 August 2022 06:00 CDT

arnold.pietersen

Hi

I'm trying to restore a 4-part archive on the localhost and received the following error:

Invalid header in archive file, part 1, offset 30324961

So, I checked: Ignore most errors. Then I got the following error:

An error occurred

An unexpected error occurred

I have turned on debug in the kickstart.php file.

There is some gibberish towards the end of the debug.txt file. It will appear that the restoration bombs out when the All-In-One Migration content is being restored.

Since I only wanted the database to be populated in the phpMyAdmin, I then indicated that it must only restore index.php in the Files to extract textarea, hoping that it will then move to the database restoration. However, it started restoring from the uploads folder.

How should one go about it if one only wants the database from the archives?

Your help is appreciated

 

 

tampe125
Akeeba Staff

Hello,

it really depends on where the archive starts to be corrupted.

After you receive the error, can you spot an "installation" folder? If so, maybe you're lucky and you'll be able to recover the data inside it.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

arnold.pietersen

Hi

Thanks for the quick response.

Yes, there is an installation folder with a sql folder.

Does one just run the queries one-by-one from each file in phpMyAdmin.

tampe125
Akeeba Staff

Yes, you can do that, but please remember to update the table prefix replacing the #_ string with your actual table prefix.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
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!