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 -- Andreas Rogge [email protected] Bareos GmbH & Co. KG Phone: +49 221-630693-86 http://www.bareos.com Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646 Komplementär: Bareos Verwaltungs-GmbH Geschäftsführer: S. Dühr, M. Außendorf, J. Steffens, Philipp Storz -- 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/5701a1e6-1958-a7fd-a64c-d11d552edb5c%40bareos.com.
signature.asc
Description: OpenPGP digital signature
