Support

Site Restoration

#13954 Restoration restores a file that does not exist on the live site

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
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by nicholas on Monday, 29 October 2012 11:00 CDT

PeterAnthony
I used Kickstart 3.5.2

I use kickstart fairly regularly and the process goes without a hitch. Yesterday though I received a fatal error upon going to the front page of my site.

Fatal error: Class 'App' not found in /home/morevida/public_html/goodtalktnt/components/com_jreviews_addons/paidlistings/plugins/paid_listings.php on line 66

Turns out there was a file on the restored backup site
/components/com_jreviews_addons/paidlistings
That is not on the live site.

How could this be? I did the entire process from backup on the live site to restore with no delay in between from one step to the next, yet there is a file in the restored backup site that does not exist in the original site.

Can you help me understand how that could happen?

nicholas
Akeeba Staff
Manager
Akeeba Backup will only back up something which does exist on your site at the time the backup was taken.

My guess? After taking the backup, you upgraded the component in question. This created the extra file which caused the problem after you restored the site (and the older version of the component).

Please remember that restoring a backup does not remove existing files from your server. As I've been saying in all my presentations of Advanced Akeeba Backup, if in doubt delete all files from your server before restoring a backup.

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!

PeterAnthony
Ok. I know for sure that nothing was upgraded during or immediately after I initiated the backup. I restored the backup immediately after I created the backup file on my site and I did no changes to the backend.

What makes sense to me though is that it somehow included (or left in place) a file from an earlier restoration. That's the only thing that makes any sense to me.

So I'll delete all the files and try again. That sounds like a good plan to avoid this.

nicholas
Akeeba Staff
Manager
Yes, that's the only plausible explanation. As I said, when in doubt, nuke the files before restoring :)

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!