View Issue Details

IDProjectCategoryView StatusLast Update
0000724bareos-coredirectorpublic2024-03-04 15:19
Reporterc.monty Assigned Tobruno-at-bareos  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionno change required 
PlatformLinuxOSSLESOS Version11
Product Version16.2.4 
Summary0000724: FileSet: Dynamic exclude file list ignored when displaying estimate listing job=<jobname>
DescriptionHello!

I have configured a FileSet with an Include list and an Exclude list. However the exclude list is ignored with displaying the estimate listing, means anything in the Exclude list is shown.
Steps To ReproduceOn the client I create the following directories:
/Backup_NewDB_AAA/data
/Backup_NewDB_AAA/log
/Backup_NewDB_ADD/data
/Backup_NewDB_ADD/log
/Backup_NewDB_BS4/data
/Backup_NewDB_BS4/log
/Backup_NewDB_SAP/data
/Backup_NewDB_SAP/log

In the dynamic exclude file /etc/bareos/reservedSID.list the following entries are included:
 cat /etc/bareos/reservedSID.list
File = /Backup_NewDB_ADD
File = /Backup_NewDB_ALL
File = /Backup_NewDB_AMD
File = /Backup_NewDB_SAP
Additional InformationFileSet {
  Name = HDBlog
  Description = "Backup HDB log files."
  Include {
    File = "\\|/etc/bareos/HDBlog_FileSet.sh"
    Options {
      signature = MD5
    }
    Exclude Dir Containing = .nobackup
  }
  Exclude {
    @/etc/bareos/reservedSID.list
  }
}

bconsole: show fileset
FileSet {
  Name = "HDBlog"
  Include {
    Options {
      Signature = MD5
    }
    File = "\\|/etc/bareos/HDBlog_FileSet.sh"
    Exclude Dir Containing = ".nobackup"
  }
  Exclude {
    File = "/Backup_NewDB_ADD"
    File = "/Backup_NewDB_ALL"
    File = "/Backup_NewDB_AMD"
    File = "/Backup_NewDB_SAP"
  }
}

bconsole: estimate listing job=ld9906-HDBlog
Using Catalog "DLM"
Connecting to Client ld9906-fd at ld9906:9102
drwxr-xr-x 2 root root 4096 2016-11-11 09:23:53 /Backup_NewDB_AAA/log
drwxr-xr-x 2 root root 4096 2016-11-14 09:42:19 /Backup_NewDB_ADD/log
-rw-r----- 1 bs4adm sapsys 20652032 2016-10-07 15:44:30 /Backup_NewDB_BS4/log/log_backup_0_0_0_0.1475847869836
-rw-r----- 1 bs4adm sapsys 20656128 2016-10-27 16:24:12 /Backup_NewDB_BS4/log/log_backup_0_0_0_0.1477578252091
-rw-r----- 1 bs4adm sapsys 20656128 2016-11-09 14:22:41 /Backup_NewDB_BS4/log/log_backup_0_0_0_0.1478697761446
-rw-r----- 1 bs4adm sapsys 20652032 2016-10-27 13:42:33 /Backup_NewDB_BS4/log/log_backup_0_0_0_0.1477568552988
-rw-r----- 1 bs4adm sapsys 20656128 2016-11-10 20:52:53 /Backup_NewDB_BS4/log/log_backup_0_0_0_0.1478807572346
-rw-r----- 1 bs4adm sapsys 20660224 2016-11-11 10:11:36 /Backup_NewDB_BS4/log/log_backup_0_0_0_0.1478855496057
drwxr-xr-x 2 bs4adm sapsys 1077248 2016-11-11 10:11:36 /Backup_NewDB_BS4/log
drwxr-xr-x 2 root root 4096 2016-11-14 09:42:28 /Backup_NewDB_SAP/log
2000 OK estimate files=10 bytes=123,932,672

On client:
ls /Backup_NewDB_*
/Backup_NewDB_1BB:

/Backup_NewDB_AAA:
data log

/Backup_NewDB_ADD:
data log

/Backup_NewDB_BS4:
data log test

/Backup_NewDB_C-C:

/Backup_NewDB_C12:
log

/Backup_NewDB_D3d:

/Backup_NewDB_EE+:

/Backup_NewDB_F4f:

/Backup_NewDB_GGGG:

/Backup_NewDB_HH12:

/Backup_NewDB_SAP:
data log

/Backup_NewDB_jkl:

 /etc/bareos/HDBlog_FileSet.sh
/Backup_NewDB_AAA/log
/Backup_NewDB_ADD/log
/Backup_NewDB_BS4/log
/Backup_NewDB_C12/log
/Backup_NewDB_SAP/log
TagsNo tags attached.

Activities

bruno-at-bareos

bruno-at-bareos

2023-12-12 13:20

manager   ~0005608

Is this still happening with recent version ?
bruno-at-bareos

bruno-at-bareos

2024-03-04 15:19

manager   ~0005824

File = "/Backup_NewDB_SAP" is not /Backup_NewDB_SAP/log
Wrong usage of File instead of wilddir wildfile

Issue History

Date Modified Username Field Change
2016-11-14 10:18 c.monty New Issue
2023-12-12 13:20 bruno-at-bareos Assigned To => bruno-at-bareos
2023-12-12 13:20 bruno-at-bareos Status new => feedback
2023-12-12 13:20 bruno-at-bareos Note Added: 0005608
2024-03-04 15:19 bruno-at-bareos Status feedback => closed
2024-03-04 15:19 bruno-at-bareos Resolution open => no change required
2024-03-04 15:19 bruno-at-bareos Note Added: 0005824