Support

Akeeba Backup for Joomla!

#42218 Some backups do not respect «Files and Directories Exclusion»

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
5.3.3
PHP version
8.3.24
Akeeba Backup version
10.0.5

Latest post by nicholas on Tuesday, 26 August 2025 13:01 CDT

crimleit

I made some exclusions in Akeeba Backup > Control Panel > Files and Directories Exclusion.

They seem to be working for the backup profile «FullBackup to Webspace» only, but they do not apply for the other profile «FullBackup to kDrive».Please take a look at the attached screenshot. You can see that three backups are 118.13 MB, but the fourth (newest) backup is 144.76 GB.

Since this setting is made in the Control Panel (not in a specific profile itself), I would expect it to apply to any defined profile.

 

nicholas
Akeeba Staff
Manager

Your assumption is wrong. It is explicitly stated in the documentation that filters only apply to the currently selected backup profile. Besides, if you think about it, your assumption would make no sense at all.

What is the problem backup profiles are meant to solve?

Let's say you have an e-commerce site. Most likely you'd like to have a database-only backup profile which only backs up e-commerce relevant tables running hourly, an incremental files-only backup profile for the store assets (images, videos, PDFs, etc) running daily, and a full site backup profile backing up everything running weekly. What about a backup profile used to automatically transfer the site to a dev server? Maybe a backup profile to back up a subdomain which holds a gallery script that has nothing to do with Joomla? Maybe an one-off profile for doing a partial backup without the users needed for transferring a dev site and restoring it on top of a staging site?

This is what users were asking back when this was still called JoomlaPack way in 2007. This is why I implemented backup profiles. Each backup profile is a "container". It holds a set of configuration and filter settings, fully describing what to back up, how to back it up, and what to do with the resulting backup.

What you think is a bug is actually the very reason of existence of the backup profiles feature. It would be a colossal failure on my part if I suddenly decided that either configuration settings or filter settings exist globally and cannot be part of a backup profile. It would destroy the very essence of what I am trying to do with Akeeba Backup, how Akeeba Backup actually helps people do more than manually putting files in a tar archive and running mysqldump against their database. Think about it.

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!

crimleit

Your explanations are absolutely comprehensible. Let me rephrase the question:
Where or how can I configure these two profiles so that the folder «downloads» will not be backuped?

nicholas
Akeeba Staff
Manager

Select the first profile. Go to Files and Directories Exclusion page. Exclude your folder.

Go back to the main page.

Select the second profile. Go to Files and Directories Exclusion page. Exclude your folder.

The active profile, the one where your configuration and filter settings are applied to, is noted at the top of each page managing per profile settings. 

Please do read the documentation where the same is explained in more words. I wrote the documentation and the software myself.

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!

crimleit

Sorry for being so slow-witted. Eventually I found the correct way to configure the file and directory exclusion. Before, I had assumed that this needs to be done in Profiles Management > Configure. I did not find it there but in Control Panel and I erroneously concluded, that the settings applied here would affect any profile. To be honest, it would never have occurred to me that the buttons displayed in the Control Panel apply to the active profile only. There are quite a number of buttons in the Control Panel, that obviously apply to all profiles, not only to the active profile selected above. So it's a bit tricky, but I will keep that in mind for the future. Thank your for your tireless help.

nicholas
Akeeba Staff
Manager

Before, I had assumed that this needs to be done in Profiles Management > Configure.

Please note that there is a note at the top of that page reading "If you are looking for the filters –e.g. for excluding files, directories and database tables– please click on the Cancel button to get back to the Control Panel page where you can access these features directly".

To be honest, it would never have occurred to me that the buttons displayed in the Control Panel apply to the active profile only. 

To be honest, this feature is literally called a backup profile. I chose a compound noun in plain English to make it obvious to everyone.

Before I go on, please listen to my thinking naming this. As per the Merriam Webster dictionary, a profile is "a distinctive combination of characteristics". I believe that someone using this software understands what a (computer) backup is. As per the definition in the same dictionary a backup is "a copy of computer data (such as a file or the contents of a hard drive); also : the act or an instance of making a backup". Therefore, it stands to reason that the compound noun “backup profile” refers to “a distinctive combination of characteristic defining the act of making a (computer) backup”. By this definition, a backup profile for Akeeba Backup MUST consist of all the possible settings which tell Akeeba Backup how to take a backup. This is not just the Configuration options, but also the settings of all the features under "Include and Exclude Information" in Akeeba Backup's control panel page. So, as far as I can tell, common sense and the literal dictionary definition of the words of the compound noun explain what it is.

This  feature has been around for nearly 19 years. The vast majority of users deduced what it is, presumably working the same process I went through naming this feature.

Just to be sure there are no assumptions necessary, I have explicitly documented it as well:

The active profile is applied in all functions of the component, including configuration, filter settings, inclusion options, etc. The only settings which are not dependent on the active profile are those accessible from the Options toolbar button. Keep this in mind when editing any of Akeeba Backup's settings!

This documentation page is also accessible from the Help button in the Control Panel page.

The nature of backup profiles is also explicitly documented for the same reason:

Think of each backup profile as a named group of Akeeba Backup configuration settings and filters. Each one uniquely and completely defines the way Akeeba Backup will perform its backup process.

This documentation page is also accessible from the Help button in the Profiles page.

Further to that, every single page in the component where you can change anything about the backup profile configuration very clearly displays the active backup profile at the very top. It looks either like this:

or like this:

The expectation is that even if you don't deduce using common sense what a backup profile is, seeing the active backup profile you'd get curious enough to read the fine manual or click on that Help button which opens the documentation.

Our documentation is also available on our site under Support, Documentation.

The product page of each product links back to its support page. The support page for each software displays both the video tutorials and the documentation for the product. The documentation is also available for download.  When you try to submit a ticket you are shown search results from our site –including the product documentation– as you're typing the ticket's title.

I am sorry, but I have to ask this. Am I actually debating reading comprehension and the defining feature of Akeeba Backup for the past 19 years with a client of nearly three years, or is the language barrier making this hard for us two to understand each other? I just don't understand the purpose of this ticket at all. I am very confused as to what we're supposed to be discussing 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!

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!