View Issue Details

IDProjectCategoryView StatusLast Update
0000991bareos-coredirectorpublic2018-07-28 14:55
Reporterhsn Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Platformx86OSWindowsOS Version10
Product Version17.2.4 
Summary0000991: shadowing=globalremove do not consider excluded files
DescriptionIf your exclude filter matches file then it is not shadowed and should not be removed during globalremove phase.

Look at my example. I am excluding *.sql from first Include {} and Including it in second Include with different GZIP compression level. Bareos incorrectly thinks that file is shadowed in second Include part and does not backup it at all.
Steps To ReproduceFileSet {
  Name = "Catalog"
  Description = "Backup the catalog dump and Bareos configuration files."
  Include {
    Options {
      signature = SHA1
      compression = GZIP9
      Wildfile = *.orig
      Wildfile = *.sql
      Exclude = yes
      Ignore case = yes
      shadowing=globalremove
    }
    File = "C:/ProgramData/Bareos" # configuration
  }
  Exclude {
    File = "C:/ProgramData/Bareos/logs"
    File = "C:/ProgramData/Bareos/working"
  }
  Include {
    Options {
      signature = SHA1
      compression = GZIP5
      ignore case = yes
    }
    File = "C:/ProgramData/Bareos/catalog/bareos.sql" # database dump
  }
}
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-07-28 14:55 hsn New Issue