Re: Question regarding --go-into with --prune
Denis Corbin <[email protected]>
| Newsgroups | gmane.comp.sysutils.backup.dar.support |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 10/07/2020 19:44, Nils Privat wrote: > Hello, > > sorry for the late response. Yes, the parameter '... --prune > "movie/[B-Zb-z]*"' did the trick. Much thanks, now it works as > expected. good to know that! > > 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/*'. Yes, you can at the condition you used the same -R option for all of your 26 archives, else you cannot set a correct value to the -R root option while performing the global differential backup, value that suits all the 26 full backups. # This can be done this way: dar -c full_A -am -R /pool -g movies -an -P "[b-z]*" ... dar -c full_B -am -R /pool -g movies -an -P "[ac-z]*" ... ... dar -c full_Z -am -R /pool -g movies -an -P "[a-y]*" ... # second, you create the isolated catalogues (or you can do it on-fly # during the previous operations): dar -c cat_full_A -A full_A -z ... dar -c cat_full_B -A full_B -z ... ... dar -c cat_full_Z -A full_Z -z ... # then you merge all isolated catalogues: dar -+ cat_full_tmp_even -A cat_full_A -@ cat_full_B -z -ak dar -+ cat_full_tmp_odd -A cat_full_tmp_even -@ cat_full_C -z -ak dar -+ cat_full_tmp_even -A cat_full_tmp_odd -@ cat_full_D -z -ak dar -+ cat_full_tmp_odd -A cat_full_tmp_even -@ cat_full_E -z -ak ... dar -+ cat_full -A cat_full_tmp_odd -@ cat_full_Z -z -ak # last you can use cat_full catalogue as reference for further # differential backups: dar -A cat_full -c diff1 -R /pool -g movies # and so on... > 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). no, this is possible, I've just double check by testing this, and it works as expected. > > Hope you understand what i mean. Much thanks I think I've understood you need, let me know! Cheers, Denis -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEOzEprx3d76WjfYGPCDGwvQPYsYIFAl8JxoEACgkQCDGwvQPY sYJkaBAAhXVCP2ivi+VhGKenfHFqqrMdlnihgbbHg13hSgdSRYoIUcoaE6n9TPtF hqn/3kfXs5yLQ8cLDLzr7TyA6xtCbR4hz/3SLZxmYfhdbx/s/VV4peoDTrc8lOmx QZS/viO80KG4/Bg8jEOcNrRiZOrfsBmjc5glHRgYQo0JbHlTzeUDAW+pHJLxmwDi 1J6oYt/TL8EIX6nc631cOFarHMC4XNHo2B2y3bs+fJIP3He4GapkF0YjjivskdXA P/HCO3Id8bnroR3yv0HpM/33Fa4VELqxFW7VVmtwKnEJWYuweKnapvwRCrL2ncJ4 YcM9sjtzqSdLjk6BhPAw5TwvZl024vhKdKHuiX1NWgbVS28oZQoYX+LjzD3dOs26 kvQ/BYoX0zeShxjCQjQU4Xhqkvj3rkfgo/lys/uqH+tRa43Zp+Xlqnf27VdO+pSA YfqLVC0ufiqt5QtU3I0F9BVVZO7b5CMdd0c3KxIGMOQnivoBImnzo5+q1ZZQLWl6 tBSCrSq94pBOvhmqIR8xyehdGK/bEGutAT0ngFEYJgs4eZsvLcI70GZ44E5cW4qh KwYZbCdDRhVOhoEbGsHkBgj+T+u18fPOF1+t9RLgH0AHtbrrlM0+E49TFQPON9po v8V0vAR/3d+C1qkeSIicui2CORPRRoCdjIEfKwlQiKrXRW3QUSU= =HhT/ -----END PGP SIGNATURE-----