Support

Akeeba Backup for Joomla!

#11177 Remote ftp backup fails, backend manual backup works

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 Tuesday, 21 February 2012 14:33 CST

user49967
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? yes
Have I searched the forum before posting? yes
Have I read the documentation before posting (which pages?)? yes
Joomla! version: 1.5.25
PHP version: 5.2.6
MySQL version: 5.0.22
Host: Our Own Server
Akeeba Backup version: 3.3.11

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 can backup the website from the backend but it will not upload to our remote ftp. We have a large number of other website's successfully doing this. I just can't seem to get this website to do so. I am attaching the debug log as well as some screen grabs of my current configuration settings.

Any guidance will be most helpful. Thanks.

nicholas
Akeeba Staff
Manager
No, you have a different problem than the one you described: The front-end backup halts 110 seconds into the process. That's you real issue. So, I will need some more information.

Can you take a backup with this profile from your site's back-end (clicking on the "Backup Now" button in Akeeba Backup)? If not, please ZIP and attach the log file. If you can take a backup from the back-end, your problem is certainly with the way you are trying to automate Akeeba Backup.

It seems that you're using a CRON job to run this backup. Are you using altbackup.php (if so, I need the command line), wget or curl with the front-end backup feature (if so, I need the command line), the PHP alternative to wget script mentioned in our documentation (if so, I need you to ZIP the script you made and paste the command line) or webcron.org (in this case I need a screenshot of your settings)?

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!

user49967
I'm sorry I wasn't clear. Yes if I "backup" now from the backend of the website the backup is successfully transferred to via remote ftp.

I am using the cron below to backup this site.

wget "http://www.ourwebsite.com/index.php?option=com_akeeba&view=backup&key=xxxx&profile=1"

So something isn't allowing the backup to transfer via remote ftp and I don't think it is a server setting. We have several crons that import products and pricing on a few of our websites that can run up to 2 hours so that can't be it.

Please let me know your thoughts.

nicholas
Akeeba Staff
Manager
OK, this is what I guessed. Here's the deal. Your CRON daemon is set up to allow a CRON job to run for a maximum of 100-120 seconds (can't say which is the exact value, my educated guess is 120 seconds). This means that while the backup is running, the CRON daemon halts wget and the backup won't go on. Most likely your other sites completed the backup because they are smaller and take less time to get backed up. Well, they certainly took less than 100 seconds before the upload to the remote FTP server began. So, the only solution here is to a. use the command-line backup.php script instead of the front-end backup with wget or b. ask your host to allow your CRON jobs to run for significantly longer (around 10 minutes should do the trick).

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!