File: amanda-client.README.Debian

package info (click to toggle)
amanda 1:3.5.1-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 30,724 kB
  • sloc: ansic: 265,630; perl: 114,269; xml: 16,058; sh: 8,667; makefile: 2,795; awk: 502; lex: 407; yacc: 347; javascript: 135; tcl: 118; sql: 19; sed: 16; php: 2
file content (36 lines) | stat: -rw-r--r-- 1,213 bytes parent folder | download | duplicates (2)
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