Hi,
I'm trying to set a config value that includes newline character (a.k.a. \n). This worked in Bareos 19.2, but same config is not working in 21. It seems that the newlines are stripped when loading the config. I note that the docs say that strings can now be entered using a multi-line quoted format (for Bareos 20+).
The actual config setting is for NDMP files and specifying the NDMP environment MULTI_SUBTREE_NAMES.
This is what the config looks like:
FileSet {
Name = "user_01"
Include {
Options {
AclSupport = Yes
XattrSupport = Yes
Meta = "DMP_NAME=user_01"
Meta = "MULTI_SUBTREE_NAMES=userA
userB
userC
userD"
}
File = "/vol0/user"
}
}
The correctly formatted value will have newlines between the "userA", "userB", "userC" subdir names.
In bconsole "show filesets" has the names all concatenated together and the (NetApp) filer rejects the job saying "no directory userAuserBUserCUserD".
Thanks,
Tom Rockwell