View Issue Details

IDProjectCategoryView StatusLast Update
0001601bareos-corewebuipublic2024-02-28 10:07
Reporterkhvalera Assigned Tobruno-at-bareos  
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionunable to reproduce 
PlatformLinuxOSanyOS Version3
Product Version23.0.1 
Summary0001601: It is impossible to restore files from an archive via the web interface
DescriptionIt is not possible to restore archived files via the web interface when “Merge all related jobs to last full backup of selected backup job” is selected to “Yes”.
When this option is selected, files are not displayed in the “File selection”.
In bareos-audit.log I see the following empty parameters:
backup-dir: Console [web-admin] from [::1] cmdline .bvfs_get_jobids jobid=7690 all
backup-dir: Console [web-admin] from [::1] cmdline llist backups client="client_16.1" fileset="any" order=desc
backup-dir: Console [web-admin] from [::1] cmdline show fileset="linux-config-system"
backup-dir: Console [web-admin] from [::1] cmdline .bvfs_update
backup-dir: Console [web-admin] from [::1] cmdline llist clients current
backup-dir: Console [web-admin] from [::1] cmdline show client=client_16.1
backup-dir: Console [web-admin] from [::1] cmdline .bvfs_get_jobids jobid=7690 all
backup-dir: Console [web-admin] from [::1] cmdline .bvfs_lsdirs jobid= path= limit=1000 offset=0
backup-dir: Console [web-admin] from [::1] cmdline .bvfs_lsdirs jobid= path=@ limit=1000
backup-dir: Console [web-admin] from [::1] cmdline .bvfs_lsfiles jobid= path= limit=1000 offset=0
TagsNo tags attached.

Activities

khvalera

khvalera

2024-02-21 15:31

reporter   ~0005791

I am attaching screenshots.
Screenshot_20240221_160412.png (85,262 bytes)   
Screenshot_20240221_160412.png (85,262 bytes)   
Screenshot_20240221_160228.png (73,327 bytes)   
Screenshot_20240221_160228.png (73,327 bytes)   
bruno-at-bareos

bruno-at-bareos

2024-02-21 16:31

manager   ~0005792

Archive jobs are not meant to be merged with normal jobs.
If you enable merge jobs all, then only the active full and its incremental chain can be used for.

You certainly want to use the other tabs (restore file by version).
bruno-at-bareos

bruno-at-bareos

2024-02-21 16:36

manager   ~0005793

Just to add this it is working in both case for archive.
version 23.0.1
20240221_163441_1.jpg (190,940 bytes)   
20240221_163441_1.jpg (190,940 bytes)   
khvalera

khvalera

2024-02-21 17:09

reporter   ~0005794

I probably didn’t quite understand you, but as I understand it, with this parameter it’s possible to combine all incremental tasks with a full one!? This does not happen and even if you select a full task, the list of files will be empty.

khvalera

khvalera

2024-02-21 17:10

reporter   ~0005795

I am attaching screenshots.
Screenshot_20240221_180853.png (67,805 bytes)   
Screenshot_20240221_180853.png (67,805 bytes)   
bruno-at-bareos

bruno-at-bareos

2024-02-21 17:26

manager   ~0005796

> I probably didn’t quite understand you, but as I understand it, with this parameter it’s possible to combine all incremental tasks with a full one!? This does not happen and even if you select a > full task, the list of files will be empty.

Closing as invalid, A full + all incremental on top of it are proposed if the chain work of course, but you were talking about archive.

If it is not working, please go to bconsole choice 5 (which is the equivalent and report success or error)
is the bvfs update has been done for that job or does it failed if space is missing etc ...
bruno-at-bareos

bruno-at-bareos

2024-02-21 17:27

manager   ~0005797

Not changes needed
Please upgrade to current version which is 23.0.1
khvalera

khvalera

2024-02-21 17:44

reporter   ~0005798

Last edited: 2024-02-21 17:44

I’m using version 23.0.1, it’s not in the bugs interface, that’s why I tore out 22.1.3.
Tried:
  .bvfs_clear_cache yes
  .bvfs_update
no errors.
There are no problems with restoring from the console (I just tried it, everything works).
bruno-at-bareos

bruno-at-bareos

2024-02-22 09:36

manager   ~0005799

set correct version
bruno-at-bareos

bruno-at-bareos

2024-02-22 09:47

manager   ~0005800

I'm a bit astonish, as version 23.0.1 version is present at first position in the selector.

I'm sorry to inform you that we can't reproduce your problem, you have to give us more information so we will be able to do a diagnostic.

on test picking any incremental lead to the following
show client=bareos-fd
.bvfs_get_jobids jobid=4051
.bvfs_lsdirs jobid=15284,15506,15184,15193,15203,15213,15223,15232,15242,15252,15262,15271,15280,15290,15303,15313,15344,15354,15364,15373,15383,15393,15433,15446,15456,15465,15475,15484,15494,15502 path= limit=1000 offset=0
.bvfs_lsfiles jobid=15284,15506,15184,15193,15203,15213,15223,15232,15242,15252,15262,15271,15280,15290,15303,15313,15344,15354,15364,15373,15383,15393,15433,15446,15456,15465,15475,15484,15494,15502 path= limit=1000 offset=0
.bvfs_lsfiles jobid=15284,15506,15184,15193,15203,15213,15223,15232,15242,15252,15262,15271,15280,15290,15303,15313,15344,15354,15364,15373,15383,15393,15433,15446,15456,15465,15475,15484,15494,15502 path=@ limit=1000 offset=0

So your first .bvfs_get_jobids jobid=4151 in bconsole should return the list of related or mandatory jobid etc...
khvalera

khvalera

2024-02-22 16:06

reporter   ~0005806

My command .bvfs_get_jobids jobid=7737 does not return dependent jobs from 7737 JobId
What could be the problem?
bruno-at-bareos

bruno-at-bareos

2024-02-22 16:25

manager   ~0005807

No ideas of the why: this need real proper investigation which often take time.

You may want to contact our sales department to get a quote for consulting/subscription/support see sales(at)bareos(dot)com

Otherwise you may add information here or on the Mailing list to ask free advises there.
bruno-at-bareos

bruno-at-bareos

2024-02-28 10:07

manager   ~0005819

Software work as expected when a jobid is present and its full chain of incrementals

Issue History

Date Modified Username Field Change
2024-02-21 15:29 khvalera New Issue
2024-02-21 15:31 khvalera Note Added: 0005791
2024-02-21 15:31 khvalera File Added: Screenshot_20240221_160412.png
2024-02-21 15:31 khvalera File Added: Screenshot_20240221_160228.png
2024-02-21 16:31 bruno-at-bareos Assigned To => bruno-at-bareos
2024-02-21 16:31 bruno-at-bareos Status new => closed
2024-02-21 16:31 bruno-at-bareos Resolution open => no change required
2024-02-21 16:31 bruno-at-bareos Note Added: 0005792
2024-02-21 16:36 bruno-at-bareos Note Added: 0005793
2024-02-21 16:36 bruno-at-bareos File Added: 20240221_163441_1.jpg
2024-02-21 17:09 khvalera Status closed => new
2024-02-21 17:09 khvalera Resolution no change required => reopened
2024-02-21 17:09 khvalera Note Added: 0005794
2024-02-21 17:10 khvalera Note Added: 0005795
2024-02-21 17:10 khvalera File Added: Screenshot_20240221_180853.png
2024-02-21 17:26 bruno-at-bareos Note Added: 0005796
2024-02-21 17:27 bruno-at-bareos Status new => closed
2024-02-21 17:27 bruno-at-bareos Note Added: 0005797
2024-02-21 17:44 khvalera Status closed => new
2024-02-21 17:44 khvalera Note Added: 0005798
2024-02-21 17:44 khvalera Note Edited: 0005798
2024-02-22 09:36 bruno-at-bareos Product Version 22.1.3 => 23.0.1
2024-02-22 09:36 bruno-at-bareos Note Added: 0005799
2024-02-22 09:47 bruno-at-bareos Note Added: 0005800
2024-02-22 16:06 khvalera Note Added: 0005806
2024-02-22 16:25 bruno-at-bareos Note Added: 0005807
2024-02-28 10:07 bruno-at-bareos Status new => resolved
2024-02-28 10:07 bruno-at-bareos Resolution reopened => unable to reproduce
2024-02-28 10:07 bruno-at-bareos Note Added: 0005819