Re: Huge archive and last slice

Denis Corbin <[email protected]> Wed, 13 Dec 2023 19:57:45 +0100
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>
On 13/12/2023 15:05, Raoul Bonnal wrote:
> Hi Denis and John,
> I read again the docs and your blog, John.
> I tried multiple times and dar always requires the last slice.
> During the archive creation I specified the on-the-fly generation of the 
> catalog; later I created an isolate catalog from the original archive
> 
> Here https://github.com/rjpbonnal/dar-tests/tree/main 
> <https://github.com/rjpbonnal/dar-tests/tree/main> I tried to document 
> everything.
> If there is some mistake on my side I can not spot it.
> 
> R.

Hi Raoul,

I could reproduce this behavior and I was wrong: dar needs either the 
first slice in sequential read mode or the last slice in non-sequential 
read mode.

These contain the overall archive format information: compression algo 
used, whether if ciphering is used,...  and some other information 
needed to read the backup.

I cannot even say this to be a bug as it is per design... though it is 
very annoying in your context, because you have huge slices.

An alternative could be to use smaller slices for the cost to drag the 
last slice not be be as big as 500 GB... and store many smaller slices 
in place each big one.

But let me see whether it is possible to rely on the first slice when an 
isolated catalogue has been provided to read a backup. As you can define 
the first slice size independently of the others, it can be chosen small 
and still large enough to contain whole archive header.

Sorry for the wrong information provided yesterday.

Cheers,
Denis

> 
> 
>
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEVeSEpqXFvH9T9/cuqLFBYNNrO6cFAmV5/qoFAwAAAAAACgkQqLFBYNNrO6fk
WxAAgyrKHR3f3P4XYOKx6BoDq8qSA4KhXuE/30H406YyQ1G8DFT8po0glfObCx6dC4obMc2rDVY3
7XXzs8giT93kwMyjSsv4mVDgH2mRgR5hoJl/xmIreRwu8oBI6S/G/wBGHPlqTu31aPgFtZbuy27l
YaMAFGJ2mM/gXzMJLxvIEbslKYnoQt/Kwuwbs3wQu3iRbK7oThRzgwLMHJqj9q+3EX3hdIWDfwQq
FtJx/J9fbS/TeDsjAsOw182/V0YuXz5SvFz6Udn8T1OW9tWvjr8u3GPd3kNahFonlKge2LjODJRN
PT69jsR8/xZqXy3/pb/dAJ00l2ploF0V+aWe98vTtJmt6KLCWqvtmQhHLUNrlIP/huJDxKb48Tpf
RzhId9EkDnuEoDCYOOedbNyaLUqh1fO85P14xxpod4PvTtj5A0PcB01P+Ncyvr35/twOM+e4+O1H
+mdyjkOWU2Hf6naXJjf/OrGyef8EeW2g8Xuqq470+DA6YE4TQExTFscrLVQ1Sxo2a6I2wS4H+gmN
r8tFet/94p8QnCRp9/BMSfdmBKeNlRgr9FC46b/IlUncm0NTbKitSmVdpt55uCB7ZVsuOIO5qTIg
MSqS70tNElFyefMFrkWL18bCnoguRCc57cf+xECaa35q2vvv+p4Gp/OnsewPmPuG+3m/q3X3NzyT
CF8=
=SrWH
-----END PGP SIGNATURE-----