Bareos Bug Tracker
Bareos Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000890bareos-core[All Projects] directorpublic2018-01-08 21:552018-01-08 22:02
Reporterjoergs 
Assigned Tojoergs 
PriorityhighSeveritymajorReproducibilitysometimes
StatusconfirmedResolutionopen 
PlatformOSOS Version
Product Version17.2.4 
Target Version17.2.5Fixed in Version 
Summary0000890: .bvfs_update does not always create all cache enties. This results in a not working webui restore tree
Description.bvfs_update is a bconsole command to update the cache needed for the other bvfs commands to should directory and file information about backup jobs, see http://doc.bareos.org/master/html/bareos-developer-guide.html#sec:bvfs [^]

It is used by the bareos-webui to show the restore tree.
(It is not used by the bconsole restore command).
Steps To ReproduceBest pick a backup job with backup level Full, say jobid=5

bconsole
*.bvfs_clear_cache yes
*.bvfs_update
or
*.bvfs_update joibid=5

*.bvfs_lsdir jobid=1 path=
only returns a single entry, but not the / entry:
12 0 0 A A A A A A A A A A A A A A .

In this case, the PathHierarchy table will be empty. Check via bconsole:
*.sql query="select * from PathHierarchy;"
No results to list.


Correct result of the lsdir command would have at least two entries:
*.bvfs_lsdir jobid=1 path=
12 0 0 A A A A A A A A A A A A A A .
11 0 0 A A A A A A A A A A A A A A /
Additional InformationA workaround that sometimes worked is to restart the director.

echo ".bvfs_clear_cache yes" | bconsole
systemctl restart bareos-dir.service
echo ".bvfs_update" | bconsole
TagsNo tags attached.
bareos-master: impactyes
bareos-master: actionwill care
bareos-17.2: impactyes
bareos-17.2: actionwill care
bareos-16.2: impactno
bareos-16.2: action
bareos-15.2: impactno
bareos-15.2: action
bareos-14.2: impactno
bareos-14.2: action
bareos-13.2: impactno
bareos-13.2: action
bareos-12.4: impactno
bareos-12.4: action
Attached Files

- Relationships
related to 0000887feedbackjoergs Restore file list taking 20 minutes to populate 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2018-01-08 21:55 joergs New Issue
2018-01-08 21:55 joergs Status new => assigned
2018-01-08 21:55 joergs Assigned To => joergs
2018-01-08 21:55 joergs Status assigned => confirmed
2018-01-08 21:55 joergs bareos-master: impact => yes
2018-01-08 21:55 joergs bareos-master: action => will care
2018-01-08 21:55 joergs bareos-17.2: impact => yes
2018-01-08 21:55 joergs bareos-17.2: action => will care
2018-01-08 21:55 joergs bareos-16.2: impact => no
2018-01-08 21:55 joergs bareos-15.2: impact => no
2018-01-08 21:55 joergs bareos-14.2: impact => no
2018-01-08 21:55 joergs bareos-13.2: impact => no
2018-01-08 21:55 joergs bareos-12.4: impact => no
2018-01-08 21:56 joergs Relationship added related to 0000887
2018-01-08 22:02 joergs Steps to Reproduce Updated View Revisions
2018-01-08 22:02 joergs Additional Information Updated View Revisions


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker