Support

Akeeba Backup for Joomla!

#8802 Help with AkeebaBackup Pro

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 nicholas on Monday, 17 October 2011 02:54 CDT

user29182
((I hope this is the correct forum. If not, please let me know and I will gladly re-post.))

Hello, I just installed Backup Pro today (and should thank you for the free version, which I used previously). I'm trying (unsuccessfully) to save to an Amazon S3 account. I went through the trouble shooting and tried adjusting the maximum settings, but no luck.

Joomla 1.5.23
Back Up Pro 3.2

The backup is successful, but the transfer to Amazon is not. What should I adjust to avoid the following message:

AEUtilAmazons3::uploadMultipart(): [RequestTimeout] Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed.
Failed to process file /home/wxp/public_html/tribes/administrator/components/com_akeeba/backup/site-scribestribes.com-20110209-022940.j01
Post-processing interrupted -- no more files will be transferred

nicholas
Akeeba Staff
Manager
This is the correct forum, so let's try to help you.

The first thing we have to check is whether your host supports SSL communications to S3 or not. Go to Akeeba Backup's Configuration page, click on the "Configure..." button next to the "Data processing engine" and uncheck the "Use SSL" checkbox.

If this doesn't help, please ask your host to open their firewall to allow connections to s3.amazonaws.com on ports 80 and 443. If they ask for an IP address, please ask them to run a ping from their server, as the above domain name is a multicast DNS record, returning a different IP address depending on the part of the world where your server is located in.

Please note that this may indeed be the cause of the problem. Amazon just added new data centers, making it very possible that your server is now trying to connect to an Amazon data center more close to your server. If your host hasn't added the new IP to the firewall, it would cause the connection to be blocked, resulting in the reported error.

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!

user29182
Hello,

They claim it is not the firewall, and write:

"Akeeba is the backup which was producing the bad .sql files. Wouldn't it be smarter to do a backup that works, and gets you everything for the whole cPanel account, not just Joomla backups which are questionable as to their usability later?"

In your opinion, what is the best next step for me to take?

nicholas
Akeeba Staff
Manager
I would say that your host doesn't know jack about how they server works. First off, Akeeba Backup doesn't produce SQL files, it produces archives.

Second, the archive files were created successfully. As a result, their claim about "bad .sql files" doesn't hold more water than a baloon with a 2" hole.

Third, the problem was not in the backup taking process, it was in getting the files to Amazon S3. They didn't even look at what the problem is before replying.

Fourth, Amazon S3 is the single most tested feature in Akeeba Backup. It uses PHP's cURL extension to contact Amazon S3 over their RESTful API and store the files. Hardly has anything to do with "bad .sql files"...

Fifth, the problem is NOT in Akeeba Backup's code, it is somewhere between PHP and Amazon S3. Given that hundreds of us use this on a daily basis without a problem, the only possibility is that their firewall cuts the connection to Amazon S3. Why do the suppose I have no problems with Rochen?

Sixth, cPanel backup (what they suggested) is not something you can easily schedule and you can certainly not use it to restore the site on any other server except the one it was taken from. The "questionable" backups are used by major template providers to provide installable sites and countless Joomla! professionals to move sites between hosts, between accounts and between live and local servers. You just can't do that with a cPanel backup. But, how could your host know if they just care about snatching your money instead of trying to provide support to their paying customers?

You would suppose a decent host would take a look at the problem and know all of the above, because it's their business to do so. You do pay them to do so. Instead, they didn't even look at any error logs and dismissed your claim with a -sorry for the language- BS excuse. I hope you're not paying them more than $2/month, because that's how much this inexistent customer support is worth. If you want me to provide you with a list of hosts who actually know what they are doing and can really help you when you have a problem with their service, I am more than willing to do so.

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!

user29182
Hello,
I received the email copied below, but can see no posting by "doogledesign."
Thanks

Hello Ty Johnson,

A new message was posted in the thread "Help with AkeebaBackup Pro" by doogledesign:



Message:
Spot on solution. Thanks for the assistance Nicholas.

nicholas
Akeeba Staff
Manager
Yeah, I saw that too. Maybe the user deleted his post in the meantime.

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!

user11523
I had posted that the above solution worked. However after more testing I found that it did in fact not work. However after doing a fore more tests and pings from the server I was able to get "all" or at least "most" of the amazon S3 server IPs and put them in the firewall. It not backs up with no problem.

Sorry for the confusion, and your posting is correct.

Thanks Nicholas.

nicholas
Akeeba Staff
Manager
I'm glad it's working correctly now :) Thank you for your feedback!

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!

user29182
Just checking in to say that I got it working. Thanks for the help!

nicholas
Akeeba Staff
Manager
You're welcome :)

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!

alexwalker
Hi Nicholas, Sorry I have just started using AmazonS3 and I got the following warnings:
AEUtilAmazons3::uploadMultipart(): [RequestTimeout] Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed.
Failed to process file /home/theommco/public_html/administrator/components/com_akeeba/backup/site-www.theomm.com-20111016-145059.j01
Post-processing interrupted -- no more files will be transferred

I am using Rochen for web hosting. I have multi-part set and removed the tick from SSL.

What else can I try ?

alexwalker
Please see attached log file

alexwalker
Just ran a cron job to AmazonS3 on a different host and it worked fine.

alexwalker
Just managed to capture this error message which flashes in the background when clicking on Configuration. I have checked the media/com_akeeba and they are set at 755. I cannot see where to set the Google AJX in Parameters.

nicholas
Akeeba Staff
Manager
Hi Alex,

Please follow these troubleshooting instructions. It seems to me that Amazon S3's multipart upload feature is not very stable on their end. It occasionally closes the connection while we're still sending data, causing this issue. The troubleshooting instructions explain what you need to do and, trust me, they do work fine on Rochen (tested on my sites!).

Regarding the error message which flashes by, please ignore it. If it flashes and disappears everything's OK. What we're doing there is that the page has the warning message hard-coded. As soon as the Javascript on the page loads, it disappears. If, however, you have a permissions issue and the Javascript fails to load, this warning message will stick on the page and instruct you how to work around this issue. The only drawback is that the Javascript on the page may load 2-3 seconds after the HTML on the page, which causes this momentary flash.

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!

alexwalker
Nicholas, as ever YOU have the answer. Followed the instructions and it worked. Unchecking the multi-part box seemed to do the business. Many thanks. 10/10

nicholas
Akeeba Staff
Manager
You're welcome!

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!