In case anyone is interested i made a post about LTO-5 tapes that includes 
example configs for amanda that uses aes-256-ctr with password and zstd 
compression 
https://www.eevblog.com/forum/general-computing/lto-tape-usage-(modern-tape-drives)/

Main points for the config, these two scripts are called from amanda.

cat encrypt, use with server_encrypt "/whatever/encrypt":
#!/bin/sh

AMANDA_HOME=~amanda
PASSPHRASE=$AMANDA_HOME/.am_passphrase    # required
RANDFILE=$AMANDA_HOME/.rnd
export RANDFILE

if [ "$1" = -d ]; then
    /usr/bin/openssl enc -pbkdf2 -d -aes-256-ctr -salt -pass fd:3 3< 
"${PASSPHRASE}"
else
    /usr/bin/openssl enc -pbkdf2 -e -aes-256-ctr -salt -pass fd:3 3< 
"${PASSPHRASE}"
fi

cat zstd-compression3, use with server_custom_compress 
"/whatever/zstd-compression3 :
#!/bin/sh
if [[ "$1" == "-d" ]]; then
    zstd -dqcf
else
    zstd -qc -3 -T0
fi

--
Anton "exuvo" Olsson
   [email protected]

Reply via email to