backup:amanda:client_installation_debian6
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| backup:amanda:client_installation_debian6 [2012/06/25 09:23] – created aorth | backup:amanda:client_installation_debian6 [2013/07/10 09:19] (current) – aorth | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| Download page: http:// | Download page: http:// | ||
| - | ===== Install ===== | + | ====== Install |
| - | ==== Download ==== | + | ===== Download |
| Download Amanda client package for Debian 6: http:// | Download Amanda client package for Debian 6: http:// | ||
| < | < | ||
| - | ==== Install pre-requisites ==== | + | ===== Install pre-requisites |
| The Amanda package depends on various other packages, install them before trying to install Amanda: | The Amanda package depends on various other packages, install them before trying to install Amanda: | ||
| - | < | + | < |
| - | + | sudo apt-get | |
| - | ==== Install Amanda ==== | + | ===== Install Amanda |
| < | < | ||
| - | ===== Configure ===== | + | ====== Configure |
| - | ==== Client ==== | + | ===== Client |
| - | === SSH keys for backup === | + | ==== SSH keys for backup |
| The Amanda server will connect to the client as the user '' | The Amanda server will connect to the client as the user '' | ||
| - | In a nutshell, you need to put the server' | + | In a nutshell, you need to put the server' |
| < | < | ||
| Line 34: | Line 34: | ||
| For more security, prepend the key entry in // | For more security, prepend the key entry in // | ||
| - | < | + | < |
| - | This limits the use of this key to HPC's IP, as well as the amdump command. | + | This limits the use of this key to the backup server's IP, as well as the amdump command. |
| - | ==== Server | + | ==== amanda-client.conf |
| + | Configure the client' | ||
| + | < | ||
| - | === Disk lists === | + | index_server " |
| + | tape_server | ||
| + | tapedev | ||
| + | # if not set, Use configure or ask server. | ||
| + | # if set to empty string "", | ||
| + | # amrecover will use the changer if set to the value | ||
| + | # of ' | ||
| + | |||
| + | # | ||
| + | # Valid values are " | ||
| + | # " | ||
| + | # | ||
| + | auth " | ||
| + | |||
| + | ssh_keys "" | ||
| + | |||
| + | This is used when restoring data on the client (with '' | ||
| + | |||
| + | ==== Prepare amrecover ==== | ||
| + | |||
| + | The first time you run amrecover it will try to SSH to the server. | ||
| + | |||
| + | < | ||
| + | The authenticity of host ' | ||
| + | RSA key fingerprint is dc: | ||
| + | Are you sure you want to continue connecting (yes/no)? yes | ||
| + | Warning: Permanently added ' | ||
| + | root@192.168.5.25' | ||
| + | |||
| + | root@odk:~# ^C</ | ||
| + | |||
| + | To connect and type " | ||
| + | ===== Server ===== | ||
| + | |||
| + | ==== Disk lists ==== | ||
| Add the new client' | Add the new client' | ||
| < | < | ||
| Line 48: | Line 84: | ||
| 192.168.5.8 | 192.168.5.8 | ||
| - | Make sure to use the " | + | Make sure to use the " |
| - | === SSH keys for recovery === | + | ==== SSH keys for recovery |
| - | In a nutshell, you need to put the client' | + | Because '' |
| < | < | ||
| Line 62: | Line 98: | ||
| This limits the use of this key to the client' | This limits the use of this key to the client' | ||
| - | ===== Test ===== | + | ====== Test ====== |
| + | |||
| + | ==== amcheck | ||
| From the server, make sure the new client can be accessed: | From the server, make sure the new client can be accessed: | ||
| < | < | ||
| - | amcheck -c taurustest | + | amcheck -c daily 192.168.5.8</ |
| + | |||
| + | You should see "0 problems found" | ||
| + | |||
| + | ==== amrecover ==== | ||
| + | From the client, make sure the server can be accessed: | ||
| + | |||
| + | < | ||
| + | amrecover | ||
| + | sethost 192.168.5.8 | ||
| + | listdisk</ | ||
| - | You should | + | You should |
backup/amanda/client_installation_debian6.1340616192.txt.gz · Last modified: by aorth
