Support

Akeeba Backup for Joomla!

#37569 Cron job which is stopped at 4.50 GB

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.10
PHP version
7.4.30
Akeeba Backup version
8.1.9

Latest post by nicholas on Wednesday, 24 August 2022 09:22 CDT

coulissestv

Hi,

I have a cron task execution problem to perform my backups.

I am hosted at 1and1 on a dedicated server administered by 1and1.

I created a CRON task in front (only that works). The task runs well but the backup is systematically stopped at 4.50 GB...

Url is :https://www.coulisses-tv.fr/index.php?option=com_akeeba&view=Backup&key=95800Courdimanche 

What can I do ?

Is it possible to launch only the backup of the database in Cron task?

Thank you for your help.

Regards

coulissestv

Hi,

I found how to automatically backup the database and it works.

I still have the problem of the full backup, the task is always stopped at 4.50 GB.

Regards

nicholas
Akeeba Staff
Manager

Is it about 4.5GiB or 4.5Gb? The reason I am asking is that 2 ^ 32 = 4294967296 and most people would say “4294967296 is about four and a half gigabytes”.

If PHP is compiled as a 32-bit executable it has a maximum file size limit of 4294967296 bytes because the largest integer it can handle is 2 ^ 32. If PHP is compiled as a 64-bit executable the maximum file size is 2 ^ 64 bytes which is several petabytes — millions of the biggest hard drives currently available.

I suspect that 1&1 is still using 32-bit executables. Try going to the Configuration page of Akeeba Backup, Archiver Engine, Configure, and set the Part Size for Split Archives to 2000MiB.

If that does not work, please make sure that you have enough free disk space and inodes on your account.

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!

coulissestv

Hi,

Unfortunately your solution does not work, the backup is now interrupted at 4.18 GB

I have enough space on the disk which is not even half full.

Regards

nicholas
Akeeba Staff
Manager

Can I please have the backup log file? I think that the problem is not exactly what you describe it to be. The log file will tell me more.

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!

coulissestv
Sure, here's the log

nicholas
Akeeba Staff
Manager

What I see in the log file is that whatever is trying to run that file gives up after 25 redirections. The backup is not broken, it's there waiting for something to follow the redirection issued so it can continue working. Your host never follows the redirection therefore the backup process is left incomplete.

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!

coulissestv
What should I do ?

nicholas
Akeeba Staff
Manager

First, go to your host and ask them if there is any way to overcome that limit. Explain the use case to them.

The other options you have, if that leads to a dead end are:

  1. Use WebCRON.org to automate the backups using the same front-end backup URL you are using with your host's pseudo–CRON.
  2. Use a third party service like Watchful or mySites.guru to run the backups remotely.

In Joomla 4 — when you upgrade your site — there's of course the option to use Joomla's Scheduled Tasks with lazy task scheduling. Depending on your site's traffic (overall and how it fluctuates throughout the day) it may or may not work but at least there's that option as a fallback.

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

Easter vacation: We will be closed from 17 April 2025 16:00 UTC to 21 April 2025 06:00 UTC due to observing the Christian Easter holiday. Support will be closed during that time for both new tickets, and replies to existing tickets.

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!