Amanda-Users

Re: amrecover problem

2004-06-29 03:18:47
Subject: Re: amrecover problem
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Frederic Medery <dist-list AT LEXUM.UMontreal DOT CA>
Date: Tue, 29 Jun 2004 09:08:29 +0200
Frederic Medery wrote:

I had the same prob (the 0 problem). But it's still not working (other reason). Here is my

amidxtaped... :
amidxtaped: debug 1 pid 1566 ruid 33 euid 33: start at Mon Jun 28
13:21:51 2004
amidxtaped: version 2.4.4p1
amidxtaped: time 0.000: > SECURITY USER root
amidxtaped: time 0.001: bsd security: remote host localhost.localdomain

I hope you understand that this only works when server == client.
Not very scalable, for a client-server tool.

user root local user amanda
amidxtaped: time 0.002: amandahosts security check passed
amidxtaped: time 0.002: > CONFIG=weekly
amidxtaped: time 0.002: > LABEL=weekly-05
amidxtaped: time 0.002: > FSF=23
amidxtaped: time 0.002: > HEADER
amidxtaped: time 0.002: > DEVICE=/dev/nst0
amidxtaped: time 0.002: > HOST=^urbino$
amidxtaped: time 0.002: > DISK=^/home/users$
amidxtaped: time 0.002: > DATESTAMP=20040529
amidxtaped: time 0.002: > END
amidxtaped: time 0.007: amrestore_nargs=0
amidxtaped: time 0.008: Ready to execv amrestore with:
path = /usr/sbin/amrestore
argv[0] = "amrestore"
argv[1] = "-p"
argv[2] = "-h"
argv[3] = "/dev/nst0"
argv[4] = "^urbino$"
argv[5] = "^/home/users$"
argv[6] = "20040529"
amrestore: WARNING: not at start of tape, file numbers will be offset

Here is your warning.  Amanda did not find the image from where it
started to end of tape.  You have to rewind the tape manually (with
a command 'mt rewind" I mean :-)  ), or add these two directives
to amanda.conf:

  amrecover_do_fsf yes      # this implies a rewind
  amrecover_check_label yes

Because of a little bug in your version you need both parameters set
to yes (that bug is solved in 2.4.4p3).


On Behalf Of Frederic Medery
When I tried to recover a folder called "my folder" (with space in it,
don't know if this could be the problem). I have for time to time,
Segment Fault.

This is probably a complete other problem.  Is it repeatable?
Can you send the debug file of such a restore attempt?
Can you find out what program is hit by the segmention fault? (amindexd, gzip, gnutar...)? Any core file (if "ulimit -c" is
set sufficiently large) in /tmp/amanda on the server?


--
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>