Support

Akeeba Backup for Joomla!

#15783 Which Profile Will Cron Job backup?

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 Wednesday, 17 April 2013 11:16 CDT

eng
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? No
Have I searched the tickets before posting? No
Have I read the documentation before posting (which pages?)? No
Joomla! version: (unknown)
PHP version: (unknown)
MySQL version: (unknown)
Host: (optional, but it helps us help you)
Akeeba Backup version: (unknown)

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 have two profiles setup - the existing default profile and another profile that I set to make backups to Amazon S3.
When I automate backups via Cron Job which profile will be backed up?

Thanks,

nicholas
Akeeba Staff
Manager
Whichever you specify in your CRON job. All automation methods, no matter if you're using the front-end backup feature, or the akeeba-backup.php and akeeba-altbackup.php files allow you to choose whichever profile you want. If you don't specify a profile the default profile (the one with an ID of 1) will be used.

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!

eng
I'm reading through all the tutorials, including backing up to Amazon S3 and creating an automated crob job but I can't find where you specify the profile to use. Can you please point this out.

nicholas
Akeeba Staff
Manager
It will be easier for me to reply if I know one more thing. Which automation method are you going to use? For example, the akeeba-backup.php script?

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!

eng
Actually I got confused & got it all wrong using both the front-end backup feature and the cron job which I don't think is supposed to go together. Luckily I stumpled upon Brian Teeman's video which went through the backup process specifically the Scheduling Information > PHP CLI path.

Thanks for your help.

nicholas
Akeeba Staff
Manager
I'm glad you got it working! I thought that my documentation is too deep and verbose for first time users, that's why I hired a training expert like Brian to do the training videos :)

Regarding your question now, if you want to change the backup profile used by the CRON job you can just tuck the parameter:
--profile=123
right after akeeba-backup.php in your CRON command line, where 123 is the numeric ID of the profile you want to use.

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!

eng
Hi Nicholas, thanks for the help. I'm glad you're thinking of your users and trying to simplify things :)

All the best.

nicholas
Akeeba Staff
Manager
Thank you very much for your kind words!

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!