Support

Site Restoration

#35809 Cleanup

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 HSorgYves on Thursday, 16 September 2021 01:55 CDT

HSorgYves

Can I configure cleanup not to delete the Akeeba Backup File?

Cleanup did not delete the 3 Kickstart Files although the permissions would have allowed it. Bug?

nicholas
Akeeba Staff
Manager

You cannot keep the backup archive. It's part of the cleanup.

Kickstart performs the cleanup by asking your server to delete kickstart.php itself, the backup archive and the installation folder (including its contents). If the permissions AND ownership of these files and folders allows them to be written to then they will be deleted. I have confirmed that this is the case just now as have so many other people in tens of millions restorations over the past 13 years Kickstart has existed.

The only reasonable conclusion is that the files either don't have the correct ownership and permissions to be deleted or we are talking about different files. Which files are you talking about? Exact names, please.

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!

HSorgYves

OK, I will then make a copy of the backup archive before restoring.

I think I understand the problem from your explanation. As it is Kickstart Pro the file is not called kickstart.php anymore.

The 3 remaining files are:

  • cacert.pem
  • en-GB.kickstart.ini
  • restore.php (renamed kickstart.php)

Thanks,
Yves

nicholas
Akeeba Staff
Manager

Do not use Kickstart Professional UNLESS you need its additional features, namely importing a backup from a URL or Amazon S3. Use Kickstart Core instead.

The cacert.pem file will not be removed automatically. You also do not need it on most servers. You only need to upload it if you are importing from S3 or an HTTPS URL with Kickstart Professional on a server which does not have a correct root certificates cache set up for PHP.

The INI file is a language file. It's only provided should you want to translate Kickstart yourself. The English language strings are already included in Kickstart itself. If you upload a translation file it needs to have the same base name as Kickstart itself. So, if you call your file restore.php the language file should be named en-GB.restore.ini for English, nl-NL.restore.ini for Dutch etc. Only then will it be removed automatically.

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!

HSorgYves

Many thanks for these explanations. I will then use Kickstart Core and only copy the php file!

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!