Tapeless backup? Wheres the howto! the man pages! HELP!!
2003-01-02 10:31:09
Joseph Young
Involved.com
There is not much documentation in setting up AMANDA to be backuped up to a
Hard Drive. I checked web sites, the MAN pages, the mailing lists. And three
weeks of trying to do this on my own, I need help.
I get the errors in the logs
driver: adding holding disk 0 dir /backup/dumps size 296960
reserving 296960 out of 296960 for degraded-mode dumps
driver: start time 30.057 inparallel 4 bandwidth 2000 diskspace 296960
dir OBSOLETE datestamp 20021231
driver: drain-ends tapeq LFFO big-dumpers sssS
driver: result time 30.057 from taper: TAPE-ERROR [rewinding tape:
Input/output error]
dump of driver schedule before start degraded mode:
I know that this happens where a commment out tpchanger amanda.conf. I don't
think that I should have "chg-manual".
HELP!!!( at the bottom are the steps that I went through)
joe
These are the steps that I followed. There are from
http://www.asp.ogi.edu/~pchytil/linux/amanda/
amanda
./configure --without-client --with-index-server=server.backup.com --with-us
er=amanda --with-group=amanda --with-config=Involved --with-tape-server=serv
er.backup.com --with-tape-device=file:/backup --with-gnutar=/bin/tar --with-
gnutar-listdir=/usr/local/etc/amanda/gnutar-lists --with-amandahosts --with-
buffered-dump --with-assertions --with-debugging=/var/log/debug --enable-sha
red
if you are going to use samba you have to add two following
options: --with-smbclient=/usr/bin/smbclient --with-samba-user=backup and
create /etc/amandapass file with umask 400, containing path to winPC
(//vega/c) + password for backup("blable")
make
make check
make install
mkdir /var/log/debug
chown amanda.amanda /var/log/debug
mkdir /usr/local/etc/amanda
mkdir /usr/local/etc/amanda/gnutar-lists
mkdir /usr/local/etc/amanda/Involved
mkdir /usr/local/etc/amanda/Involved/curinfo
mkdir /usr/local/etc/amanda/Involved/log
mkdir /usr/local/etc/amanda/Involved/index
touch /usr/local/etc/amanda/Involved/disklist
touch /usr/local/etc/amanda/Involved/tapelist
touch /usr/local/etc/amanda/Involved/exclude
chown -R amanda.amanda /usr/local/etc/amanda
touch /etc/amandates
chown backup /etc/amandates
chgrp backup /etc/amandates
vi /etc/inetd.conf and add following lines
amandaidx stream tcp nowait bin /usr/local/libexec/amindexd amindexd
amidxtape stream tcp nowait bin /usr/local/libexec/amidxtaped amidxtaped
My amanda.conf has this
runtapes 1 # number of tapes to be used in a single run of
amdump
#tpchanger "chg-manual" # the tape-changer glue script
#tapedev "/dev/null" # the no-rewind tape device to be used
#rawtapedev "/dev/null" # the raw device to be used (ftape only)
tapedev "file:/backup/"
changerfile "/var/log/amanda/Involved/changer"
#changerfile "/usr/adm/amanda/DailySet1/changer-status"
#changerfile "/usr/local/etc/amanda/DailySet1/changer.conf"
changerdev "/dev/null"
tapetype HP-DAT # what kind of tape it is (see tapetypes below)
labelstr "^Involved[0-9][0-9]*$"
|
|
|