Re: TrueNAS usage

John Goerzen <[email protected]> Sun, 17 Dec 2023 13:57:29 -0600
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>
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.