That worked. Took a while, because it had to scan 140 DLEs on the tape before getting to the right one. Fortunately the LTO6 and the SuperMicro server are both quite fast. Recovered about 300G and then had to sift through it to get the directory and files the user wanted. (used http://kb.zmanda.com/article.php?id=276 as reference but added a --config to get the tape parameters).

It's kind of annoying that over a span of many years gnu tar seems to have recurrent bugs that cause trouble with Amanda. I'm sure I've done quite a few recoveries on this system over the last year, and this is the first time it has failed. Does anyone know how to predict the circumstances when it fails? I suppose that would lead to fixing it more easily.


On 12/23/15 11:51 AM, Alan Hodgson wrote:
On Tuesday, December 22, 2015 03:42:33 PM you wrote:
-------- Forwarded Message --------
Subject:        amrecover seems to work but just leaves empty directory
Date:   Fri, 11 Dec 2015 14:58:08 -0500
From:   Chris Hoogendyk <[email protected]>
To:     AMANDA users <[email protected]>



I am trying to use amrecover to retrieve a directory that a user
accidentally deleted. amrecover shows substantial contents via ls at the
date that I'm recovering from. It requests the tape and spends a good bit
of time working on it. When it is done, the folder that it recovered is
empty.

I have tried it from two different time periods that involved two different
full backup tapes.

I have no idea what is happening or how to figure it out.

Here is part of my session:
There's a bug in recent versions of tar that might be biting you. I don't
think a fixed version has even been released. There was some discussion of this
on the list I think last year.

You can work around this by pulling the whole image off of tape with amrestore
and untar it manually to find the files you need to restore.

http://lists.gnu.org/archive/html/bug-tar/2014-09/msg00006.html

--
---------------

Chris Hoogendyk

-
   O__  ---- Systems Administrator
  c/ /'_ --- Biology & Geology Departments
 (*) \(*) -- 317 Morrill Science Center
~~~~~~~~~~ - University of Massachusetts, Amherst

<[email protected]>

---------------

Erdös 4

Reply via email to