FileDaemon Plugin Options

18 views
Skip to first unread message

Benedikt Braunger

unread,
Jul 30, 2019, 7:15:10 AM7/30/19
to bareos...@googlegroups.com

Morning,

I try to write a Filedaemon plugin in python to handle some extra VM settings stuff before the backup is done. Therefore I want to set the plugin which is used in the fileset and some specific parameters in the job like this:

FileSet {
  Name = "plugin_test"
...
    Plugin = "python:module_path=/usr/lib64/bareos/plugins:module_name=bareos-fd-plugin:parameter=test"
  }
}
Job {
  Name = foo
...
  FD Plugin Options = "vm=foo:uuid=1234"
}

The plugin is called and executed but sadly only the "parameter=test" is passed to the called plugin. I understood that I can add additional plugin parameters via the FD Plugin Options in the Job Resource, can't I?

Thanks for support,
Beni

Reply all
Reply to author
Forward
0 new messages