Hello Conrad,
the output was changed so that humans can see what is defined, as the old
output was not
easily understandable to humans.
That was not only for the fileset but for all the "show" command output.
Also, some information was shown, and some was not which made the show command
not very useful.
This is why we changed the output to show everything that is configured in the
way it is configured
in the config files.
It should be not too hard to add a parameter to the show command to output what
you want, as this is
the way that the fileset is transferred from the director to the filed.
Such a patch would be welcome :)
Best regards,
Philipp
Am 15.04.2015 um 20:52 schrieb Conrad Lawes:
> 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"?
>
--
Mit freundlichen Grüßen
Philipp Storz [email protected]
Bareos GmbH & Co. KG Phone: +49 221 63 06 93-92
http://www.bareos.com Fax: +49 221 63 06 93-10
Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Geschäftsführer: Stephan Dühr, M. Außendorf,
J. Steffens, P. Storz, M. v. Wieringen
--
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.