Support

Akeeba Backup for Joomla!

#21378 automated backup to dropbox

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 tampe125 on Tuesday, 04 November 2014 09:23 CST

chrisreeves
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:

Hello, I have successfully set up a profile which backs up to dropbox. I have also been able to set up an automated backup. However this backup does not complete the dropbox transfer. The option is there on the manage backups page to 'transfer archive', and it works when selected.

The following line is what I'm using in the cron job:
/usr/bin/php5-cli /home/account/public_html/cli/akeeba-backup.php --profile=2

Please advise what I need to do to make the dropbox transfer part of the automation.

Cheers,
Chris.

tampe125
Akeeba Staff
Hello Chris,

analyzing your log, it seems that the function curl_exec has been disabled.
Please contact your host and ask them to enable it in order to upload your backup to Dropbox

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

chrisreeves
Thanks for the reply.

Is curl_exec the same as curl_multi_exec?

Also, Dropbox backup does work when creating a backup from the admin using "Backup now".

Chris.

tampe125
Akeeba Staff
No, you have to ask for curl_exec, since that's the function we are using.
The CLI executable of PHP is different from the web one: that's why you can upload your backups to Dropbox from the backend, in the web version such function is already enabled.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

chrisreeves
Hello,

I have spoken to the hosting and they say curl is already enabled. I ask the question if curl_exec was the same as curl and they said yes.

Can I give you a link to the phpinfo.php file?

chrisreeves
Hey Davide, please see screenshot of curl php settings

tampe125
Akeeba Staff
Yes, it is enabled in the web executable of PHP, the same you took the screenshot.
You have to ask them to enable cURL in the PHP executable run in the CLI.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

chrisreeves
I've spoken to the server company again, and they say:

"curl_exec is already enabled though the php.ini file. It has been removed form the disabled_functions list."

tampe125
Akeeba Staff
Ok, can you please try to run your backup again using the CRON job?
Is it successfully running?

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
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!