Bareos is very flexible in terms of preparing a job. You can run a
"pre-job" script. It can be run either on server's side or client's
side. I suppose you'd prefer client's side in this case.
https://docs.bareos.org/Configuration/Director.html#config-Dir_Job_RunScript
And you can fail the backup job if the script returns an error (non-zero
exit status).
Best regards,
MK
On 24.02.2020 15:52, 'DUCARROZ Birgit' via bareos-users wrote:
Hi list,
I try to figure out how to configure bareos to send me a warning or
error message in case of an empty directory.
I.ex. I mount a share from an external server on the bareos server
which I will backup. Let's say this mount in now suddenly unmounted.
Bareos will backup now an empty folder and returns an ok.
Is it possible to make it detect that this folder is empty and to
return a warning?
Thank you so much for any help.
Kind regards,
Birgit
--
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 bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/bareos-users/0e63b1a4-2398-fce0-419e-7b8219a90b94%40gmail.com.