Support

Akeeba Backup for Joomla!

#19453 Regular Expression to Exclude error_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
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by tampe125 on Monday, 10 March 2014 02:51 CDT

user72533
Hey guys,

backups are working great. just a quick question that i couldn't seem to figure out searching your docs and google.

I understand the principle of using a regex to exclude files and folders. unfortunately i do not know how to construct even basic ones yet :) thanks for the examples.

i just wanted to ask if you could provide a simple regex to exclude all the error_log files that might exist on a server and all subdirectories such as hostgator. these obviously bloat the site if not excluded.

It seems like I'm excluding them, but wanted to ask if the expression i'm using is correct. it is

#error_log#i

Thanks,
danny

tampe125
Akeeba Staff
Hello Danny,

yes, it should be ok.
However you can create a quick test to check if it's working: create a new test folder and put inside it two files error_log and whatever.
Then create a new backup profile, excluding every folder but the one you just created.
Then create a new exclude regex espression and apply the pattern you wrote above.

Then run a new backup: inside it you should find only the file named whatever.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
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!