Amanda-Users

Tapeless backup? Wheres the howto! the man pages! HELP!!

2003-01-02 10:30:05
Subject: Tapeless backup? Wheres the howto! the man pages! HELP!!
From: "Joe Young" <joeyoung AT involved DOT com>
To: <amanda-users AT amanda DOT org>
Date: Tue, 31 Dec 2002 08:25:23 -0800
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
  1. ./configure --without-client --with-index-server=server.backup.com --with-user=amanda --with-group=amanda --with-config=Involved --with-tape-server=server.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-shared
  2. 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")
  3. make
  4. make check
  5. make install
  6. mkdir /var/log/debug
  7. chown amanda.amanda /var/log/debug 
  8. mkdir /usr/local/etc/amanda
  9. mkdir /usr/local/etc/amanda/gnutar-lists
  10. mkdir /usr/local/etc/amanda/Involved
  11. mkdir /usr/local/etc/amanda/Involved/curinfo
  12. mkdir /usr/local/etc/amanda/Involved/log
  13. mkdir /usr/local/etc/amanda/Involved/index
  14. touch /usr/local/etc/amanda/Involved/disklist
  15. touch /usr/local/etc/amanda/Involved/tapelist
  16. touch /usr/local/etc/amanda/Involved/exclude
  17. chown -R amanda.amanda /usr/local/etc/amanda
  18. touch /etc/amandates
  19. chown backup /etc/amandates
  20. chgrp backup /etc/amandates
  21. vi /etc/inetd.conf  and add following lines
  22.  
    • 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]*$"
 
 
 
 
<Prev in Thread] Current Thread [Next in Thread>