View Issue Details

IDProjectCategoryView StatusLast Update
0000808bareos-coredirectorpublic2018-04-20 17:08
Reportermowens Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
PlatformLinuxOSUbuntuOS Version16.04.2
Product Version17.1.3 
Summary0000808: Windows Backups - no files in bareos-webui restore menu after bareos-dbcheck -f
DescriptionFor my windows 10 backups, I'm noticing that the Path table will get stored with a null value in the database.
ex:
select * from Path

| 48649 | C:/RedAlert/ |
| 48650 | C:/ |
| 48651 |

This is related to this issue:
https://bugs.bareos.org/view.php?id=603


After running bareos-dbcheck -f, it displays this error:

Checking for Paths without a trailing slash
Found 1 bad Path records.
Print them? (yes/no): yes

Reparing 1 bad Filename records.


What it's doing is replacing that blank record at id "48651" with a backslash:

| 48649 | C:/RedAlert/ |
| 48650 | C:/ |
| 48651 | / |

This is breaking the webui restore page. The solution I found is to add the following Exclude to my fileset:

FileSet {
  Name = "CustomWin"
  Enable VSS = yes
  Include {
    Options {
      Signature = MD5
      Drive Type = fixed
      IgnoreCase = yes
      WildFile = "[A-Z]:/pagefile.sys"
      WildDir = "[A-Z]:/RECYCLER"
      WildDir = "[A-Z]:/$RECYCLE.BIN"
      WildDir = "[A-Z]:/System Volume Information"
      Exclude = yes
    }
     File = "C:/RedAlert/"
  }
  Exclude {
     File = " "
  }
}


This excludes this blank path from being added to the Path table. Not sure if there's a better way to do this.
TagsNo tags attached.

Activities

joergs

joergs

2018-04-20 17:07

developer   ~0002973

This dbcheck issue have been fixed with bareos-17.2.5.

Issue History

Date Modified Username Field Change
2017-04-08 15:24 mowens New Issue
2018-04-20 17:07 joergs Note Added: 0002973
2018-04-20 17:07 joergs Status new => resolved
2018-04-20 17:07 joergs Resolution open => fixed
2018-04-20 17:07 joergs Assigned To => joergs
2018-04-20 17:08 joergs Status resolved => closed
2018-04-20 17:08 joergs Assigned To joergs =>