Support

Akeeba Backup for Joomla!

#8891 curl syntax

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 Thursday, 09 June 2011 05:08 CDT

douglas
Mandatory information about my setup:

Have I searched the forum before posting? Yes
Have I read the Troubleshooting Wizard before posting? Yes
Have I read the documentation before posting? Yes
Joomla! version: 1.5.23
PHP version: 5.2.14
MySQL version: 5.0.91-community
Host: zen.co.uk
Akeeba Backup Professional version: 3.3.a3

Hi, As a replacement to using Remote Control I was looking to use a wget script on my local machine to fire off a backup profile that transfers the backup files to my S3 cloud.

I use a Mac which ships not with wget but with curl which I believe should achieve the same result using:

/usr/bin/curl --max-redirs 10000 "http://www.yoursite.com/index.php?option=com_akeeba&

view=backup&key=YourSecretKey&profile=profile_id"

I want to check this with the Akeeba team as I am far from a UNIX expert.

Many Thanks, Doug

nicholas
Akeeba Staff
Manager
The cURL syntax is substantially different than wget's syntax. According to our documentation the cURL syntax is:
curl -b /tmp/cookies.txt -c /tmp/cookies.txt -L --max-redirs 1000 -v "http://www.yoursite.com/index.php?option=com_akeeba&view=backup&key=YourSecretKey&profile=profile_id"

You can omit the -b /tmp/cookies.txt -c /tmp/cookies.txt part if it causes cURL to fail. The use of both -L and --max-redirs 1000 is mandatory. Otherwise, cURL will not follow the redirections and the backup will never complete.

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!

douglas
Thanks Nicholas,

That worked perfectly.

Doug

nicholas
Akeeba Staff
Manager
Excellent! 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!