RE: amrestore + tar not working.
2003-10-09 13:41:17
AHA! It was a permissions thing, as far as the actual extraction.
However, it appears as though I'm not out of the woods yet... the
untarring process only get yea far before bombing out with the 2nd
error:
tar: Error exit delayed from previous errors
Maybe I need a different tar? or some large-archive specification? I
know I've successfully restored much larger archives... but it's been a
while.
Thanks for your help!!
wab
-----Original Message-----
From: donald.ritchey AT exeloncorp DOT com
[mailto:donald.ritchey AT exeloncorp DOT com]
Sent: Thursday, October 09, 2003 11:54 AM
To: stephen.yeates AT heanet DOT ie; wab AT purdue DOT edu; amanda-users AT
amanda DOT org
Subject: RE: amrestore + tar not working.
Just an observation:
1. Tar will happily extract the entire contents of the archive
if you don't specify files or sets of files to extract. So:
tar xvf -
says extract all files from archive that is in standard input.
2. Check to see if your user ID has permission to extract the files
into the current directory. If you are running the tar as the 'amanda'
user ID, you may not be able to write the extracted files into the
current directory. If the parent directories could not be created,
the messages you are seeing are what could be expected in that case.
Don
Donald L. (Don) Ritchey
E-mail: Donald.Ritchey AT exeloncorp DOT com
-----Original Message-----
From: Yeates, Stephen [Heanet] [mailto:stephen.yeates AT heanet DOT ie]
Sent: Thursday, October 09, 2003 11:40 AM
To: 'Byarlay, Wayne A.'; 'amanda-users AT amanda DOT org'
Subject: RE: amrestore + tar not working.
Hi Wayne,
I'm new to this group but in my experience you need to
specify the directory name to extract for tar
So if you want everything relative to server <pathname> you would
specify
/usr/sbin/amrestore -p /dev/nst0 <servername> <pathname> | tar xvf - ./
or if you know the directory name
/usr/sbin/amrestore -p /dev/nst0 <servername> <pathname> | tar xvf -
./foo
This will extract files into your current working directory you can test
it
with
/usr/sbin/amrestore -p /dev/nst0 <servername> <pathname> | tar tvf -
./foo
HTH!
Does anyone know how to get around [parse of reply message failed]
when backing up a solaris 2.6 client to amanda server?
Any help would be appreciated more details of setup if needed but I'm
heading away
for the evening so will get back tommorrow.
regards,
Stephen
-----Original Message-----
From: owner-amanda-users AT amanda DOT org
[mailto:owner-amanda-users AT amanda DOT org]On Behalf Of Byarlay, Wayne A.
Sent: 09 October 2003 16:56
To: amanda-users AT amanda DOT org
Subject: amrestore + tar not working.
Hi. I just want to extract * from a tar'ed tape archive to '.' (current
directory on the backup server). I've done it before and it worked OK.
Maybe I wrote something down wrong from before.
> /usr/sbin/amrestore -p /dev/nst0 <servername> <pathname> | tar xvf -
All I get for any server/filesystem is:
tar: /whatever/whatever: Cannot open: No such file or directory
tar: /whatever/whatever2: Cannot open: No such file or directory
.
.
tar: Error exit delayed from previous errors
Am I doing something wrong?
wab
************************************************************************
This e-mail and any of its attachments may contain Exelon Corporation
proprietary information, which is privileged, confidential, or subject
to copyright belonging to the Exelon Corporation family of Companies.
This e-mail is intended solely for the use of the individual or entity
to which it is addressed. If you are not the intended recipient of this
e-mail, you are hereby notified that any dissemination, distribution,
copying, or action taken in relation to the contents of and attachments
to this e-mail is strictly prohibited and may be unlawful. If you have
received this e-mail in error, please notify the sender immediately and
permanently delete the original and any copy of this e-mail and any
printout. Thank You.
************************************************************************
|
|
|