Support

Akeeba Backup for Joomla!

#15123 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 nicholas on Saturday, 23 February 2013 03:26 CST

user71798

Description of my issue:

I've been working through your documentation getting akeeba pro setup to do automated backup and I have been successful and now I'm trying to move those backups to my dropbox.  How do I find the token and token secret to add to my cron job command line to automate this process.  Also is it possible to set these backups to enter a specific folder within the dropbox account?

https://www.akeebabackup.com/documentation/akeeba-backup-documentation/native-cron-script.html

Thanks!

 

Kurt

nicholas
Akeeba Staff
Manager

Hello Kurt,

I need to know which version of Joomla!, PHP and Akeeba Backup you are using. The answer is different depending on them.

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!

user71798

I found the following doc that explained the token questions so part of my question is resolved but I'm still working through the process with no success moving the items to the dropbox.

https://www.akeebabackup.com/component/docimport/akeeba-backup-documentation/step-by-step-guides.html

I am running Joomla 2.5.9.  PHP is set to 5.3 and Akeeba Backup Pro 3.6.12

Now I say php 5.3 because my host provides this info to update from 5.2

http://blog.arvixe.com/how-to-use-php-5-3-on-linux-hosting/

When I applied this update a few months back I know longer got warnings from Akeeba that I needed to update my PHP to 5.3

But

my cron job email says

You are using PHP 5.2.17 (cli)

I'm not sure why it would say that.

Here is my cron job info (slightly edited for a public forum)

/usr/local/bin/php /home/hostusernameedited/public_html/cli/akeeba-backup.php --override="engine.postproc.dropbox.token=tokenedited" --override="engine.postproc.dropbox.token_secret=secretedited"

Anyway, the cron is working for the backups, I just can't get them moved to dropbox.

Thanks for your help,

 

Kurt

user71798

FYI - I heard back from my host about the PHP question.  Here is their response.

You are running php 5.3 on your domain name as you can see here : "removed" I think what the issue is here is that the cronjob doesn't load the .htaccess telling it to use php 5.3 so it loads the server default of php 5.2 .

 

K.

nicholas
Akeeba Staff
Manager

Of course the cron job cannot read the .htaccess. It's run on the command line, not through the web server. .htaccess is only used by the web server. They can just tell you what is the path to the PHP 5.3 CLI binary and replace that in your cron job's command line.

That said, the PHP version is definitely not the reason you cannot get your files uploaded to Dropbox. The cron job does read your Akeeba Backup configuration. As long as you have linked the backup profile you are using with your Dropbox account it will automatically read the token and user information and connect to Dropbox. I would like to see the log file. Please go to Akeeba Backup, View Log and choose the "Command Line" origin. Now click on the Download log file button, then ZIP and attach that log file here.

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!

user71798

Here is the log file.

Thanks,

 

K.

nicholas
Akeeba Staff
Manager

You are using profile #1 (the default backup profile). That backup profile has not been set up to use Dropbox.

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!

user71798

Thank you so much.  I grabbed the token information from that profile but didn't realize my goof.  I setup a second profile and just tested.  I believe everything is working correctly.

 

Thanks!  Have a great weekend.

 

K.

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!