problem with amrestore / tar permissions

2003-03-12 Thread liam pace
Hi,

when I run the command amrestore -p /dev/rmt/1n scuba /boot | tar -pxv on
the tape server itself,
I manage to restore the files however the files are restored in a new
directory structure. A number of new directories are created and also the
files loose permissions.

any idea how this can be solved?

regards,
liam



Re: problem with amrestore / tar permissions

2003-03-12 Thread Paul Bijnens
liam pace wrote:
Hi,

when I run the command amrestore -p /dev/rmt/1n scuba /boot | tar -pxv on
the tape server itself,
I manage to restore the files however the files are restored in a new
directory structure. A number of new directories are created and also the
files loose permissions.
any idea how this can be solved?
If you run "tar -px..." as root, then the permissions are correct.
Tar also extracts files into the current directory (not bad if you first
want to check if what you have on tape is better than what is on disk).
If it is not these two problems, then you need to give more information.

--
Paul Bijnens, XplanationTel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +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, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...*
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out  *
***