Re: TrueNAS usage

Denis Corbin <[email protected]> Mon, 18 Dec 2023 21:37:21 +0100
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>
Thanks John for this complement :)

On 17/12/2023 20:57, John Goerzen wrote:
> I'm not Denis, but I might make a suggestion:
> 
> your path of least resistance is probably a Dar static build.  You could
> use the files from Denis's site at
> https://dar.edrusb.org/dar.linux.free.fr/Releases/Dar_static/x86_64_GNU_Linux/
> or copy /usr/bin/dar_static from a Debian system that has dar-static
> installed.
> 
> My guess is that TrueNAS doesn't include the development files (headers,
> etc) for those libraries.
> 
> - John
> 
> On Sun, Dec 17 2023, Daniel wrote:
> 
>> Hi Denis!
>>
>> 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?
>>
>> 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.
>
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEVeSEpqXFvH9T9/cuqLFBYNNrO6cFAmWArYEFAwAAAAAACgkQqLFBYNNrO6fA
YQ//bTIRfK8+g9zSRzCZbU3zQiBbK9665o7Yk8pZHkA6uSOqUTLtIBZKOpnnEyfuDlbn5EIJxGRh
nZ9as3Yv0FfiZu0pUzb4pqFii5fhdlATFmlkjgThg77YwarudV1dx7URzevS58vwCOoZNfTIwxve
1xkuUl8p/C0IX1Z5tS5jO2fcM/4MMZyX0LzNaCWIlYEcipuhU4ZYMYmscnrLKiXMztV8wBvtG2rM
O2ADTi3qYwLcBTluDWirdeZFyxl6x58HUFUvV4o9uPwbii9A0fwy/+Xyj5P+lABlE4jk+EOA0cDH
UDVre0krCDdE3XlCLoi25Bp3LrtbaFb1Pqf3vUXzChCvnPQfD8clWI8HujN6xVVQR5fACElvW7rT
Dx3DXVyhSh6pt2xDjfksWNxGdP/QbXUfCC75tpZvLmFvpY7AJkhas8q7LmHsHcsZdQCu/3Axeamv
lX5j1MuCznxpJQ3Dqh+gXdI6x09602n2ar9RJwwxZDaJKZJb8eRwHeW5UVUptjdMEn9esgbxQhQz
uNwd26mWksL/FTUFoVpulMnIU1PAeHak6xYUyGYZkRN5629hVhuNaRO4ihx8vXlmgX0cEDQnk6zp
k0zZENsTsn+PHivdp25oI1VuEm73o6llhWDz8DVElpAjDa2kRmKCAqJM18HzeQl33Ru0uu589erE
vZU=
=AKHt
-----END PGP SIGNATURE-----