On Tuesday 02 July 2002 04:18, Víctor Guerra wrote: > Hello everybody, i am having problems with amanda. I have > installed amanda-2.4.2p2.rpm and amanda-server-2.4.2p2.rpm that > came with Red Hat 7.2.
The majority opinion of those on this list is that any rpm's for amanda probably should be subjected to an intentional rm -f, they rarely, very rarely, will fit the individual users individual system, leaving out many vital steps such as adding a user "amanda" and makeing her a member of group "disk" for instance. Generally speaking, making an rpm installation work is going to be 10x more difficult than making a home built install work. There isn't enough docs to describe the rpm's default configuration so you can either make your system match the one the rpm was built on, or give up in a morass of error messages. First, as root, if you haven't already done so, use linuxconf to add a user "amanda" and then make her a member of group "disk". You would be far better off to get the latest 2.4.3b3 snapshot, dated June 10th from: <http://www.iro.umontreal.ca/~martinea/amanda/> then become root, cd to /home/amanda and unpack it, then do #>tar xzvf /path/to/where/you/downloaded/it/amanda-2.4.3b3-20020610 and #> "chown -R amanda:disk amanda-2.4.3b3-20020610" then become user amanda #> su amanda #> cd /home/amanda/amanda-2.4.3b3-20020610 and write a script so you can do it exactly the same each time you configure a fresh amanda install. I call mine gh.cf, so the command line then is #>./gh.cf and configure will be run. Your script should look *something* like this: -------------------------------------- #!/bin/sh make clean rm -f config.status config.cache ./configure --with-user=amanda \ --with-group=disk \ --with-owner=amanda \ --with-tape-device=/dev/nst0 \ --with-changer-device=/dev/sg1 \ --with-gnu-ld \ --prefix=/usr/local \ --with-debugging=/tmp/amanda-dbg/ \ --with-tape-server=192.168.1.3 \ --with-amandahosts \ --with-configdir=/usr/local/etc/amanda ---------------------------------- remove the changer-device= line if you aren't using a changer (you aren't), and modify the ip address of the machine which is the tape-server to suit. Now do #> make When thats done, exit back to user root and #> exit #> make install By doing it as user amanda until the install stage, all the permission problems will go away and you are then ready to run, as user amanda, #>amcheck /configname/ repeatedly, doing mkdirs to fix missing directories, and touches to make missing files until its happy. First however, you will need to generate a customized amanda.conf in /usr/local/etc/amanda/configname to control some of its options, and generate a "disklist" in that same directory telling amanda what you want to backup and how you want it backed up. Start out small there because as you get it figured out, then adding the rest of the systems is relatively easy. I'm partial to using tar here as dump doesn't do excludes and I need them, but to use it, a useable tar of version 1.13-19 or higher must be already installed on your system at the time the configure script is run as its path becomes hard coded into amanda at that time. Do NOT use the drives compression as it hides the true capacity of the drive from amanda and leads to more problems than its worth. Besides that, software compression is usually quite a bit better than the drives simple RLL-2-7 method. But do use a compression in the disklist, until you see in the email report sent to the user specified in amanda.conf, a compression rate thats greater than 100% for a given partition. If you see that, re-edit the dumptype for that partitions listing in the disklist file so it will not use a compressed format. Std. Disclaimer: I've no doubt left out something very important. I'm not one of the authors, just a user trying to take on a wee a bit of the q&a load. But thats what this list is all about, asking good questions and getting (hopefully) good answers to fill in the blanks. We are all new bees once... Follow the above "menu" to install it, and come back to this list with the next question(s) after, someone will probably have experience in the area of your question and be able to answer it. Once up and running, amanda is a good, dependable servant-wench. [snip errors, looks like typical rpm bad install] -- Cheers, Gene AMD K6-III@500mhz 320M Athlon1600XP@1400mhz 512M 99.04% setiathome rank, not too shabby for a WV hillbilly