Re: amrecover questions
2002-11-01 20:29:51
Joshua Baker-LePain wrote:
On Fri, 1 Nov 2002 at 4:59pm, Galen Johnson wrote
I also have an issue with recover in that it deletes files when the
incremental is restored. I can almost understand why. It seems that
if the files aren't included in the incremental (and they won't be if
they haven't changed) the tar command seems to assume that the files
have been removed and deletes them to have the directory appear to be
in the "same state" as it thinks it was. Anyone else run into this?
Is there some subtle configuration I'm missing?
Sorry, I didn't quite understand this the first time. This seems like a
tar bug. What version are you running? If it's recent, I'd report it to
the tar maintainers. If not, try the latest.
I'm beginning to agree...I had hoped that someone had run into this and
had a work around...I'm just restoring to separate directories for now
and moving manually. I currently have tar 1.13.25
I need an answer for this...if amrecover is gonna botch the restores I'm
gonna have to find a different solution which I would prefer not to do
since I like relative ease of Amanda. I'm using 2.4.3 with tar...which
I suspect may be part of the problem since the arguments ot restore are
'xpGvf' but I'm not familiar enough with how the old gnu style used to work.
You could always just 'amrestore' the tar images off the tape(s) and
fiddle with the tar options to see if you can get it do what you
want/what it should...
I have been fiddling with amrestore without success and am tweaking the
amrecover code...is there any particular reason amanda still uses the -G
option to tar for amrecover as opposed to -g. I suspect this may be a
part of my problem but I can't find the tar options in the dumper file
or actually which file feeds the options to tar for the initial backup.
I've tried changing it in the extract-list.c file and recompiling but it
doesn't recognize the old tar files if I do that. I'm still looking to
see of there's something simpler that I have missed.
=G=
oops..I forgot to send this...no wonder it never showed up.
|
|
|