Support

Site Restoration

#40351 Error after restore backup Joomla 5 to 4

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.26
CMS Type
Joomla!
CMS Version
4.4.3
Backup Tool Version
Akeeba Professional 9.8.5
Kickstart version
n/a

Latest post by Rovaha on Sunday, 25 February 2024 07:14 CST

Rovaha

After upgrade J4 to 5 I restored the site using the standard Backup feature in Akeeba Backup. Result in error.

nicholas
Akeeba Staff
Manager

As noted in the documentation:

Do not try to overwrite one Joomla! version family with a different one. Overwriting a major version with another (e.g. restoring a backup taken on Joomla! 3.7 on top of a site running Joomla! 2.5 or vice versa) or between different minor versions (e.g. restoring a backup taken on Joomla! 3.7 on top of a site running Joomla! 3.6 or vice versa) will NOT work. Joomla! moves files around between minor and major versions. Since the backup does not delete files not present in the backup archive this will end up with Joomla! being "confused" and malfunctioning. In these cases you should delete the existing files and folders (except, perhaps, user generated content) before restoring the backup. You can safely restore a sub-minor (path-level) version on top of another. For example, you can safely restore a Joomla! 3.7.5 site on top of a Joomla! 3.7.3 site or vice versa.

https://www.akeeba.com/documentation/akeeba-backup-joomla/restoring-backups.html#general-guidelines

Make sure you have a copy of all your backup archive files somewhere safe on your own computer (and, ideally, on a flash drive not connected to your computer, just in case your finger slips or something). Delete the files and folders under your site's root. Then place kicsktart.php and the backup archive file(s) in your site's root. Run Kickstart and proceed with the restoration.

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!

Rovaha

Thanks for your swift reply. I shall restore the site asap.

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!