Re: Question regarding --go-into with --prune

Nils Privat <[email protected]>
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <CAOnv=5V2a_7Be_+yYkqQ_QGEzRe3ehurVR7baTZCQ-5ZgbhW8g@mail.gmail.com>
Hello,

sorry for the late response.
Yes, the parameter '... --prune "movie/[B-Zb-z]*"' did the trick. Much
thanks, now it works as expected.

Another question came to my mind:
Like i said i split the full backup into separate archives (movies with a
(movie/A*), then movies with b (movie/B*) and so on). During full backup I
created the catalogue on the fly to be able to make
differential/incremental backups later.
Because I split the full backups into multiple, for e.g. 26 "single full"
backups, I also have to do 26 differential/incremental backups (movie/A*,
movie/B* etc).
The changes under folder "movie" after all full backups are not that big,
so it would be nice if I can do a single differential/incremental backup
from 'movie/*' and not for every single letter.
I wonder if i can merge the isolated catalogues from each single full
backup so that the next differential/incremental backup will save all
changes under 'movie/*'. So my question: Can I only merge all created dar
catalogues to get a big catalogue ? (Since i am backing up to tape i
cant load all real data full backups to merge them).

Hope you understand what i mean.
Much thanks


Am Sa., 27. Juni 2020 um 22:12 Uhr schrieb Denis Corbin <[email protected]>:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> On 27/06/2020 15:50, Nils Privat wrote:
> > Hello,
>
> Hello,
>
> >
> > i have a question regarding the interaction between two parameters
> > (--go-into and --prune): My folder structure is like this:
> > /pool/movie /pool/series /pool/misc ...
> >
> > Each of these second level folders (movie, series, misc, ...)
> > contains a big amount of sub-folders too.
> >
> > To only save “movie“ i am using dar with --fs-root „/pool“ and
> > --go-into “movie“ which works fine. Because the folder „movie“ is
> > pretty big
>
> > i want for example to only include all dirs beginning with “A*“.
> > Since --go-into dont support wildcard i thought i can use --prune
> > “[B-Zb-z]*“ to exclude all other folders (inside of “movie“).
>
> Do you mean this?
>          --fs-root "/pool" --prune "movie/[B-Zb-z]*"
>
> > Sadly its not working as excepted and also dirs beginning with A*
> > will be saved by dar.
>
> I don't follow you, isn't it what you expected: 'saving all dirs
> beginning with "A*" '?
>
> > If i am not using --go-into and directly use --fs-root
> > “/pool/movie“ with --prune “[B-Zb-z]*“ it works like excepted. So
> > am i doing something wrong or is dar confused with --go-into and
> > --prune.
>
> note: that you may find regex more adapted to your need (see -ar option)
>
> independently from regex, you might consider the ordered mask (-am
> option) which would give you more intuitive filters:
>
> - --fs-root /pool -am --go-into movie --prune "movie/[B-Zb-z]*"
>
> this whill include only /pool/movie directory except sub-entries of
> /pool/movie beginning by A or a (assuming all entries starts by a letter
> )
>
> one step further, the -an option makes the following filters on
> command  line case insensitive filters (see also -acase option):
>
> - --fs-root /pool -am --go-into movie -an --prune "movie/[b-z]*"
>
>
> >
> > Thanks
> >
> >
> Regards,
> Denis
> -----BEGIN PGP SIGNATURE-----
>
> iQIzBAEBCgAdFiEEOzEprx3d76WjfYGPCDGwvQPYsYIFAl73qA0ACgkQCDGwvQPY
> sYIg+g/7B7+PjC4iLPl7W/BErjFXIJlTnqEG/n2hMo9A7Ud9EKq979+rd3l5bYXD
> wNKbrwhgdA8YG8rG3r9Ar8sxkBd3V0uR8RX1BxMek4PRHgPMdaIZKbv6/3TOMF/x
> SZZ3jXtsVy15+2wyEUe9zkN/7LXwtjDEUU3OnlVHgJhdoECRAdz+JBEvicO30tWy
> ffkUSMYMqo+Nruq0Zs1Kdlne4xBxE962KW6sxOPG8wFv8CWLT8z98wjHffk/Rly9
> jI1v7j5toDwCwVUy+IjTQ1WUc7z4S17L/uEun1qQupcRbHefKWQ9/35ByLcaKbJ/
> PdpkCRAsI7OPy7AZ9y4miJ3CLRah9GMQw3B58G3G3CIRmvK3QUQGMX+29iMBRPTu
> rIelVuKJPAKB4byncVw8+VnEd+5dI8T/1G45yrtqTtq1Pp9iL7srwBf2fLmzU4v7
> Byh9TQFN37w+xFMrxKRMIRl75NXLPCEXAYl9dCuDpMjMbiFCBomnKElJYblltyV3
> XCPnNGXqdFynH7yG2KNYgqIs167DJW8D9sOU6a76ptcrQAtQ4fe/+he/ySuvP3MT
> qImQ8wtCDiha3GIzavg37dWFoEToeZT6iNx6E9x4tm3NtZeEQeQftBnrf7luObzW
> uZV9adGJMCrO1f+q9AMSKMEoTtbTYSSo32P8EBnC3WMyr+/ijJk=
> =s1DJ
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> Dar-support mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dar-support
>

_______________________________________________
Dar-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dar-support
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.