Support

Akeeba Backup for Joomla!

#43509 cron job - caracters not allowed in the command line

Posted in ‘Akeeba Backup for Joomla!’
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
joomla 6
PHP version
php 8.4
Akeeba Backup version
last version

Latest post by nicholas on Wednesday, 11 November 2026 07:57 CST

frdt

Some of my sites are on OVH server. The cron job doesn't accept all caracters. How to input a command line for automated backup ?

Here are the messag from the provider  when I try to input the commad  to backup the site with akeeba: "The characters allowed for folders are letters, numbers, and the characters -_./ Also, accessing parent folders using .. is not allowed."

To configuer the job with Akkeba I must use a command as : /home/...../www/cli/joomla.php akeeba:backup:take and this command content ":" who seams not allowed by the provider.

Thanx

nicholas
Akeeba Staff
Manager

cli/joomla.php it the Joomla CLI application, a part of Joomla itself. Its code is controlled by the Joomla project, not us. The parameter format to the Joomla CLI application is, therefore, outside our control.

However, that's not your problem at all. If you read OVH's message carefully you will see that OVH does not really support CLI CRON jobs. They let you run a PHP file, not a CLI command – with a very limited time allowance as well. This will not work for a backup of a non-trivial site.

This is a recurring discussion I have with OVH clients. OVH, quite simply, does not support CRON jobs. What they deceptively call "CRON" is not at all that, and it cannot be used with any modern PHP application – not even WordPress, really. It boggles the mind that in 2026 a host of that size still misleads their customers by offering a bad early-00s implementation as "CRON". It's like promising you a free car and giving you a plastic pedal car for kids, and you complain retorting that I promised a car and what I am providing is, technically, a car-shaped object.

While some users have tried to "fake" it by using a PHP script using exec to call the actual Joomla CLI command, the results they have reported are a mixed bag. As a result, I am not going to present that as a viable alternative.

The alternatives I will give you are the following:

  1. Pay for a third party site monitoring service to schedule your backups. Very easy to implement, you get site monitoring as a bonus, but you are paying an additional ongoing subscription fee per site. Great if you want site monitoring anyway, not a palatable option if what you need is just taking backups.
  2. Host Akeeba Panopticon on your own server (not OVH). It's similar to the option above, but you do not pay an ongoing subscription fee per site, you just pay to host one additional site. You set up one CRON job for it. Then, you install the Panopticon connector on each site, configure them in Akeeba Panopticon, and set up your backup schedule. You get site monitoring as a bonus, and you own all your data. The downside is that you are paying to host one more site, so it only makes sense if you have multiple sites you want to monitor and take backups on.
  3. Use your own computer with Akeeba Remote CLI, wget, or curl. Any computer that can be left turned on and connected to the Internet 24/7 will do be it an old desktop, a Mac mini, or a small single board computer (SPC) like NanoPi. The downside is that you need to read the documentation to understand how these tools work with the Akeeba Backup Remote JSON API (Akeeba Remote CLI) or the front-end legacy backup URL (wget, curl), and set up the schedule using the operating system's task scheduler. It's the cheapest alternative after taking manual backups, but also the most technically challenging.
  4. Move to a different host. The downside is that you have a one-off migration to do across all your sites. The benefit of that is that you stop having hosting issues, which saves you time, therefore money.

I cannot tell you which option would work best for you. I don't know how many sites you have, what is your technical confidence level, and what are your financials. If you have questions about any of those, feel free to ask me. I will try to help you to the best of my abilities.

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!