Support

Akeeba Backup for Joomla!

#41338 Automatic backup error Exit code: 5

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
5.2.1
PHP version
8.2.25
Akeeba Backup version
9.9.10

Latest post by PVSequoia on Friday, 22 November 2024 05:33 CST

PVSequoia

I have created an automatic backup and I get the error Exit code: 5.

Why is this occurring? And what can I do to solve this?

I have attached the Akeeba logfile.

Greetings

Rob

tampe125
Akeeba Staff

Hello,

if you run the backup from the web interface does is successfully complete?

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!

PVSequoia

Hi Davide,

Yes, from the web interface it works fine and quick. Backups are ready under two minutes.

Greetings,

Rob

 

PS: sorry, but I didn't see your reply earlier...

tampe125
Akeeba Staff

Hello,

can you please attach a screenshot of how you're triggering your backups? 

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!

PVSequoia

Hi Davide,

Thanks in advance for your support.

I have added some screenshots. I hope this is what you need.

Greetings,

Rob

tampe125
Akeeba Staff

Ok, so you're triggering the backup using the Joomla internal cron, am I right?

I suspect your site is too large for Joomla "simple" cron, what's the size of your latest successful backup?

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!

PVSequoia

Hi Davide,

 

That may well be the case. Our backup is now 489.55 MB. See screen4.png

 

Greetings,

Rob

tampe125
Akeeba Staff

How are you triggering the Joomla CRON? Using your hosting control panel, or using the "lazy schedule" of Joomla?

To achieve the best results, we strongly suggest to use the CLI script instead of relying on Joomla task scheduler

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!

PVSequoia

I just made a scheduled task in Joomla. That's all.

I don't have server access, so that's the only thing I could do...

Will this work when the backup is smaller? Because I think there is a lot backed up that we don't use any more.

So if cleaning up our site will help, I can put some effort in that.

tampe125
Akeeba Staff

Hello,

yes, smaller contents will help for sure.

For the records, when you do not have any control panel access for creating CRON schedulers, you might find useful to use the "Backup from the Frontend" feature.

Long story short, you can use another server to call a specific page to trigger the backups. That server could be an external service like WebCron.org or even a local computer that you leave always on and trigger the backups to one or more websites.

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!

PVSequoia

Hi Davide,

Thanks for your answer. I will look in to this.

I can always start a backup manually so it's not like we are missing backups now.

But we bought the Pro version so we could take them automatically ;-)

 

For now, I know enough and you can close the ticket.

Thanks again!

Greetings,

Rob

tampe125
Akeeba Staff

You're welcome!

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!

PVSequoia

Hi Davide,

 

Just to let you know. I have started an account with WebCron.org and backups are now running smoothly.

Thanks again!

 

Greetings,

Rob

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!