bareos: master 8ddcae70

Author Committer Branch Timestamp Parent
joergs joergs master 2016-12-02 13:07 master f1a2fff0 Pending
Changeset bls: enhance output

Enhance bls so it can display the streams on a volume, using verbose (-v).

Example:
$ bls Storage1 -V TestVolume001 -v
bls: butil.c:273-0 Using device: "Storage1" for reading.
22-Jun 19:34 bls JobId 0: Ready to read from volume "TestVolume001" on device "Storage1" (/var/lib/bareos/storage).
Volume Label Record: VolSessionId=1 VolSessionTime=1498152622 JobId=0 DataLen=168
Begin Job Session Record: VolSessionId=1 VolSessionTime=1498152622 JobId=1 DataLen=169
FileIndex=1 Stream=1 UATTR DataLen=129 | -rw-rw-r-- 1 root root 5 2017-06-22 19:30:21
                                                              | /srv/data/test1.dat
FileIndex=1 Stream=29 COMPRESSED DataLen=25 | GZIP, level=9, version=1, length=13
FileIndex=1 Stream=3 MD5 DataLen=16 | 2Oj8otwPiW/Xy0ywAxuiSQ (base64)
FileIndex=2 Stream=1 UATTR DataLen=123 | drwxrwxr-x 2 root root 4096 2017-06-22 19:30:21
                                                              | /srv/data/
...
End Job Session Record: VolSessionId=1 VolSessionTime=1498152622 JobId=1
DataLen=205
22-Jun 19:34 bls JobId 0: End of Volume at file 0 on device "Storage1" (/var/lib/bareos/storage), Volume "TestVolume001"
22-Jun 19:34 bls JobId 0: End of all volumes.
End of Physical Medium Record: VolSessionId=0 VolSessionTime=0 JobId=0 DataLen=0
9 files and directories found.
mod - manpages/bls.8 Diff File
mod - src/lib/attr.c Diff File
mod - src/lib/protos.h Diff File
mod - src/lib/util.c Diff File
mod - src/stored/bls.c Diff File
mod - src/stored/protos.h Diff File
mod - src/stored/record.c Diff File