Re: Amrecover hangs after restore

Gene Heskett <[email protected]>
Newsgroups gmane.comp.archivers.amanda.user
Organization none,nada,zip
Message-ID <[email protected]>
On Thursday 17 December 2020 22:23:16 Nathan Stratton Treadway wrote:

> On Thu, Dec 17, 2020 at 01:58:27 -0500, Gene Heskett wrote:
> > Here is the completed output of that command:
> >  root@coyote:~$ su amanda -c "/usr/local/sbin/amstatus Daily"
>
> [...]
>
> > taped           :  78     13416m     13308m (100.81%) (100.81%)
> >     tape 1      :  79     24046m     24046m ( 37.57%) Dailys-21 (79
> > parts)
>
> Okay, those two lines are the section in question from your ouput.  In
> this case, the "taped" line *does* have statistics on that same line,
> so the existing logic in the script should have worked fine, at least
> on this run.
>
> On Thu, Dec 17, 2020 at 06:03:38 -0500, Gene Heskett wrote:
> > But lets fix the current problem first, it screwed up last night on
> > only 1 vtape. Thast means the edit I made last night, has converted
> > it into a full time failure.
>
> Did you get this fixed?  If not, post the info on the edit you made
> and the output from last night's run....
>
different, but same error:
STRANGE DUMP DETAILS:
  /-- coyote /home/gene/Mail lev 0 STRANGE
  sendbackup: info BACKUP=APPLICATION
  sendbackup: info APPLICATION=amgtar
  sendbackup: info 
RECOVER_CMD=/bin/gzip -dc |/usr/local/libexec/amanda/application/amgtar 
restore [./file-to-restore]+
  sendbackup: info COMPRESS_SUFFIX=.gz
  sendbackup: info end
  ? /bin/tar: ./amanda-stf/cur/1608262193.22812.fKbeO: File removed 
before we read it
  ? /bin/tar: ./amanda-stf/cur/1608264371.22812.1lf78: File removed 
before we read it
  ? /bin/tar: ./amanda-stf/cur/1608264614.22812.zFEou: File removed 
before we read it
  | Total bytes written: 6440765440 (6.0GiB, 17MiB/s)
  sendbackup: size 6289810
  sendbackup: native-CRC 9c31bc0e:6440765440
  sendbackup: client-CRC 812cf14e:3061318853
  sendbackup: end
  \--------

kmail, doing some housekeeping. I'll post to the tde list to see if there 
is a dbus command to stop that while amanda is running.

But that after amanda script worked and I have uptodate indices and 
config files in that vtape now.  And it did not leave the failed crc 
file in the dumps assignment, so a/o vtape Dailys-25 I have what I think 
is a good backup again.

Thanks Nathan.

Copyright 2019 by Maurice E. Heskett
Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.