/usr/share/doc/amanda-client/README.Debian is in amanda-client 1:3.5.1-1build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | Notes on making amanda-client work on a Debian system
To get indexing (or specifically amrecover) to work right two things need
to be done:
1. If you're using tcpd, make sure to edit the server's /etc/hosts.allow and
allow all client machines into the daemon amandad
2. Edit the server(s) ~backup/.amandahosts and add an entry like:
"<client_hostname> root"
As always: for more complex setups consult the manpages and available
documentation in /usr/share/doc/amanda-common ;-)
- - - - -
To make a client work using SSH transport do:
Copy the contents of id_rsa_amanda.pub from backup@amanda-server into ~backup/.ssh/authorized_keys
mkdir -p ~backup/.ssh
echo -n 'from="XXX.XXX.XXX.XXX",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,command="/usr/lib/amanda/amandad -auth=ssh amdump" ' >> ~backup/.ssh/authorized_keys
cat id_rsa_amanda.pub >> ~backup/.ssh/authorized_keys
Edit the autorized_keys to replace XXX.XXX.XXX.XXX with the IP of
the backup server.
Change the shell of the backup account to /bin/bash.
chsh -s /bin/bash backup
Test in the server that "amcheck $CONF -c $CLIENT" works
-- Jose M Calhariz <calhariz@debian.org>, Fri, 14 Jul 2017 11:53:08 +0100
|