SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
amdump successful but ends with empty dumps
Author Message
Post amdump successful but ends with empty dumps 
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 "omer < at > hel59-3-82-233-186-197.fbx.proxad.net"
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

Post amdump successful but ends with empty dumps 
tar-1.24 and tar-1.25 are broken, downgrade to an earlier version or use
their git repository.

Jean-Louis

omer wrote:
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 "omer < at > hel59-3-82-233-186-197.fbx.proxad.net"
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


Post amdump successful but ends with empty dumps 
On Sun, Nov 28, 2010 at 08:33:48 -0500, Jean-Louis Martineau wrote:
tar-1.24 and tar-1.25 are broken, downgrade to an earlier version or
use their git repository.

You can find more information on this brokenness in the following
bug-tar mailing list thread:

http://www.mail-archive.com/bug-tar < at > gnu.org/msg02999.html

[The subject line is "incremental backups and --one-file-system (version
1.25)".]


Nathan

----------------------------------------------------------------------------
Nathan Stratton Treadway - nathanst < at > ontko.com - Mid-Atlantic region
Ray Ontko & Co. - Software consulting services - http://www.ontko.com/
GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt ID: 1023D/ECFB6239
Key fingerprint = 6AD8 485E 20B9 5C71 231C 0C32 15F3 ADCD ECFB 6239

Post amdump successful but ends with empty dumps 
Le dimanche 28 novembre 2010 15:21:13, vous avez écrit :
On Sun, Nov 28, 2010 at 08:33:48 -0500, Jean-Louis Martineau wrote:
tar-1.24 and tar-1.25 are broken, downgrade to an earlier version or
use their git repository.

You can find more information on this brokenness in the following
bug-tar mailing list thread:

http://www.mail-archive.com/bug-tar < at > gnu.org/msg02999.html

OK, the 1.22 seems to work, thanks a lot!

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB