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
> 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
> 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 = "/"
> >
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
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 (".*
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"
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
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
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-.*"
>