Support

Akeeba Backup for Joomla!

#35834 Size Quota Limit of 4390.80 ???

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 HSorgYves on Tuesday, 21 September 2021 02:41 CDT

HSorgYves

You were considering to allow higher values in other tickets. This is valid for the WordPress version too. Can you please allow them in an upcoming release?

Thanks,
Yves

nicholas
Akeeba Staff
Manager

If you are talking about the quota size limit there's a reason it's limited to 4GB minus 1 byte: that's the maximum integer you can express with 32–bit integer values, a limitation of certain versions of PHP. When you go past that PHP starts using floats which incur a loss of precision.

That said, the value chose was actually a bug. The maximum integer PHP supports is 2GB minus one byte. Considering that nobody has run into a problem even though quotas over 2GB may be turned into floats I think it's safe to increase the upper limit of quotas to 1 Petabyte — that's more than what you are likely to ever use, typically disk quotas are in the two digit Gigabytes.

I will not change the part size for split archives, though. When we are extracting a backup archive we need to deterministically use bytes even on the 32–bit Windows builds which are extremely common with prepackaged local server environments such as WAMPserver, XAMPP etc. The only way to guarantee that is to keep the part size under 2Gb minus one byte. Anything over that and you will be unable to extract backup archives on Windows because the file offset is converted to a float which is not precise enough for byte–aligned file reading.

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!

HSorgYves

Yes, I am talking about the quota size limit not the size of split archives. What I didn't understand now: will you increase it for the official release?

nicholas
Akeeba Staff
Manager

Yes. I already made the change to 1Pb (1024Tb). This change will be included in the next official release, scheduled for late September to early October.

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!

HSorgYves

Excellent.

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!