Support

Akeeba Backup for Joomla!

#23122 problem with restore

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 Friday, 21 August 2015 00:43 CDT

user13102
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:
my issue os that i have a backup from 2011 that i need to bring back tp life. i had extracted the back up in wwamp which worked fine back in 2011. now there appears to be a problem with one of the files. it said bad header. then it said it coild not recognise the file.

https://s3.amazonaws.com/backup_sanofi/site-ageingwithbeauty.com.au-20110224-145408.j01 to 36 https://s3.amazonaws.com/backup_sanofi/site-ageingwithbeauty.com.au-20110224-145408.jpa

nicholas
Akeeba Staff
Manager
There is an "Ignore most errors" checkbox in Kickstart and Akeeba eXtract Wizard. Try checking it before starting the extraction. Does that help?

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!

user13102
no that does not help. i have aslo checked the bit sizes of the files... all are identical..

the sever i up loaded by binary is inth image att.. password..i can give you

nicholas
Akeeba Staff
Manager
Have you tried extracting these files locally, on your computer, before uploading them to your server?

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!

user13102
yes with Akeeba extract wizard... unless there is another tool

user13102
I do have all the open files and db on my old computer when I successfully restored the site 2 years ago before I reomed the site from the serer. but I stupidly deleteated the old version of xwamp later and now I cant get it to work with a new install since I donnot speak french and all the older version of xwamp are in french

nicholas
Akeeba Staff
Manager
The XAMPP version doesn't make any difference, actually. The extraction engine of Akeeba eXtract Wizard has not been modified since 2011. In fact you'll see that its release date is Sunday, 21 August 2011 18:54. There's another release (3.2) dating back in February 2011. That's as old as you can get.

Version 3.1 was an unsuccessful mess of PHP and Javascript code that never worked. Version 3.0 was exactly the same as 3.2. The only difference between 3.0 and 3.2 was that the former was compiled with Delphi 7 whereas the latter was compiled with Freepascal Lazarus. It's the same language, different compiler. The only reason for this change was that Delphi 7 would only run on Windows XP and at that point the very old machine I was using to compile it got its CPU fried :)

In so many words: try both eXtract Wizard 3.2 and 3.3.

If this didn't work and since you have the same extraction engine there are only two possibilities:
  • The archive you are downloading is not the same one you restored two years ago and is genuinely broken.
  • You either forgot to download some part or the file got corrupt in transfer.


The first one is anybody's guess and I'd be the last person to claim that human memory is infallible. We can't test it so let's try doing something about the second one.

Try downloading the files again. Do not use your browser, use a tool speciffically made for managing S3 storage. I recommend CyberDuck. After downloading the files please check their sizes and compare what is on your computer with what's on S3. They must match down to the byte count (do NOT trust the size in Kb, Mb, Gb – these are approximations which can even use a different base, i.e. 1000 vs 1024 bytes to the Kb).

If you still get a partial extraction we'll need to run Kickstart in debug mode to see what's going on. Edit kickstart.php and change the lines
// Uncomment the following line to enable Kickstart's debug mode
//define('KSDEBUG', 1);

to
// Uncomment the following line to enable Kickstart's debug mode
define('KSDEBUG', 1);

(That is, remove the double forward slash from the second line). These lines are at the top of the file, lines 33 and 34 in my latest build. Then run Kickstart normally. It will create a file called debug.txt. Please ZIP and attach it to your next reply.

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!

user13102
I will try that today. thanks.

Re the the wamp. So I can install the new version of wamp and copy the files structure of the old site to the new version? That is where I get stuck

nicholas
Akeeba Staff
Manager
I have no idea, to be honest. I believe you would also need to transfer the database as well.

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!

user13102
i have taken all the steps you advised except tha code you mentioned in not in kickstart.php

I do have the pro version and I have renmade the file as pom.php

182.160.162.172/~ageingwith/

it just hangs on step 5

when I looked into the files that have been unwrapped I get something strange

user13102

user13102
I have realised that you ment adjust the core kickstart.php

SI have dong that and I see that there is an error on part 10

An error occurred

Invalid header in archive file, part 10, offset 6027958

Is there anything else that can be done. I think it is screwing up on the admin folder

nicholas
Akeeba Staff
Manager
It looks like you have a genuinely corrupt backup archive. All you can do is salvage as much information from it as you can. The installation directory contains your database. All other files can be more or less replaced, either from other backups or from the packages of the extensions.

For the database restoration you can go either the regular way (run the script in the installation directory) or the manual way (https://www.akeebabackup.com/documentation/akeeba-backup-documentation/unorthodox-emergency-restoration.html).

Does that help?

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!

user13102
I have great news.

I have managed to find a back up of a back up and restored the origional test restor I did back in 2013....

Thankyou so much for all the great help.

nicholas
Akeeba Staff
Manager
You're welcome!

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!