Re: TrueNAS usage

Daniel <[email protected]> Sun, 17 Dec 2023 19:44:30 +0100
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <CADu+_As261psj8p7Hf-vgLE8DHr6MFyAgR4SSFHjKsMEufDtOA@mail.gmail.com>
Hi!

Thanks again for the help!

This works great with the latest TrueNAS Scale (dpkg -i ...):
https://packages.debian.org/bullseye/dar-static
And funny enough if I do the same with the already installed libbz2-dev
(same version), the configure sees it, weird... ->
https://packages.debian.org/bookworm/libbz2-dev

Ah well, case solved thanks to you, thanks!
BTW many links here are not valid anymore:
http://dar.linux.free.fr/doc/from_sources.html

Thanks,
Daniel


Denis Corbin <[email protected]> ezt írta (időpont: 2023. dec. 17., V,
17:14):

> 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
>