RE: amrestore + tar not working.
2003-10-09 12:43:37
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
<<application/ms-tnef>>
|
|
|