Amanda-Users

Re: problem with amrestore / tar permissions

2003-03-12 14:28:36
Subject: Re: problem with amrestore / tar permissions
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: amanda users <amanda-users AT amanda DOT org>
Date: Wed, 12 Mar 2003 18:57:12 +0100
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, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* 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          *
***********************************************************************



<Prev in Thread] Current Thread [Next in Thread>