Bruno Negr�o wrote: > Jesus how could this happen!! I was going to recover the /usr/local > directory that i backup up earlier. I forgot to move to a new empty > test directory and I issued the extract command on my /root > directory. For my despair, before the tar begins to extract the > backup files, it simply deleted ALL /root contents, and did it > without issuing any question!! AAAAHHHHHHH HELP!!! HEELLLPPPPP!!!! > > How can amanda function this way? why doesn�t it simply overwrite the > existing files, as is the common "tar -xtvz" behaviour.
You asked it to restore the directory "."; tar just does as you instructed (btw, it's tar, not amanda!). If you asked it to restore the files/dirs "*", then it would just overwrite the files (and directories).
> On the amrecover manual there isn�t a warning like "DANGER: THE > RESTORING PROCESS CAN ALSO DELETE ALL YOU FILES..."
Only the ones that you asked :-) But you have them on backup, haven't you?
-- Paul
