Support

Akeeba Backup for Joomla!

#39163 Replace default profile

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
4.3.2
PHP version
8.0.29
Akeeba Backup version
9.6.1

Latest post by nicholas on Tuesday, 04 July 2023 01:03 CDT

petekuhn

I want to replace my default profile with another profile, but I can't figure out how to do it.

I tried deleting the default profile, but I can't do that. I thought of exporting the other profile and importing it to the default, but that doesn't seem to work.

Is there any way easier than just copying all of the params from one profile to another?

Thanks.

nicholas
Akeeba Staff
Manager

You can't delete, replace, or import the default backup profile. This is a necessary restriction as we must always have a profile with ID = 1. It acts as a fallback if all else fails.

What you can do is transfer the settings manually. I will give you two options, one is just point and click (but tedious), the other one involves copying database data over.

Go to the Profiles management page and select (check the box next to) the default backup profile. From the toolbar click Actions, Reset. This restores the default backup profile to the factor defaults. Now you can redo the configuration you have in another backup profile. This is tedious but is the simplest of the two methods.

Another option is to go the database route. All backup profiles are stored in the #__akeebabackup_profiles table (where #__ is the common database table name prefix of your site). You can copy the contents of the configuration and filters columns from the row with your known good backup profile into the respective columns of the default backup profile (where id = 1). You can do that with phpMyAdmin or Adminer; one of these will be installed on your server and available through the hosting control panel.

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!

petekuhn

Thanks!

How about just deleting the default profile (in MySQl) and changing the id of the other one to 1 (after backing everything up, of course)?

nicholas
Akeeba Staff
Manager

Yes, this would also work.

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!