I'm pretty sure this isn't necessarily a problem with amanda but more of one
with the utilities used to encrypt the backups. I'm using amanda 2.5.1p3 and
attempting to encrypt the transmission and storage of backups. I've done this
on a few machines, and this one is running FreeBSD 4.11 along with the following
utilities:
aespipe 2.3c
gnupg 1.4.2
tar 1.13.25
amgtar - script
bz2aespipe - script
amaespipe - script
Whenever I try to run the backup on this machine I see an error in
sendbackup.xxxxx:
sendbackup: debug 1 pid 53407 ruid 1002 euid 1002: start at Mon Feb 19 11:28:33
2007
sendbackup: version 2.5.1p3
Reading conf file "/usr/local/amanda25/etc/amanda/amanda-client.conf".
Reading conf file "/usr/local/amanda25/etc/amanda/daily/amanda-client.conf".
sendbackup: debug 1 pid 53407 ruid 1002 euid 1002: rename at Mon Feb 19 11:28:33
2007
sendbackup req: <GNUTAR /var 0 1970:1:1:0:0:0 OPTIONS |;auth=ssh;index;>
parsed request as: program `GNUTAR'
disk `/var'
device `/var'
level 0
since 1970:1:1:0:0:0
options `|;auth=ssh;index;'
sendbackup: start: backup.client.utexas.edu:/var lev 0
sendbackup-gnutar: time 0.052: doing level 0 dump as listed-incremental to
'/usr/local/amanda25/gnutar-lists/backup.client.utexas.edu_var_0.new'
sendbackup-gnutar: time 0.053: doing level 0 dump from date: 1970-01-01
0:00:00 GMT
sendbackup: time 0.054: spawning /usr/local/amanda25/libexec/runtar in pipeline
sendbackup: argument list: runtar daily gtar --create --file - --directory /var
--one-file-system --listed-incremental
/usr/local/amanda25/gnutar-lists/backup.client.utexas.edu_var_0.new --sparse
--ignore-failed-read --totals .
sendbackup-gnutar: time 0.055: /usr/local/amanda25/libexec/runtar: pid 53410
sendbackup: time 0.055: started backup
sendbackup: time 0.130: started index creator: "/usr/local/bin/amgtar -tf -
2>/dev/null | sed -e 's/^\.//'"
sendbackup: time 1.583: 118: strange(?): Error: Password must be at least 20
characters.
and sendsize exits without error.
I haven't seen this "Password must be ..." error on any of the other systems
where I'm using this setup. In the amanda users home directory I've created:
.am_passphrase
.gnupg/am_key.gpg
both with permissions of 0600 and the contents of amanda-client.conf are:
auth "ssh"
ssh_keys "/.ssh/id_rsa_amrecover"
Any information would be extremely appreciated.
Oscar