View Issue Details

IDProjectCategoryView StatusLast Update
0000188bareos-coredirectorpublic2015-03-25 19:19
Reportermvwieringen Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
PlatformOpenIndianaOSOpenIndianaOS Versionb151a
Product Version13.3.0 
Fixed in Version13.3.0 
Summary0000188: Implement NDMP enhancements.
DescriptionCurrently we only allow all or nothing restores for the NDMP backup and restore.

We would like to allow individual file restore.

For that we are missing the following:

- Need to store the FHDB NDMP data into the backup catalog.
- Allow the user to select the info on restore
- Pass the file selection from the NDMP DMA to the NDMP data agent so
  it knows what to restore.

As we currently don't allow seeks on the NDMP stream with the NDMP tape agent
implemented in the Bareos Storage Daemon we cannot add the so called DAR
(Direct Access Recovery) but as part of this storing of the FHDB information
in the backup catalog we should store the DAR offset too so when we either
support native NDMP tape agents (currently not implemented) or when the Bareos
Storage Daemon allows seeking in the NDMP stream we have that information.
TagsNo tags attached.

Activities

mvwieringen adm

mvwieringen adm

2013-08-13 03:12

administrator   ~0000583

Fix committed to bareos master branch with changesetid 640.
mvwieringen

mvwieringen

2015-03-25 16:51

developer   ~0001495

Fix committed to bareos2015 bareos-14.2 branch with changesetid 5128.
joergs

joergs

2015-03-25 19:19

developer   ~0001643

Due to the reimport of the Github repository to bugs.bareos.org, the status of some tickets have been changed. These tickets will be closed again.
Sorry for the noise.

Related Changesets

bareos: master d6d4d978

2013-05-11 19:41

mvwieringen adm

Ported: N/A

Details Diff
Implement NDMP enhancements.

Currently we only allow all or nothing restores for the NDMP backup and restore.

This code implements the first set of changes needed to perform filelevel
based restore of NDMP backups.

The following things are implemented:

- Store the FHDB NDMP data into the backup catalog.
- Allow the user to select the info on restore
- Pass the file selection from the NDMP DMA to the NDMP data agent so
it knows what to restore.

As we currently don't allow seeks on the NDMP stream with the NDMP tape agent
implemented in the Bareos Storage Daemon we cannot add the so called DAR
(Direct Access Recovery) but as part of this storing of the FHDB information
in the backup catalog we should store the DAR offset too so when we either
support native NDMP tape agents (currently not implemented) or when the Bareos
Storage Daemon allows seeking in the NDMP stream we have that information.

This code works when using the restore functions in bconsole. Restores via
the BVFS method currently don't work and need more work. This means that restores
via BAT don't work as that uses BVFS.

Fixes 0000188: Implement NDMP enhancements.
Affected Issues
0000188
mod - src/stored/ndmp_tape.c Diff File
mod - src/ndmp/ndmlib.h Diff File
mod - src/lib/tree.h Diff File
mod - src/lib/tree.c Diff File
mod - src/dird/ua_label.c Diff File
mod - src/dird/ndmp_dma.c Diff File
mod - src/dird/catreq.c Diff File
mod - src/dird/bsr.c Diff File
mod - src/cats/sql_get.c Diff File

bareos2015: bareos-14.2 f7a0bda6

2013-05-11 21:41

mvwieringen

Ported: N/A

Details Diff
Implement NDMP enhancements.

Currently we only allow all or nothing restores for the NDMP backup and restore.

This code implements the first set of changes needed to perform filelevel
based restore of NDMP backups.

The following things are implemented:

- Store the FHDB NDMP data into the backup catalog.
- Allow the user to select the info on restore
- Pass the file selection from the NDMP DMA to the NDMP data agent so
it knows what to restore.

As we currently don't allow seeks on the NDMP stream with the NDMP tape agent
implemented in the Bareos Storage Daemon we cannot add the so called DAR
(Direct Access Recovery) but as part of this storing of the FHDB information
in the backup catalog we should store the DAR offset too so when we either
support native NDMP tape agents (currently not implemented) or when the Bareos
Storage Daemon allows seeking in the NDMP stream we have that information.

This code works when using the restore functions in bconsole. Restores via
the BVFS method currently don't work and need more work. This means that restores
via BAT don't work as that uses BVFS.

Fixes 0000188: Implement NDMP enhancements.
Affected Issues
0000188
mod - src/cats/sql_get.c Diff File
mod - src/dird/bsr.c Diff File
mod - src/dird/catreq.c Diff File
mod - src/dird/ndmp_dma.c Diff File
mod - src/dird/ua_label.c Diff File
mod - src/lib/tree.c Diff File
mod - src/lib/tree.h Diff File
mod - src/ndmp/ndmlib.h Diff File
mod - src/stored/ndmp_tape.c Diff File

Issue History

Date Modified Username Field Change
2013-06-07 11:30 mvwieringen New Issue
2013-06-07 11:30 mvwieringen Status new => assigned
2013-06-07 11:30 mvwieringen Assigned To => mvwieringen
2013-06-14 20:08 mvwieringen Changeset attached => bareos master b4b5921b
2013-06-14 20:08 mvwieringen Status assigned => resolved
2013-06-14 20:08 mvwieringen Resolution open => fixed
2013-08-13 03:12 mvwieringen adm Changeset attached => bareos master d6d4d978
2013-08-13 03:12 mvwieringen adm Note Added: 0000583
2013-08-13 03:12 mvwieringen adm Assigned To mvwieringen => mvwieringen adm
2013-08-13 09:36 mvwieringen adm Assigned To mvwieringen adm =>
2013-08-13 09:36 mvwieringen adm Status resolved => closed
2013-08-13 09:36 mvwieringen adm Product Version => 13.3.0
2013-08-13 09:36 mvwieringen adm Fixed in Version => 13.3.0
2015-03-25 16:51 mvwieringen Changeset attached => bareos2015 bareos-14.2 f7a0bda6
2015-03-25 16:51 mvwieringen Note Added: 0001495
2015-03-25 16:51 mvwieringen Status closed => resolved
2015-03-25 19:19 joergs Note Added: 0001643
2015-03-25 19:19 joergs Status resolved => closed