Hi,

I'm trying to setup amanda (dev branch from github) on a debian sid i386. I've 
created a test environment as described in the wiki, with virtual tapes and 
bsdtcp auth, and everything run fine, amcheck and amdump are successful and I 
get my tape correctly recorded with some valid tar archive on it, except that 
the archive is empty : it only contains the top directory as if I were dumping 
an empty dir. The disk I dump is not a symlink or so, and I can tar it 
manually with the same options as amanda. I checked all the logs and didn't 
find any error. I feel like I missed some stupid detail but I really can't see 
where, so any idea is welcome... Just in case, here are my conf files, 
.amandahosts, and xinetd service file :


####  amanda.conf ####

org "TEST"
mailto "[email protected]"
dumpcycle 7
runspercycle 7
tapecycle 20
dumpuser "amanda"
tpchanger "chg-disk:/backup/vtapes/test/slots"                            # a 
virtual tape changer
labelstr "test-.*"
#label_new_tapes "TEST-%%"
#autolabel "TEST-%%"
tapetype DVD_SIZED_DISK
#tapedev "file:/backup/vtapes/test"
logdir "/backup/amanda/logs"
infofile "/backup/amanda/test/info"
indexdir "/backup/amanda/test/index"
tapelist "/backup/amanda/test/tapelist"

holdingdisk hd1 {
    directory "/var/amanda/hd/test"
}

define dumptype comp-tar {
    auth "bsdtcp"
    program "GNUTAR"
    compress fast
    index no
    record yes           # Important! avoid interfering with production runs
}  

define tapetype DVD_SIZED_DISK {
    filemark 4 KB
    length 4482 MB
}


#### disklist ####

hel59-3-82-233-186-197.fbx.proxad.net   tstvarlog   /var/log    comp-tar


#### .amandahosts ####

hel59-3-82-233-186-197.fbx.proxad.net amanda amdump
hel59-3-82-233-186-197.fbx.proxad.net root amindexd amidxtaped


#### /etc/xinetd.d/amanda

service amanda
{
        only_from = hel59-3-82-233-186-197.fbx.proxad.net
        socket_type = stream
        protocol = tcp
        wait = no
        user = amanda
        group = disk
        groups = yes
        server = /usr/local/libexec/amanda/amandad
        server_args = -auth=bsdtcp amdump amindexd amidxtaped
        disable = no
}


thanks

Reply via email to