Hello,
I'm trying to run a shell script to get the correct path for a virtual machine, but my script is completely ignored and the typed string is sent to be backed up instead, resulting on this error:
14-abr 11:09 director JobId 1745: Error:
LOG_MESSAGE: 'FILESYSTEM |/usr/local/bin/vmGetPath 'vm machine name'
does not start with /ifs'
I even rewrote this script to a simple "echo /ifs/path/" resulting on the same error.
It seems to be ignoring the "|" character.
I'm using bareos version 21
Don't know if this happens because I'm using NDMP for this backup.
My config:
FileSet {
Name = "vm machine name"
Include {
Options {
Signature = MD5
meta = "USE_TBB_IF_AVAILABLE=Y"
meta = "BUTYPE=dump"
meta = "ENCODING=UTF8"
meta = "RESTORE_HARDLINK_BY_TABLE=Y"
meta = "FH_REPORT_FULL_DIRENTS=Y"
}
File = "|/usr/local/bin/vmGetPath 'vm machine name'"
}
}