Hi list:

 I'm pretty new to amanda, but i'll try to explain myself :-)

 I am trying to use amanda for backups using a Windows host for backups
(just to disk, no tape dev.)

 I succesfully (aparently) compiled amanda server following the instructions
on: http://www.amanda.org/docs/howto-cygwin.html (removing the --without
server on the ./configure step, of course ;-) )


 The problem is with the amdump the taper seems to bizarrely stop working.

This is the tipical e-mail report:
---------------------------------------------
*** THE DUMPS DID NOT FINISH PROPERLY!

The next tape Amanda expects to use is: a new tape.
The next new tape already labelled is: HISS01.

FAILURE AND STRANGE DUMP SUMMARY:
  machine1  /tmp  RESULTS MISSING
  dumper: FATAL must be run setuid root to communicate correctly
  driver: FATAL reading result from taper: Software caused connection abort


STATISTICS:
                          Total       Full      Incr.
                        --------   --------   --------
Estimate Time (hrs:min)    0:00
Run Time (hrs:min)         0:00
Dump Time (hrs:min)        0:00       0:00       0:00
Output Size (meg)           0.0        0.0        0.0
Original Size (meg)         0.0        0.0        0.0
Avg Compressed Size (%)     --         --         -- 
Filesystems Dumped            0          0          0
Avg Dump Rate (k/s)         --         --         -- 

Tape Time (hrs:min)        0:00       0:00       0:00
Tape Size (meg)             0.0        0.0        0.0
Tape Used (%)               0.0        0.0        0.0
Filesystems Taped             0          0          0

Chunks Taped                  0          0          0
Avg Tp Write Rate (k/s)     --         --         -- 


NOTES:
  planner: tapecycle (14) <= runspercycle (14)
  planner: Adding new disk easegurador:/tmp.


DUMP SUMMARY:
                                       DUMPER STATS               TAPER
STATS 
HOSTNAME     DISK        L ORIG-kB  OUT-kB  COMP%  MMM:SS   KB/s MMM:SS
KB/s
-------------------------- -------------------------------------
-------------
machine1  /tmp          MISSING -------------------------------------------

(brought to you by Amanda version 2.5.0p2)
---------------------------------------------


The Amcheck program for that configuration (see below amanda.conf) tells
this:


$ /usr/local/sbin/amcheck  DailySet1
Amanda Tape Server Host Check
-----------------------------
WARNING: program /usr/local/libexec/planner: not setuid-root
WARNING: program /usr/local/libexec/dumper: not setuid-root
WARNING: program /usr/local/sbin/amcheck: not setuid-root
WARNING: tapedev is null:, dumps will be thrown away
NOTE: skipping tape checks
NOTE: info dir /usr/local/etc/amanda/DailySet1/curinfo/machine1: does not
exi
st
NOTE: it will be created on the next run.
NOTE: index dir /usr/local/etc/amanda/DailySet1/index/machine1/_tmp: does
not
 exist
NOTE: it will be created on the next run.
Server check took 0.078 seconds

Amanda Backup Client Hosts Check
--------------------------------
Client check: 1 host checked in 0.031 seconds, 0 problems found

(brought to you by Amanda 2.5.0p2)



That is pretty weird since user running all this stuff is Administrator, but
anywway i checked out the permissions and the seem fine to me.

Planner, dumper and amcheck have -rwsr-x--- permissions and i tested it with
chowning to Administrator, SYSTEM and root (an administrator user) and that
seems to do nothing different.


This is my amanda.conf for DailySet1:
#-------------------
org "DailySet1"         # Nombre descriptivo para los mensajes
mailto "[EMAIL PROTECTED]"           # lista de mails que reciben los logs
dumpuser "Administrator"       # usuario propietario de los backups
inparallel 1            # procesos en paralelo
netusage  10            # ancho de banda máximo
dumpcycle 14 days       # numero de dias de un ciclo completo
tapecycle 14            # numero total de cintas
runtapes     1
tpchanger "chg-multi"   # script controlador de cintas
changerfile "/usr/local/etc/amanda/DailySet1/changer.conf"
tapetype HARD-DISK              # tipo de almacenamiento
labelstr "^HISS[0-9][0-9]*$"    # expresion regular de la etiqueta de las
cintas


infofile "/usr/local/etc/amanda/DailySet1/curinfo"    # fichero de datos
logfile  "/usr/local/etc/amanda/DailySet1/log"        # fichero de log

indexdir "/usr/local/etc/amanda/DailySet1/index"        # fichero de indice

# definición del almacenamiento
define tapetype HARD-DISK {
    comment "Esto es un disco duro, no una cinta"
    length 4000 mbytes  # 4 GB de espacio
}

# definición de volcado de datos completo
define dumptype hard-disk-dump {
    comment "Back up to hard disk instead of tape - using dump"
    holdingdisk no
    index yes
    options compress-fast, index, exclude-list "/etc/amanda/exclude.gtar"
    priority high
}

# definicion de volcado de datos con 'tar'
define dumptype hard-disk-tar {
    program "GNUTAR"
    hard-disk-dump
    comment "Back up to hard disk instead of tape - using tar"
}
#-------------------


¿Some clues?

Thank you very much in advance.
BEGIN:VCARD
VERSION:2.1
N:Sánchez Martín;David
FN:[EMAIL PROTECTED] ([EMAIL PROTECTED])
ORG:E2000 Financial Investments, S.A.;Centro de Nuevas Tecnologías
TITLE:Administrador de Sistemas
TEL;WORK;VOICE:902196177
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;Agust=EDn Bravo 17 2=BA B=0D=0A33120 PRAVIA;Asturias;;;Espa=F1a
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Agust=EDn Bravo 17 2=BA B=0D=0A33120 PRAVIA=0D=0AAsturias=0D=0AEspa=F1a
URL;WORK:http://www.e2000.es
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20060705T152542Z
END:VCARD

Reply via email to