Hi Andreas,
On 25/02/20 12:07, Andreas Rogge wrote:
> However, if you can configure your Fileset to backup
> /path/to/mount/point/mounted-directory/ the backup should at least issue
> a warning.
Thank you for your response. I did it as a Fileset, and yes, this is
very easy, and yes, there might be a warning at the first backup with an
empty share.
But once a backup was successful and afterwards the share is unmounted,
I get a "Success" with 0.00 Bytes but no warning.
This means if I don't notice quickly the share is unmounted, I don't
notice there are no backups anymore.
Here an example of my config:
fstab:
nas60:/volumes/student /euronas/student nfs
nfsvers=4,nodev,noexec,nosuid 0 0
Fileset:
File = /euronas/student
So I must find a solution which detects first the empty share and
returns a warning.
Sure, I can check with a script using a cronjob which sends me a mail,
but if I could do it using bareos it would be even smarter :-)
Regards,
Birgit