Support

Site Restoration

#38977 Restore chokes on malware files

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.0.28
CMS Type
Joomla!
CMS Version
4.3.1
Backup Tool Version
9.6.0
Kickstart version
7.1.2

Latest post by nicholas on Friday, 12 May 2023 02:52 CDT

petekuhn

I periodically clone my live site to various test sites including a WAMP system at home. When I tried to do this today, it failed with an "unable to write file" error. It turned out that the files it was trying to restore were malware somehow introduced to the live site in the media folder. Attached is a spreadsheet with the file names.

This actually was good, as it pointed out the malware (fortunately very few files). I was able to work through the clone process and delete all of them, eventually getting a clean restore.

But if I had to do a restore of the live site, how would I have been able to get past these errors?

Thank you.

 

 

nicholas
Akeeba Staff
Manager

Your local restoration chokes because the antivirus you are running blocks the file. You can work around that by checking the "Ignore most errors" checkbox before clicking on Start. It's documented in Kickstart's documentation that it's designed to work around files you cannot write to.

If you were restoring to a live site you would obviously not have an antivirus running to block writing the files so there would be no problem — and if there was, the same workaround applies. Of course the host might run a scanner post facto and delete, or rename these files, or even block your site. Not to mention the very real problem of a malware infested file possibly being able to infect other sites under that account, server malware, send spam etc which would definitely cause more serious problems. It should be self-understood that you do need to clean the site before restoring it to a live host.

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!