Centralized Backup Server With Amanda On CentOS - Using Disk Drives

I am a newbie on Linux. I have visited this link http://www.howtoforge.com/centralized-backup-server-with-amanda-on-centos but did not know where to do the changes if I want to use my hardisk as the back up device.

I am getting the error messages like after I used the following command in the bash login

-bash-3.2$ for ((i=1; $i<=15; i++)); do /usr/sbin/amlabel intra intra-$i slot $i; done

"/etc/amanda/intra/amanda.conf", line 22: a quoted string expected
"/etc/amanda/intra/amanda.conf", line 22: end of line expected
"/etc/amanda/intra/amanda.conf", line 23: tape type parameter expected
"/etc/amanda/intra/amanda.conf", line 23: end of line expected
"/etc/amanda/intra/amanda.conf", line 24: tape type parameter expected
"/etc/amanda/intra/amanda.conf", line 24: end of line expected
"/etc/amanda/intra/amanda.conf", line 25: tape type parameter expected
"/etc/amanda/intra/amanda.conf", line 25: end of line expected
"/etc/amanda/intra/amanda.conf", line 26: tape type parameter expected

Could someone help me fix it?


Ok. Here is another one! Error 2:

Amanda Tape Server Host Check
-----------------------------
Holding disk /dumps/amanda: 59359123 KB disk space available, using 59256456 KB
ERROR: logdir /var/log/amanda/intra: No such file or directory, you must create a directory.
slot 1: read label `intra-1', date `X'

NOTE: skipping tape-writable test
Tape intra-1 label ok
NOTE: info dir /var/log/amanda/intra/curinfo: does not exist
NOTE: it will be created on the next run.
NOTE: index dir /var/log/amanda/intra/index: does not exist
NOTE: it will be created on the next run.
Server check took 0.420 seconds

Amanda Backup Client Hosts Check
--------------------------------
WARNING: alpha: selfcheck request failed: timeout waiting for ACK
Client check: 1 host checked in 30.164 seconds, 1 problem found

(brought to you by Amanda 2.5.0p2)

I tried referring to this link for the client side error @ http://wiki.zmanda.com/index.php/Amc...
but for some reason I am not able to access it.

But I checked for the amanda process on both my client and server and it was up and running.

I used the following command to check the amanda process netstat -a | grep amanda.

I also checked the /var/lib/amanda/.amandahosts file on client(alpha) and it had only one line which is as mentioned below:

gamma amanda

The server(gamma) however had two lines in /var/lib/amanda/.amandahosts file as mentioned below:

alpha amanda
gamma amanda

I am not sure why it is failing again? Please help!

New error message

All I did to do to get rid of my old error message was to add an entry on the client system in /etc/hosts file - gamma 192.168.1.1

Amanda Backup Client Hosts Check
--------------------------------
WARNING: alpha: selfcheck request failed: timeout waiting for ACK
Client check: 1 host checked in 30.012 seconds, 1 problem found

Now I am getting a new error message:

ERROR: alpha: [can not read/write /etc/amandates: Permission denied]

I checked the file permissions for /etc/amandates and it is as mentioned below.

-rw-r--r-- 1 amanda disk 0 Jan 7 2007 /etc/amandates

Any quick thoughts or suggestion on this?

The below mentioned are the line numbers and the text it refers

Line 22: comment

This is how my

This is how my /etc/amanda/intra/amanda.conf file reads:

org "Configuration name"
mailto "email"
netusage 600 Kbps

dumpcycle 2 weeks
runspercycle 10
tapecycle 15 tapes

#tpchanger "chg-manual"
tpchanger "chg-disk"

changerfile "/etc/amanda/intra/changer"

#tapedev "null:"
tapedev "file:/backup/intra/slots"

#tapetype HP-DAT
#labelstr "^DailySet1-[0-9][0-9]*$"

tapetype HARDDISK
define tapetype HARDDISK {
comment

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>. The supported tag styles are: <foo>, [foo].

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.