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
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
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"
> 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
> 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
> 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
> 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
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
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