Re: [Bacula-users] Q: fileset "magic" - still weird

2022-06-16 Thread sruckh--- via Bacula-users
On 2022-06-16 04:56, Martin Simmons wrote: On Wed, 15 Jun 2022 22:07:06 +, Bill Arlofski via Bacula-users said: On 6/15/22 15:23, sruckh--- via Bacula-users wrote:> Below is an example Fileset I use which has includes and excludes. > > Fileset { > Name = "Firewall Full" > Include

Re: [Bacula-users] Q: fileset "magic" - still weird

2022-06-16 Thread Martin Simmons
> On Thu, 16 Jun 2022 02:36:37 +0200, Justin Case said: > > Hello John, > > I found this approach quite compelling: > > > On 16. Jun 2022, at 00:24, John Lockard wrote: > > > > |sh -c ’echo /mnt/cdat-*’ > No matter what characters i use for the ‘ I get "Error sending include list.” > (alr

Re: [Bacula-users] Q: fileset "magic" - still weird

2022-06-16 Thread Martin Simmons
> On Wed, 15 Jun 2022 22:07:06 +, Bill Arlofski via Bacula-users said: > > On 6/15/22 15:23, sruckh--- via Bacula-users wrote:> Below is an example > Fileset I use which has includes and excludes. > > > > Fileset { > > Name = "Firewall Full" > > Include { > > File = "/" > >

Re: [Bacula-users] Q: fileset "magic" - still weird

2022-06-15 Thread Justin Case
Hello John, I found this approach quite compelling: > On 16. Jun 2022, at 00:24, John Lockard wrote: > > |sh -c ’echo /mnt/cdat-*’ No matter what characters i use for the ‘ I get "Error sending include list.” (already put in the actual pathes for sh and echo). Log: bacula-dir JobId 0: Fatal e

Re: [Bacula-users] Q: fileset "magic" - still weird

2022-06-15 Thread John Lockard
Fileset { Name = “cadat" EnableVss = no EnableSnapshot = no Include { Options { OneFS = no RegexDir = "/mnt/cdat-.*" } Options { OneFS = no Exclude = yes RegexDir = ".*" } File = "/mnt" } } Justin, looking at this, Within /mnt, doesn't your exclude (".*

Re: [Bacula-users] Q: fileset "magic" - still weird

2022-06-15 Thread Bill Arlofski via Bacula-users
On 6/15/22 15:23, sruckh--- via Bacula-users wrote:> Below is an example Fileset I use which has includes and excludes. Fileset { Name = "Firewall Full" Include { File = "/" File = "/boot" File = "/home" File = "/var" Options { Compression = "Gzip"

Re: [Bacula-users] Q: fileset "magic" - still weird

2022-06-15 Thread Justin Case
I understand what the example does, it is very much standard. Alas, it does not touch any of the points where my use case is special: - it enumerates all inclusions and exclusions - that is explicitely what I cannot and do not want to do as each FD machine has different subfolders, but all start

Re: [Bacula-users] Q: fileset "magic" - still weird

2022-06-15 Thread sruckh--- via Bacula-users
On 2022-06-15 13:47, Justin Case wrote: I re-read the chapter about filesets and fileset options. In order to better understand what is happening I simplified the fileset as follows: Fileset { Name = “cadat" EnableVss = no EnableSnapshot = no Include { Options { OneFS = no #Reg

Re: [Bacula-users] Q: fileset "magic" - still weird

2022-06-15 Thread Justin Case
I re-read the chapter about filesets and fileset options. In order to better understand what is happening I simplified the fileset as follows: > Fileset { > Name = “cadat" > EnableVss = no > EnableSnapshot = no > Include { >Options { > OneFS = no > #RegexDir = "/mnt/cdat-.*" >