I am a newbie on Linux. I have visited this link
http://www.howtoforge.com/centralize...anda-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 (Reference to Step 11. Label the virtual tapes: in the above mentioned link.)
-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?
My /etc/amanda/intra/amanda.conf file reads is as it is as mentioned in the above link.
The below mentioned is my /etc/amanda/intra/amanda.conf file.
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 “Backup to Virtual Tape”
length 3072 mbytes # each tape is 3 Gigs
}
# amrecover_changer "null:"
amrecover_changer "changer"
#infofile "/etc/amanda/DailySet1/curinfo" # database DIRECTORY
#logdir "/etc/amanda/ DailySet1" # log directory
#indexdir "/etc/amanda/ DailySet1/index" # index directory
infofile "/var/log/amanda/intra/curinfo" # database DIRECTORY
logdir "/var/log/amanda/intra" # log directory
indexdir "/var/log/amanda/intra/index" # index directory
Recent comments
7 hours 55 min ago
12 hours 54 min ago
14 hours 20 min ago
15 hours 13 min ago
16 hours 56 min ago
21 hours 20 min ago
22 hours 12 min ago
1 day 25 min ago
1 day 13 hours ago
1 day 15 hours ago