Bacula-users

Re: [Bacula-users] OneFS = no doesn't work

2011-05-18 13:38:59
Subject: Re: [Bacula-users] OneFS = no doesn't work
From: Roy Sigurd Karlsbakk <roy AT karlsbakk DOT net>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 18 May 2011 19:36:15 +0200 (CEST)

----- Original Message -----
> Hi all
> 
> Working on setting up Bacula backup of a fileserver, I can't make
> OneFS = no work. The server is running OpenIndiana and has a few
> terabytes of storage. The home directories under
> /tos-data/home/${username} are each a ZFS filesystem/dataset. The
> configuration below looks good to me, but Bacula still complains about
> "/tos-data/home/znw is a different filesystem. Will not descend from
> /tos-data/home into it."
> 
> How can I make it decend automatically? We have ~30 users on this
> site, and it'll be far more flexible to just backup the lot than
> backing up each and every one of them
> 
> roy (see below for config)
> 
> # Home directories
> FileSet {
> Name = "verdande.nilu.no-home-fileset"
> Include {
> Options {
> signature = MD5
> OneFS = no
> FSType = zfs
> }
> Options {
> Exclude = yes
> WildFile = "*.mp3"
> }
> File = /tos-data/home
> }
> }

AFAICS, there's some code that might relate to this in 
src/findlib/find_one.c:639

         if(!(ff_pkt->flags & FO_MULTIFS)) {
            ff_pkt->type = FT_NOFSCHG;
            recurse = false;

This flag is set in src/filed/job.c:1065

      case 'f':
         fo->flags |= FO_MULTIFS;
         break;

Any idea what FD option that might map to this?

Vennlige hilsener / Best regards

roy
--
Roy Sigurd Karlsbakk
(+47) 97542685
roy AT karlsbakk DOT net
http://blogg.karlsbakk.net/
--
I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er 
et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av 
idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og 
relevante synonymer på norsk.

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users