Support

Akeeba Backup for Joomla!

#22660 Remote Amazom 5GB limit

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 on Friday, 17 July 2015 17:20 CDT

paurray
EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.

Description of my issue: Remote Amazom 5GB limit

Hello Akeeba Team

I could do with some help with respect to my automated back up going to Amazon.
I set this up going on a year ago and have no idea how I did it :-o
https://www.akeebabackup.com/support/akeeba-backup-3x/20551-cron-problem-amazon-automated.html
At the time I thought that I had set it up in such a way that the back ups would be deleted from the Amazon cloud before I hit the 5GB limit.
I have since long gone over the 5GB limit and gone in and manually clean things up.
Could some one at your end please have a look at this for me.
i.e. check that this 5GB back up limit is properly implemented?

thanks

Paul

Helping you learn beyond your finalBUG

nicholas
Akeeba Staff
Manager
Hello Paul,

The maximum size of objects (files) stored on Amazon S3 is 5Gb per object. You can of course have a backup larger than 5Gb as long as it's split up in smaller parts, i.e. the part size is below 5Gb. The total size of objects (files) in your bucket is NOT capped. You can easily have 100Tb of files in a single bucket as long as each one file is less than 5Gb.

This is never an issue with Akeeba Backup since we set a maximum part size of 2000Mb. This works around a different issue which has to do with the internal working of PHP. Long story cut short, PHP is unreliable when working with files over 2Gb minus one byte (2,147,483,647 bytes). We're setting the part size more than 120Mb less than this limit, making sure that it will never be an issue for you.

So, really, there's nothing to check here. You simply misunderstood the 5Gb limitation of Amazon. You thought it was per bucket / account when it was per individual file :)

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!

paurray
Hi Nicholas

Maybe I explained this badly…
Please correct me if I am wrong.
I have the following recollections

a) It is possible to have up to 5GB (Amazon) for free.
b) It is possible to have Akeeba check if this 5GB limit has been reached for multiple backups
c) It is thus possible to avoid going over the 5Gb limit. e.g. my current site back up is under 700mb so if I am doing daily back ups I am essentially deleting the oldest after about a week and replacing it with the newest!?!

thanks

Paul

Helping you learn beyond your finalBUG

nicholas
Akeeba Staff
Manager
OK, now it makes sense. Yes you can do that with the Size Quota in the Configuration page, setting it to about 5000Mb (that's less than 5Gb). Please remember to also enable the Enable Remote Quotas checkbox to apply the automatic deletion to remotely stored files.

Finally, I'd like to ask you to upgrade your copy of Akeeba Backup to version 4.1.2 which is the last version we published for Joomla! 2.5 (it's compatible with 2.5.05 and all later versions including 2.5.22). Your version is way too old and if I'm not mistaken had a bug regarding remote quotas not being applied.

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!

paurray
Hi Nicholas

OK I checked the back end of Plesk and I have PHP version 5.3.2 so it looks like I am good for an upgrade. When I follow the link that you posted above.

https://www.akeebabackup.com/download/akeeba-backup/4-1-2.html

It says:

"This is the main installation file for the free version of the component."

This will not remove my "Akeeba Backup Professional 3.8.2" version?

The reason I am asking is that I do not want to ruin the already almost successfully installed automated Amazon back up?

best

Paul

Helping you learn beyond your finalBUG

nicholas
Akeeba Staff
Manager
Um, no. PHP 5.3.2 is not supported by Akeeba Backup 4.1.2. We only support PHP 5.3.4 or later due to known severe bugs in PHP 5.3.0 up to and including 5.3.4. These bugs DO cause the quota system to fail. You need a higher version, ideally 5.3.28 or any version in the PHP 5.4 family.

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!

paurray
Hi Akeeba Team

Well after a lot of trial and error I now have a seriously up to date PHP 5.4.40 version!

I had problems updating to Akeeba.
I used the Joomla extension manager to install com_akeeba-4.1.2-pro
Nothing much happened for a couple of minutes.
Then the Akeeba Backup kicked in.
The back up stalled and I get an error 404

Not quite sure what is/was going on…
But I have the feeling that Akeeba has being having trouble writing to the tmp folder for some time. Completely my fault for not updating earlier.
I suspect that even manual default/back ups were going to Amazon.

I have now reinstalled the old back up profiles that I had installed on Akeeba 3.8.2

default-backup-profile
paul_david_murray_day

and both go to the Akeeba back up folder
One think that I know with 100% certainty is that the daily back up was working before.
I had literally 100´s of Amazon back ups going back days…

Would it be possible to check this for me?
i.e. see why the “paul_david_murray_day” profile no longer works!

Also finally closing the circle I would really love to have this 5GB limit thing working

If you need login details or whatever please let me know

Also I can send the profile “paul_david_murray_day” that I now have imported in Akeeba 4.1.2.

help in closing this chapter would be greatly appreciated :-)

thanks

Paul

Helping you learn beyond your finalBUG

nicholas
Akeeba Staff
Manager
I've lost you somewhere :s If one of those profiles "doesn't work" I need the backup log file to see what is going on.

As for the 5Gb quota you want to set up, I already told you what to do. Let me remind you:
Yes you can do that with the Size Quota in the Configuration page, setting it to about 5000Mb (that's less than 5Gb). Please remember to also enable the Enable Remote Quotas checkbox to apply the automatic deletion to remotely stored files.


Do keep in mind that quotas are per backup profile.

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!

paurray
Hi Nicholas

Well I tied entering 4900 as a custom size quota and it reverts to 4390.80
I am guessing that this is some how related to the current size of the back up!
On Amazon it seems to be running at 502 MB

I will keep an eye on this and see if it works :-)

thanks

Paul

Helping you learn beyond your finalBUG

nicholas
Akeeba Staff
Manager
The size limit is stored internally as the number of bytes. Since PHP has some issues with numbers over 2147483647, hence the bounce back to a smaller quota. So no, it's not related to the current size of the backup, it's just how PHP handles big numbers.

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!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!