Support

Akeeba Backup for Joomla!

#38445 How to switch from the default profile to a custom one?

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
3.10.11
PHP version
8.0
Akeeba Backup version
8.2.6

Latest post by nicholas on Thursday, 09 February 2023 08:06 CST

guillenphoto

Hi,

I am working on the migration of my website to Joomla 4.

I do not want to enter in details but that migration is impossible. Nobody knows why. There is something corrupted in my website.

So we have decided to create a new website running with Joomla 3 and import all the data from the tables in the database. Then we will run a migration.

And I have a small issue with Akeeba Backup in my new website in Joomla 3.

I have two profiles in my Akeeba Backup. One is the default (#1) and I have a custom one imported from my production website.

Because I am using a cron to backup my website I need my custom profile to be the default one.

How can I do that? Do I have to use the switch button (it is not working)?

Please let me know how to solve my issue.

Β 

Sincerely

PS: I attached two screenshots to show you the profiles.

nicholas
Akeeba Staff
Manager

You just select the new backup profile in that dropdown and it switches automatically. If it does not work it means that JavaScript on your site is not working. In this case you will not be able to switch profiles or even configure Akeeba Backup.

However, since you are using CRON, you can tell the CRON job which backup profile to use with the --profile command line argument (see https://www.akeeba.com/documentation/akeeba-backup-documentation/automating-your-backup.html#native-cron-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!

guillenphoto

Hi Nicholas,

I come back to you a little bit late because today we have just finish the migration to Joomla 4. I should confess that it has not been an easy task. Very complicated with some extensions.

So, I am still not able to switch my profile. It is always the default one. So the cron is taken that one.

As you said, I would like to address the second profile but I do not figure out how to do.

My cron looks like:Β https://www.mywebsite.com/index.php?option=com_akeeba&view=Backup&key=mykey

How to add --profile=2 in that command?

Please would you tell me? I am using Webcron.

Thanks for your help.

Sincerely,

A. Guillen

nicholas
Akeeba Staff
Manager

Go to the backend of your site. 

Go to Components, Akeeba Backup for Joomla.

Select profile #2 from the drop-down (important!).

Wait for the page to reload.

Go to Schedule Automatic Backups.

Scroll down. You now see the WebCRON URL for the current profile (profile #2).

Alternatively, you can read the documentation, where I tell you how the URL is structured: Front-end backup, for use with CRON

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!

guillenphoto

Hi Nicholas,

thank you very much. It works well.

You can close the ticket.

All my best,

A. Guillen

nicholas
Akeeba Staff
Manager

You're welcome! Have a great day :)

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!