The output from the legacy/Bacula "show filesets" command allows me to easily
identify the files/folders included or excluded from a given fileset:
* show filesets
FileSet: name=Full Set
O MZ1
N
I /usr/local/bacula/bin
I /etc
I /root
I /boot
I /var/www
I /sbin
N
E /opt/bacula/working
E /tmp
E /proc
E /tmp
E /.journal
E /.fsck
This allows me to write code (in Perl) that update a separate database
detailing the contents of a given fileset.
The Bareos "show filesets" output is very different:
FileSet {
Name = "MyXP-FileSet"
Include {
Options {
Signature = MD5
Compression = lzo
}
File = "C:/Data"
File = "D:/MyPics"
}
Exclude {
File = "C:/Data/Not_These"
File = "D:/MyPics/Ignore"
}
}
As a result my Perl code is now broken. Furthermore, it's difficult to parse
which files/folders are included or excluded from a given fileset.
Is there a way to run bconsole is "legacy mode" so that I can obtain the legacy
style output from "show filesets"?
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.