User Tools

Site Tools


backup:amanda:client_installation_debian6

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
backup:amanda:client_installation_debian6 [2013/07/10 07:16] – [SSH keys for backup] aorthbackup:amanda:client_installation_debian6 [2013/07/10 09:19] (current) aorth
Line 39: Line 39:
  
 ==== amanda-client.conf ==== ==== amanda-client.conf ====
-Configure the client's ///etc/amanda/amanda-client.conf// to specify the appropriate server, config, tape, and auth settings, ie:+Configure the client's ///etc/amanda/amanda-client.conf// to specify the appropriate server, config, tape, etc:
 <file>conf "daily"               # your config name <file>conf "daily"               # your config name
  
Line 56: Line 56:
 auth "ssh" auth "ssh"
  
-ssh_keys "/var/lib/amanda/.ssh/id_rsa_amrecover                       # your ssh keys file if you use ssh auth</file>+ssh_keys ""                        # your ssh keys file if you use ssh auth</file>
  
-This is used when restoring data on the client (with ''amrecover'').+This is used when restoring data on the client (with ''amrecover'').  ''amrecover'' runs as root, and as such you need to add the client'
  
 ==== Prepare amrecover ==== ==== Prepare amrecover ====
Line 84: Line 84:
 192.168.5.8     /home   ssh-user-tar</code> 192.168.5.8     /home   ssh-user-tar</code>
  
-Make sure to use the "ssh" backup types (defined in ///etc/amanda/taurustest/amanda.conf//), as the default ''root-tar'' and ''user-tar'' are for local disks only.+Make sure to use the "ssh" backup types (defined in ///etc/amanda/daily/amanda.conf//), as the default ''root-tar'' and ''user-tar'' are for local disks only.
  
 ==== SSH keys for recovery ==== ==== SSH keys for recovery ====
-In a nutshell, you need to put the client'amrecover SSH public key into the server'''authorized_keys'' file.  Grab it from the client at //~amandabackup/.ssh/id_rsa_amrecover.pub// and then paste it into the server's //~amandabackup/.ssh/authorized_keys// file:+Because ''amrecover'' runs as root, you need to copy root's ''id_rsa.pub'' to the server.  Grab it from the client at and then paste it into the server's //~amandabackup/.ssh/authorized_keys// file:
  
 <code>sudo su - amandabackup <code>sudo su - amandabackup
backup/amanda/client_installation_debian6.1373440594.txt.gz · Last modified: 2013/07/10 07:16 by aorth