Hello, Bacula experts.

I was pleasantly surprised to see the CDP plugin is part of the community 
edition. I'm hoping to take full advantage of this.

I'm running it on a Ubuntu 22.04.3 LTS bare metal cloud server.

After looking at the main reference manual section 47.1, I still have questions:

- If I want to specify multiple users to be monitored, do I just have multiple 
Plugin = "cdp: userHome=/home/<username>" directives in my director FileSet / 
Include configuration?

- Is it legal to specify a number of Plugin directives in my FileSet Include 
block as well as multiple "File = /path/to/dir-to-monitor" directives all 
together ?

- I'm seeing evidence that my /root/.cdp-sdir is the only place where the spool 
directory is created (I'm running my fd as root), despite me having multiple 
"cdp: userHome" lines, so what exactly are the semantics of this directive? The 
documentation says that this points to the home directory of the cdp user, 
which presumably would be the user running the fd, and the place where the 
spool directory is placed, but I want to monitor multiple places, including 
user home directories and key places such as /var/lib/mysql where I didn't 
think the Plugin = "cdp: user=<username>" directive was appropriate, so I'm 
using the userHome directive for these cases. Hope it works.

- I don't see /opt/bacula/bin/cdp-client running continuously on my /bin/ps -Af 
command output, am I expected to launch this myself at startup? Since I'm 
seeing evidence that spooling is happening, with the config I've described, in 
what cases is this client automatically run? For example, is this client only 
run when a job is launched? What is the recommended way of setting this up?

- Since the Linux cdp uses the inotify API, whose man page states is not 
recursive, am I assured that when I specify a directory that CDP will tell 
inotify to monitor all its subdirectories as well?

- ChatGPT insists that in the file daemon configuration each directory to back 
up may be specified in a separate "Plugin {cdp: userHome=/home/<username>} 
block but I see nothing in the documentation that corroborates this, it also 
says that when specifying in this way, the director FileSet block may have just 
a single plugin line referencing no directories{ Options {...} Plugin = "cdp"}. 
Is my just my AI hallucinating or does this configuration work ?

Many thanks,
<Myles>
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to