Support

Akeeba Backup for WordPress

#25750 – cron job

Posted in ‘Akeeba Backup for WordPress’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Friday, 29 July 2016 03:28 CDT
user90223
Hi,

Could you kindly help me figure out how to get a cron job going? I'm on Dreamhost for now and my public html path looks like this: "/home/bartekl/www.globalmindenglish.com/". I'm lost as to where the backup.php file is supposed to be. The documentation here says it should be in a folder/path as follows: .../httpdocs/cli/backup.php. There is no such folder as 'httpdocs' or 'cli' anywhere within my accessible folder structure as far as I can see. I'm sure this is just my own ignorance but I would really appreciate your help. I've been trying to get this working for ages. Here is what I've been using: /home/bartekl/www.globalmindenglish.com/httpdocs/cli/backup.php --profile=1 --description="My automated backup" --override="engine.postproc.s3.accesskey= ***" --override="engine.postproc.s3.secretkey=***" .

Also, I have a secret word set within Akeeba panel. Is the second '--override' where I put that? I don't seem to have a secretkey with my S3 but I do have an accesskey.

If I need to ask dreamhost, then what exactly should I be asking them--the path to backup.php? Or is that something from Akeeba?

Thank you
B

Custom Fields

WordPress version (in x.y.z format) 4.5.3
PHP version (in x.y.z format) 5.6
Akeeba Backup version (x.y.z format) 1.9.2
Friday, 29 July 2016 08:58 CDT
dlb
Most of your confusion is a documentation issue. Either you are looking at the Joomla! documentation or some Joomla! paths have worked their way into the WordPress documentation.

If your S3 passwords are set up in Profile #1, you do not have to pass them as an override on the CRON command line, they will be picked up from the profile information. You are better off putting the access information in the profile, the profile information is encrypted, the CRON info is eye readable to anyone who can look at the CRON setup.

Regarding the path, in the Advanced Options section on the main screen, select Schedule Automatic Backups. The path you need to call for your site is near the top in red text. Note that you need to replace the beginning "/path/to/php". You need the path to PHP-CLI there, we can't detect that in the program.

The secret key that you set up is for a front end backup, not a cli backup. You do not use that with cli.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

Friday, 29 July 2016 10:40 CDT
user90223
I appreciate the response. I got it working with that info, although my backups don't seem to be making it to Amazon...but that includes backups initiated from within Akeeba in WP Admin. My output directory for the profile says that the output is '/home/bartekl/www.globalmindenglish.com/wp-content/plugins/akeebabackupwp/app/backups'. I don't see any S3 options anymore. What happened to my configuration? I'm sure it's just me missing something and I'm sorry about that. Thanks for your patience. My version says it's Akeeba Backup for WordPress Core 1.9.2 and there's a donate via PayPal button that never used to be there. Has this reverted to some free version or something? All my previous profiles are there, including one click backup buttons. I had seperate profiles for S3, dropbox, and Google Drive doing different things.

Cheers,
B
Friday, 29 July 2016 10:42 CDT
user90223
Friday, 29 July 2016 10:53 CDT
dlb
That is exactly the problem, you have the free or Core version installed and all of the post processing capability is only in the Pro version.

You can download the Pro version from our website, extract it locally, and upload the files via FTP to the /wp-content/plugins/akeebabackupwp folder, overwriting the ones that are there. That will get your Pro version back.

I just need to see a failed backup with the Pro version, or a failed upload, to see what might be going on with S3.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

Friday, 29 July 2016 12:42 CDT
user90223
All is well. Thanks!
Friday, 29 July 2016 13:42 CDT
dlb
You're welcome!


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

Sunday, 28 August 2016 17:20 CDT
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.

Support Information

Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

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!