Amanda-Users

amfetchdump inventory mode

2007-09-26 15:07:55
Subject: amfetchdump inventory mode
From: Jean-Francois Malouin <Jean-Francois.Malouin AT bic.mni.mcgill DOT ca>
To: AMANDA users <amanda-users AT amanda DOT org>
Date: Wed, 26 Sep 2007 14:57:58 -0400
Hi,


I'm trying to understand how 'amfetchdump -i' works (amanda-2.5.2p1):

gertrude:$ /opt/amanda/sbin/amfetchdump -i - left2
Doing inventory/search, dumps will not be uncompressed or assembled on-the-fly.
Beginning tape-by-tape search.
Scanning av24-2_left2_U00015L3 (slot 6)
amfetchdump: Search of av24-2_left2_U00015L3 complete

and it stops there. The debug file shows:

amfetchdump: debug 1 pid 26463 ruid 0 euid 0: start at Wed Sep 26 13:50:29 2007
amfetchdump: debug 1 pid 26463 ruid 105 euid 105: rename at Wed Sep 26 13:50:29 
2007
search_tapes(prompt_out=2, prompt_in=0,  use_changer=1,
tapelist=(nil), match_list=(nil), flags=0x5046c0, features=(nil))
search_a_tape: no desired_tape
current tapefile_idx = -1

What is amfetchdump suppose to generate in inventory mode?

If I use '/opt/amanda/sbin/amfetchdump -i log left2' I get
'amfetchdump: Couldn't open log file log for writing: Permission denied'.

I guess I have to run it as the amanda user?

thanks,
jf
-- 
<° ><

<Prev in Thread] Current Thread [Next in Thread>