Support

Akeeba Backup for Joomla!

#12586 Can't exclude com_akeeba/backup folder. Backup get's stuck there.

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 keywordhope on Friday, 08 June 2012 15:09 CDT

keywordhope
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the tickets before posting? yes
Have I read the documentation before posting (which pages?)? No
Joomla! version: (1.5.26)
PHP version: (5.3.1.3)
MySQL version: (5.1.63-community-log)
Host: (bluehost)
Akeeba Backup version: (3.4.3)

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:

I set up a CRON job for monthly backups to Amazon S3. When I run the backup, I get this error:

AEUtilAmazons3::putObject(): [56] Recv failure: Connection reset by peer
Failed to process file /home2/***/public_html/administrator/components/com_akeeba/backup/site-www.***.com-20120607-180904.jpa
Post-processing interrupted -- no more files will be transferred

I excluded the public_html/administrator/components/com_akeeba/backup/ from the backup, but I still get the error. I googled the issue, found a forum post and increased the part size to 255mb but it made no difference.

I see that files are uploading to Amazon S3 but I assume that it is only a partial backup.

nicholas
Akeeba Staff
Manager
Can you please try installing and using the latest dev release? I think it's related with a recent bugfix I did a couple of days ago.

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!

keywordhope
Thanks, Nicholas.
I'm working in Joomla 1.5.26. The latest dev release is for 2.5. What should I do?

nicholas
Akeeba Staff
Manager
OK, since you're using Joomla! 1.5 you can't upgrade. Moreover, you are not affected by the bug I fixed.

First, please send me the correct backup log file. The one you sent is from a back-end backup. I need the one from the command-line origin, that's the log file generated by the CRON job if you're using the backup.php file. If you're using the altbackup.php file I will need to log file from the front-end origin. This will tell me what's going on.

Also note that the error message you receive has nothing to do with the title of this ticket. In fact, it tells you that it cannot upload the backup to Amazon S3. In this case you can simply follow our Amazon S3 troubleshooting instructions.

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!

keywordhope
I need the one from the command-line origin, that's the log file generated by the CRON job if you're using the backup.php file. If you're using the altbackup.php file I will need to log file from the front-end origin. This will tell me what's going on.


Thanks, Nicholas. Do I need to get the command-line log file via my host, where I set up the CRON job? Bluehost is the host.

Not knowing what else to do, I copied all the php errors from today on the bluehost error log and zipped that text file, attached.

Also note that the error message you receive has nothing to do with the title of this ticket. In fact, it tells you that it cannot upload the backup to Amazon S3. In this case you can simply follow our Amazon S3 troubleshooting instructions.



So the title of this ticket refers to the fact that even though I excluded the components/com_akeeba/backup/ folder from the backup, the error message says that it "failed to process" that very folder. Why is it trying to process a folder that's excluded?

nicholas
Akeeba Staff
Manager
OK, let's get this one thing at a time.

I am talking about the backup log file. Go to Components, Akeeba Backup and click on View Log. The first page allows you to select the origin. Select the "Command-line" origin. On the next page, click on Download log file, put the .txt file into a ZIP and attach the ZIP here.

Now, let's move to the error message. Here's what it reads (it's actually two lines): AEUtilAmazons3::putObject(): [56] Recv failure: Connection reset by peer
Failed to process file /home2/***/public_html/administrator/components/com_akeeba/backup/site-www.***.com-20120607-180904.jpa
Let's dissect it.

First line:
AEUtilAmazons3::putObject(): [56] Recv failure: Connection reset by peer
Which means:
  • AEUtilAmazons3 This is the Amazon S3 connection engine speaking
  • putObject() I am the putObject method which is responsible for uploading files
  • [56] Recv failure: Connection reset by peer PHP return error 56, which means "Connection reset by peer". In other words, Amazon S3 just slammed the door to my face while I was trying to upload something.

The next line tells us what it's trying to upload:
Failed to process file /home2/***/public_html/administrator/components/com_akeeba/backup/site-www.***.com-20120607-180904.jpa
Which means:
  • Failed to process file I could not upload the file. Please note that "Upload to Amazon S3" is a Data Processing Engine. It's not necessary that data processing engines upload something. It just happens that all but two of them are used for uploads, one does nothing and a last one sends the archives by emails. Ergo the use of "process" is much more relevant than "upload"
  • (the path) That's the file I could not upload


So, your problem is that you have a problem uploading to Amazon S3, so can you please try following the troubleshooting instructions I linked you to earlier?

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!

keywordhope
Thanks again. I will follow your instructions. Your first instruction says to Select the "Command-line" origin.

Attached you will see a screenshot showing that there is no such origin available. All I have to choose from is backend and restore point.

nicholas
Akeeba Staff
Manager
I suspect that you gave me a misleading bit of information in your first post. Let's clarify it. You've told me that you have set up a CRON job and get an error when the backup runs. I assumed that you mean "when the CRON job runs the backup", but I start thinking that I guessed wrong. Do you get the error when the CRON job runs, or when running the backup from the back-end of your site?

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!

keywordhope
Hi Nicholas,
I get the error when running the backup from the back-end of my site.

nicholas
Akeeba Staff
Manager
OK, then the log file you've sent me is the correct one and I confirm, once more, that your problem is with Amazon S3. Please follow these instructions: https://www.akeebabackup.com/documentation/troubleshooter/abamazons3.html

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!

keywordhope
Thanks again for your help, Nicholas. It was a simple part size issue. I set the part size at 49.99 as the support page suggests, and all is well.

nicholas
Akeeba Staff
Manager
Awesome! I'm glad it's working properly now :)

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!

keywordhope
Me too! Thanks again.
-Hope

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!