* Ian Turner <[EMAIL PROTECTED]> [20070926 15:37]: > On Wednesday 26 September 2007 14:57:58 Jean-Francois Malouin wrote: > > I'm trying to understand how 'amfetchdump -i' works (amanda-2.5.2p1): > > At the moment, not all that well. :-( In theory, amfetchdump can be used to > recreate the Amanda logfile used to track which dumps were stored where. So > if your backup server bites the dust (and wasn't itself backed up), you can > use amfetchdump -i to restore the logs. After that, you will be able to use > amfetchdump to operate the changer and restore specific dumps. Note, however, > that amfetchdump -i will not restore the indices, so you'd still be unable to > use amrecover in that case. > > I have it on my plate to fix amfetchdump -i, but before I do so, maybe I > should ask for a show of hands: How needed is this feature, anyway?
You mean the "do this to get what's needed for amfetchdump to work"? In my book it's absolutely essential! I would (I am now!) be very nervous to rely on a restore utility that would not work when things get real'bad. One of the most important feature of amanda was (it still is but read on) the possibility of doing a bare-metal restore with just a few utilities. I say was because in my case the ever increasing amount of data, the size of the DLEs and the number of chunks needed in order to fit in my tapes (LTO-1 and LTO-3) was getting out of hand --too much likely to 'forget' some data while including/excluding dirs in a DLE-- so I had to use the tape spanning feature. I get a much better tape usage but now I can't do bare-metal restores in case something real bad happens. I understand that I can't have both the cake AND the cherry but I would be hard pressed to justify using amanda to our computer people at my site when such an important feature is missing. But what is exactly needed by amfetchdump? The amdump and log files in the logdir? Sorry for the long tirade! Thanks, jf > > --Ian > > > 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 -- <° ><
