i did all of that. 

e.g. i want to revcover files from directory
abc. then i add the directory to the extraction list and enter extract.
amanda tells me that it needs 3 tapes (daily1, daily2, daily3) then i
have to load daily1 (i enter "amtape daily slot 1") amanda starts to
extract the files (all files i actually need) so then its stops and
want me to load daily2. so i follow the instruction and load daily2.
but then amanda tells me "tar: deleting file: ...)

my solution
for that was to stop after daily1. but i think thats not the normal
behavior. so i cant use amanda because i can never extract all files.

what can i do?

thanks again and best regards.

----- Original Message ----
From: Paul Bijnens <[EMAIL PROTECTED]>
To: Sascha <[EMAIL PROTECTED]>
Cc: amanda-users@amanda.org
Sent: Monday, February 12, 2007 11:59:34 AM
Subject: Re: amanda/tar deletes files

On 2007-02-12 11:02, Sascha wrote:
> no, thats what i get: 
> 
> $ cd /
> $ sudo amrecover daily
> AMRECOVER Version 2.4.4. ...
> ...
> 200 Disk set to /.
> amrecover> cd home/sascha
> /home/luser/nobelprizedata
> amrecover> ls
> 2005-04-01 .
> 2005-04-01 test1
> 2005-04-01 test2
> 2005-04-01 test3
> amrecover> add .
> ...
> amrecover> extract
> [...Load tape etc. etc....]
> tar: deleting file ./test1
> tar: deleting file ./test2
> tar: deleting file ./test3
> amrecover> exit
> $ ls
> .
> ..

I gues the above is not really the exact sequence:
First you do "cd /", and when when finished, you do "ls", (not "ls -a"),
and that output shows only "." and "..".  Very strange.

It is really difficult to diagnose problems for someone else, when
you can see at first sight that not all information is given...

One of those details that is missing is:   "...Load tape etc. etc...."

Questions:

Did you load the correct tape? Do you have "amrecover_check_label yes"?
(if not, and you did not give it the correct tape, then tar will erase
the files, if those files are not in the backup on that tape.)

Did you restore into a temporary directory, that did not contain
any files at all?  Is it also "deleting" the files there?

Did you try using amrestore instead of amrecover, and does tar delete
the files too?


> 
> what i do a ls on the amrecover> then i can the files on the tape. but when i 
> extract the files tar deletes the files
> 
> 
> 
> ----- Original Message ----
> From: Paul Bijnens <[EMAIL PROTECTED]>
> To: Sascha <[EMAIL PROTECTED]>
> Sent: Monday, February 12, 2007 10:42:33 AM
> Subject: Re: amanda/tar deletes files
> 
> On 2007-02-12 10:03, Sascha wrote:
>> we are using amanda 2.4.4 on debian sarge for about a year and had
>> never problems with it. since two weeks amanda cant recover certain
>> files from tape. it just show "tar: deleting files xyz". but i know that
>> these files are on the tape because i can see them on the amanda "shell"
>> with ls. it also seems that amanda deletes the files on the file server
>> from which it backups the files. what could be the problem? cant find
>> any hints in the log files. thats very annoying when we need to recover
>> files every day. btw tar version is 1.16-2.
> 
> 
> Are you seeing this behaviour:
> 
> http://wiki.zmanda.com/index.php/Why_does_amrecover_erase_files%3F
> 
> Or is it something else?
> 
> Also, I have no experience with tar-1.16-2, but read some reports
> that it is not yet good enough for production use with Amanda.
> Don't know the exact problems, though.
> 
> 



-- 
Paul Bijnens, xplanation Technology Services        Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  [EMAIL PROTECTED]
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************






 
____________________________________________________________________________________
Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097

Reply via email to