Hi Andreas,
Thank you for the hint. I'll have a look how I will manage it. Actually
I'm not sure if my config permits me to cut the share, but once I found
a solution I will post it here.
Kind regards,
Birgit
On 25/02/20 12:57, Andreas Rogge wrote:
Hi Birgit,
if you could mount
nas60:/volumes /euronas
instead of
nas60:/volumes/student /euronas/student
then the student directory only exists when the filesystem is mounted
and a warning would be issued otherwise as the fileset then references a
non-existant directory.
Hope that helps.
Best Regards,
Andreas
Am 25.02.20 um 12:52 schrieb DUCARROZ Birgit:
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
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/bareos-users/c9567f3b-9b3f-d533-ae18-7c35f132131f%40unifr.ch.