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

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/73601d8e-3e79-45e5-91a2-473009c0d709n%40googlegroups.com.

Reply via email to