backup:amanda:server_installation
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
backup:amanda:server_installation [2012/06/05 14:08] – created aorth | backup:amanda:server_installation [2012/06/11 12:05] (current) – aorth | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Installation and configuration (server) ====== | ====== Installation and configuration (server) ====== | ||
+ | Installation and configuration of Amanda on CentOS 5.x. | ||
- | === Download and install === | + | ===== Download and install |
- | Download and install the latest RPM for CentOS: | + | Find appropriate versions of Amanda |
- | < | + | === Download === |
- | sudo rpm -i amanda-backup_server-3.3.0-1.rhel5.x86_64.rpm</ | + | < |
- | This will install | + | === Install === |
+ | < | ||
+ | |||
+ | This will install | ||
< | < | ||
Oct 18 2011 12:07:22: Checking for ' | Oct 18 2011 12:07:22: Checking for ' | ||
Line 29: | Line 33: | ||
Oct 18 2011 12:07:22: | Oct 18 2011 12:07:22: | ||
Oct 18 2011 12:07:22: === Amanda backup server installation started. ===</ | Oct 18 2011 12:07:22: === Amanda backup server installation started. ===</ | ||
+ | |||
+ | ===== Configure ===== | ||
=== Detect the tape type === | === Detect the tape type === | ||
- | We need to have Amanda detect our tape drive/ | + | We need to have Amanda detect our tape drive/ |
< | < | ||
Line 52: | Line 58: | ||
# | # | ||
# for this device.</ | # for this device.</ | ||
+ | |||
+ | Save it somewhere, we'll need to paste it into our config later. | ||
=== Create a config === | === Create a config === | ||
- | Create a config from the example '' | + | Create a config |
< | < | ||
- | amserverconfig | + | amserverconfig |
- | Edit the resulting /// | + | Edit the resulting /// |
* add the " | * add the " | ||
* change " | * change " | ||
- | Taurus is the proposed new name of the HPC... | + | ===== Test ===== |
- | + | Once your configuration is completed, run through a complete backup scenario to test if your settings are correct. | |
- | === Test the new config | + | |
< | < | ||
- | amcheck | + | amcheck |
Other than errors about tape labels, the command should work fine. | Other than errors about tape labels, the command should work fine. | ||
Line 74: | Line 81: | ||
=== Setup a disklist === | === Setup a disklist === | ||
- | Set up a " | + | Set up a " |
< | < | ||
Line 84: | Line 91: | ||
< | < | ||
- | amlabel | + | amlabel |
=== Run a test backup === | === Run a test backup === | ||
Line 91: | Line 98: | ||
< | < | ||
- | amdump | + | amdump |
=== Test recovery === | === Test recovery === | ||
Line 111: | Line 118: | ||
< | < | ||
- | The restore might take a few minutes because the drive has to spool to the location of the file on the tape. Be patient! | + | The restore might take a few minutes because the drive has to spool to the location of the file on the tape. Be patient! |
=== Delete the temp tape === | === Delete the temp tape === | ||
Line 118: | Line 125: | ||
< | < | ||
- | amrmtape | + | amrmtape |
=== Label more tapes === | === Label more tapes === | ||
Line 126: | Line 133: | ||
< | < | ||
mtx unload | mtx unload | ||
- | for tapenum in {1..4}; do mtx load $tapenum; amlabel | + | for tapenum in {1..4}; do mtx load $tapenum; amlabel |
backup/amanda/server_installation.1338905320.txt.gz · Last modified: 2012/06/05 14:08 by aorth