Re: TrueNAS usage

Denis Corbin <[email protected]> Sun, 17 Dec 2023 17:13:54 +0100
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>
On 17/12/2023 17:07, Daniel wrote:
> Hi Denis!

Hi Daniel,

> 
> I have got a setup where important data-filled TrueNAS Scale (Debian 
> based) is replicated to another TrueNAS Scale dedicated for backup. 
> Using NFS4 extended attributes etc. On the backup TrueNAS Scale I would 
> also like to make backups of the replicated data with dar, because we 
> know that a snapshot replication is not a full backup :-)
> 
> For this the best would be if I could run dar on the TrueNAS Scale 
> itself which doesn't seem to be a problem because it can compile the 
> software, everything seems nice, but the dar -V output is at the end of 
> my mail.
> 
> As you can see, it cannot find any compression libraries, which is 
> essential for my dar backups.
> What should I do? I really don't want to hack stuff on TrueNAS (apt 
> doesn't work out of the box), I would rather compile what's needed, 
> because I think that future upgrade would work the best this way and I 
> would know what I am doing.
> 
> What is your suggestion to be able to use dar as on a normal linux system?

I see three options:
- manage to have the required and optional packages for dar enables the 
compilation according to what it finds on the system. See details here: 
http://dar.linux.free.fr/doc/from_sources.html
- If you cannot, make a cross compilation from a system where you have 
all the ability to install all those packages/softwares (see above).
- Else,use a dar_static version build somewhere else (not necessarily 
the same distro)

> 
> Thanks,
> Daniel
> 
> ----------------
> 
>   dar version 2.7.13, Copyright (C) 2002-2023 Denis Corbin
>     Long options support         : YES
> 
>   Using libdar 6.7.1 built with compilation time options:
>     gzip compression (libz)      : NO
>     bzip2 compression (libbzip2) : NO
>     lzo compression (liblzo2)    : NO
>     xz compression (liblzma)     : NO
>     zstd compression (libzstd)   : NO
>     lz4 compression (liblz4)     : NO
>     Strong encryption (libgcrypt): NO
>     Public key ciphers (gpgme)   : NO
>     Extended Attributes support  : YES
>     Large files support (> 2GB)  : YES
>     ext2fs NODUMP flag support   : NO
>     Integer size used            : 64 bits
>     Thread safe support          : YES
>     Furtive read mode support    : YES
>     Linux ext2/3/4 FSA support   : NO
>     Mac OS X HFS+ FSA support    : NO
>     Linux statx() support        : YES
>     Detected system/CPU endian   : little
>     Posix fadvise support        : YES
>     Large dir. speed optimi.     : YES
>     Timestamp read accuracy      : 1 nanosecond
>     Timestamp write accuracy     : 1 nanosecond
>     Restores dates of symlinks   : YES
>     Multiple threads (libthreads): NO
>     Delta compression (librsync) : NO
>     Remote repository (libcurl)  : NO
>     argon2 hashing (libargon2)   : NO
> 
>   compiled the Dec 17 2023 with GNUC version 10.2.1 20210110
>   dar is part of the Disk ARchive suite (Release 2.7.13)
>   dar comes with ABSOLUTELY NO WARRANTY; for details
>   type `dar -W'. This is free software, and you are welcome
>   to redistribute it under certain conditions; type `dar -L | more'
>   for details.
> 
> 
> 

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

wsF5BAABCAAjFiEEVeSEpqXFvH9T9/cuqLFBYNNrO6cFAmV/HkMFAwAAAAAACgkQqLFBYNNrO6dE
+A/7Bk3BKGO4jWcLRTjcngW4TfXzP59s8pP26NyTmALJuKqvMPmKXmN/Nr9vE5tRhmhiy2l3Ocl8
WsSPp6yNF+Rm07p2hBgsmLoLLfiBTTOhSugDCnERMCR1+Ap+wrijDYdkdM0ErAEw/tNvI+XjexF5
L7WgxFF5U69ehmZ99MVi8WcYpPeQOuZ3aGlu0UzRnTTE/e0vW6mcdm/0LUXJJErQupzZRH++MGCq
Owln1GuSKC+hvH6dhw+q5gd/H2aqcF6z6OeJp9XHOKe9hqyW7JSYyGVoZgFOZIrYQdreuNcaAPIi
Nl+AAD7QKPLPb3y29yNeDfYGmNxLGF6hXmWyXjbezFElkhzcjPxDTvmezQviAPXruKj+ooE/tSZ+
xdpmcmoCRodVWrTBRbelB68a6rFv+GXWz81IREyJT9fSkj3plF2M+jOE32yKqXpXwzwqqgrgYzeH
g3R2gEqUetqsEJgNhGbxAg2IKzzaZZgp0lk4f3wu8RvR12F7IrNP/0hI3knP02LtH553gj8MOyGO
nat3/zNF2o5eLrKztPnVgjeT+gqdRnLCgv5aEC7mbFMX9nXc7QPk+JpR+kgpwAr+9V+H116o6pbV
ECJQckdePTKyJ5rRQPFkRNrhStsyWYhtCJTXOOsBW7zygKTCParsa1T7FJaoONq4p/CM+XYRjxw1
3gI=
=lH/B
-----END PGP SIGNATURE-----