Re: [Bacula-users] Need help with fileset declaration - what's my mistake?

2022-08-30 Thread Justin Case
Martin, you are right, my bad, I overlooked that you were not using RegexDir, but Regex for the exclude. I am very glad that your solution works, thank you so much. I have to admit, on that evening I had been mucking around a lot more and also a friend, and none of our attempts worked as

Re: [Bacula-users] Need help with fileset declaration - what's my mistake?

2022-08-30 Thread Martin Simmons
The order of the File declarations relative to the Options declarations doesn't matter. However, the order of the Options declarations relative to each other does matter (Bacula uses the first Options that matches based on RegexDir etc). The problem below is that you are using RegexDir instead

Re: [Bacula-users] Need help with fileset declaration - what's my mistake?

2022-08-26 Thread Justin Case
Martin, thanks, I admit that for me the fileset definition is one of the more confusing things in Bacula. Thanks for the explanation, however, honestly, I don’t get it. I adapted the fileset according to your proposal, and this is what baculum makes from it: Fileset { Name = "test-appdata"

Re: [Bacula-users] Need help with fileset declaration - what's my mistake?

2022-08-26 Thread Martin Simmons
> On Fri, 26 Aug 2022 20:41:22 +0200, Justin Case said: > > So actually, the fileset did back up the /home/../containerdata.. stuff, but > also other files outside of /home/,,,/containderdata, which I did not intend > to happen. > > in the /home/dockerman there are only dot-files sich as

Re: [Bacula-users] Need help with fileset declaration - what's my mistake?

2022-08-26 Thread Martin Simmons
> On Fri, 26 Aug 2022 20:12:45 +0200, Justin Case said: > > > > On 26. Aug 2022, at 19:53, Martin Simmons wrote: > > > > show fileset="various-appdata” > > FileSet: name=various-appdata IgnoreFileSetChanges=0 > O f > RD ^/mnt/containerdata-.*/ > N > O fe > RD

Re: [Bacula-users] Need help with fileset declaration - what's my mistake?

2022-08-26 Thread Justin Case
> On 26. Aug 2022, at 19:53, Martin Simmons wrote: > > > Also, does it work if you only have the /home/dockerman Include? > That does work, with the following caveat: So actually, the fileset did back up the /home/../containerdata.. stuff, but also other files outside of

Re: [Bacula-users] Need help with fileset declaration - what's my mistake?

2022-08-26 Thread Justin Case
> On 26. Aug 2022, at 19:53, Martin Simmons wrote: > > show fileset="various-appdata” FileSet: name=various-appdata IgnoreFileSetChanges=0 O f RD ^/mnt/containerdata-.*/ N O fe RD ^/mnt/.*/ N I /mnt N O f RD

Re: [Bacula-users] Need help with fileset declaration - what's my mistake?

2022-08-26 Thread Martin Simmons
That is strange -- it works with multiple Include directives for me. Please post the output of: show fileset="various-appdata" Also, does it work if you only have the /home/dockerman Include? __Martin > On Thu, 25 Aug 2022 22:45:08 +0200, Justin Case said: > > greetings fellas, > > i

[Bacula-users] Need help with fileset declaration - what's my mistake?

2022-08-25 Thread Justin Case
greetings fellas, i am using the following fileset on a number of VMs running docker containers to backup the container config and user data - and it works for me. It does backup all /mnt/containerdata..* folders with content, nothing else: Fileset { Name = "various-appdata" EnableVss = no