Hi all Please note this is just "phase 1" basis for discussion ;-) It should cover all setups to be done on the server prior to the final amanda setup. So hopefully ;-) If you have done this you can just edit your amnda config files and off you go !!! Please look @ the following. Is evereything in logical order? (I wrote as I went along) Have I left enything out? Have you got something to add ?
All contributions are welcome Tnx Mozzi building and installing amanda for network backups --------------------------------------------------- Please remember this is a newbie "quick&dirty" setup HOWTO a)Thanx Firstly thanx to the amanda users mailing listand evereybody there who answered my questions so patiently,without you guys I wouldn't have been able to do this. b)Disclaimer This worked for me.If you machie starts smoking or bursts into flames,sorry I cannot do anything about it. Should this happen please post to the list as I am sure evereyone would like to hear about it,include a full bugreport please ;-) c)Setup I use the following here user=amanda group=backup profile=test index machine=tapehost I use Red-Hat 7.3 on x86 I have: two ide harddrives scsi Tandberg VS80 DLT tapedrive (internal) Subsystem: Adaptec 29160 Ultra160 SCSI Controller Make sure your kernel supports your scsi cotroller,how to setup that is way beyond the scope of this document. Use the link below to test your tapedrive.It is for DLT scsi. If you use auto changers or robotics Sorry I do not have one to test on ;-) When you can use the mt utility on the tapedrive you are ready for primetime!!! To setup the DLT Tapedrive I found this link verey handy http://www.quantum.com/NR/rdonlyres/6ayrpuorsal7nrdypfpq456w2ehie6zr7zubapbcq5marehyanix5v7xoovfrhjmtteqpm73zygud /dlt8000linux.pdf --------------------------------------------------------------- d)On index machine (where tape device is) adduser amanda groupadd backup ./configure --with-user=amanda --with-group=backup make make install @ this point I like to switch off hardware compression #mt -t /dev/nst0 -compression 0 I actually put that into my rc.local file to make sure. As someone mentioned on the list amanda measures the output after compression so you should score a lot by doing this Put the Amanda services into your /etc/services file on the tapehost Add entries like so: amanda 10080/udp amandaidx 10082/tcp amidxtape 10083/tcp I just added them right @ the top Add the following to your xinetd.d directory vi amanda cut&paste the following -------------------------------------------------------------------- service amanda { disable = no socket_type = dgram protocol = udp wait = yes user = amanda group = backup groups = yes server = /usr/local/libexec/amandad } ---------------------------------------------------------------------- vi amandaidx cut&paste the following ----------------------------------------------------------------------- service amandaidx { disable = no socket_type = stream protocol = tcp wait = no user = amanda group = backup groups = yes server = /usr/local/libexec/amindexd } ------------------------------------------------------------------------- vi amidxtape cut&paste the following -------------------------------------------------------------------------- service amidxtape { disable = no socket_type = stream protocol = tcp wait = no user = amanda group = backup groups = yes server = /usr/local/libexec/amidxtaped } ------------------------------------------------------------------------- now we must get our config directory ready mkdir /usr/local/etc/amanda/test In the above test is the name of my profile stick to it for now but when you setup your own you can use whatever you want. Now we copy the files we need into the config directory cd ~/amanda-2.4.2p2/example/ cp amanda.conf config.site disklist Make amanda the owner chown amanda:backup /usr/local/etc/amanda/test Now create the log directory mkdir /usr/local/var/amanda mkdir /usr/local/var/amanda/test mkdir /usr/local/var/amanda/test/curinfo mkdir /usr/local/var/amanda/test/index mkdir /usr/local/var/amanda/test/tapelist Make amanda the owner chown -R amanda:backup /usr/local/var/amanda/test/ We will later edit the amanda.conf file to reflect this. Now let's setup our holding area for images while they are waiting to be written to tape mkdir /var/dump Make amanda the owner chown -R amanda:backup /var/dump We will later edit the amanda.conf file to reflect this. ------------------------------------------------------------------------------------------------------------ e)On client adduser amanda groupadd backup ./configure --with-user=amanda --with-group=backup --without-server --with-index-server=indexhost make make install Now client side setup create you /home/amanda/.amandahost file vim /home/amanda/.amandahost enter this in there <indexhost.domainname.com> amanda (where indexhost is the fully qualified domain name of your backup server) do this for tapehost to so you can backup it. /etc/dumpdates was allready setup and had the correct group (disk) Make raw disk devices readable by dumpuser. - - -