Support

Akeeba Backup for Joomla!

#38572 Backup Log

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
3.10.11
PHP version
8
Akeeba Backup version
8.2.7

Latest post by nicholas on Monday, 20 February 2023 07:53 CST

ClassYoga

Hi Support,

The directory containing my Log files is growing rather large. My actual backup files are uploaded to S3 AWS.

Is there a best practice for periodically deleting old log files, and would this be done in Manage Backups using the Delete option?

Many thanks for your help,

Dougie

nicholas
Akeeba Staff
Manager

You can't delete just the log files without deleting the backup records.

There are two things you can do (you can do either, or both if you want).

Set the Log Level to Errors Only in your backup profile. You don't need the All Information and Debug unless you want to request support. At some point we did have the default to Errors Only but we had a really hard time trying to get some people to set it back to All Information and Debug, or explain to a loud minority the obvious fact that changing the log level to something more detailed won't make their existing log files more detailed by some sort of magic. That's why we have it set to All Information and Debug by default.

Each backup profile has quota settings. One of these is the Obsolete Records quote, i.e. how many records marked as Obsolete (no backup files exist for them) to keep. When an obsolete record is deleted, its corresponding log file is removed as well. The default value is 50 which is a fairly balanced setting for most people. You can set it to something lower, depending on how many obsolete records you want to keep.

Bonus third thing to do: delete the log files manually, over FTP or SFTP. I generally don't recommend this as your finger might slip and delete something you intended to keep.

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!

ClassYoga

Thank you Nicholas, I'm going to keep the All Information as the default and just make sure I schedule a regular S3 and Backup clean up.

Thanks for your help & have a good week.

Dougie

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!