-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filesets for files are not counted on "status subscriptions all" #1811
Comments
What I find bizarre is the fact that only "empty" is displayed under "filesettext". |
If I remember that was my case with a very old database migrated from version to version. They maybe empty. |
Very interesting, but yes only for the MariDB and PostgreSQL fileset the filesettext field is filled in the SQL database. |
Hello, so reviewed with the devs the problem with such old migrated db, the filesettext will not be updated until a significant changes is made to the fileset so the hash will be changed. But of course with the drawback of triggering a new full. It may be considered as a bug, but we already know that not fixes will be done soonish, and quite rare. Your best path to fix this is to update manually the content of filesettext with the content of the fileset resource directly in the database, then list filesets will show you the content, and of course subscription view will work. |
Bareos component version
all 23.0..2
Steps to reproduce
Call "status subscriptions all"
Expected results
A list of potentially required licence points.
Actual results
Only the PostgreSQL file sets are counted. The MariaDB (which I know that will be an bug) and simple file sets are not counted.
Environment
- OS: Fedora 39, Rock 9, CentOS 7
Relevant log output
Relevant traces output
No response
Anything else?
The director with its database was originally operated under MariaDB and then migrated to PostgreSQL (when MariaDB support was dropped). The original database was once a MariaDB under Bacula. This was migrated with the first Bareos version. Only the scripts supplied by Bareos were used for the migration. Maybe something got lost during all the migrations? Because the PostgreSQL filesets were only recently created under Bareos 23.
The text was updated successfully, but these errors were encountered: