Well I now know what I did wrong! Or at least I've now restored using tar without any other intervention and all links are there.
The first attempt at restore was with -
tar -xkpszv -- no-same-owner --same-owner
The second attempt as restore was with I believe -
tar -xkpszv
The third and successful attempt was with
tar -xzv
However, what may be the real reason the third attempt was successful was that on the second attempt I had chopped the restore after it had restored the partition I was interested in. I knew that the tape on it dumps for slackware, redhat, mandrake, fedora and more slackware. I was recovering as root in slackware and thought from inspecting the output from when the tar was created that the dump of the redhat partition was in one contiguous block on the tape and that if I chopped the restore are the last file in the redhat partiton I would save myself a considreable amount of time.
On the last and successful attempt to restore (with the verbose option) and after stdout had listed the last file in the redhat partition I inspected /etc/rc.d/rc6.d and it had tthe same problem as before ----------.
I fired of the previous note and went to the pub to drown my sorrows leaving the restore running. When I got back rechecked and found that the issue had resolved itself and all the symbolic links were present and correct.
Should have gone back to the pub to celebrate!
Tar must do something at the end of the backup in respect of symbolic links.
AK
|