Amanda-Users

Re: Amanda unable to use amrecover ssince dumptype change for a New Monthly back up as well as Daily.

2005-09-06 11:16:42
Subject: Re: Amanda unable to use amrecover ssince dumptype change for a New Monthly back up as well as Daily.
From: Chuck Amadi Systems Administrator <chuck AT smtl.co DOT uk>
To: amanda-users AT amanda DOT org
Date: Tue, 06 Sep 2005 16:08:32 +0100
Hi I have looked at running command amrestore DailySet1 info myserver

Thus insert the tape SMTLSet103 as per the amadmin command below,thus
can I run amrestore -c /dev/nst0 myserver SMTLSet1

Thus have I go to rewind the tape first as I dont want to mess things
up.

 amadmin DailySet1 info myserver                                

Current info for myserver.smtl.co.uk /:
  Stats: dump rates (kps), Full:  2878.0, 2859.0, 2863.0
                    Incremental:  1083.0, 2757.0, 1375.0
          compressed size, Full: -100.0%,-100.0%,-100.0%
                    Incremental: -100.0%,-100.0%,-100.0%
  Dumps: lev datestmp  tape             file   origK   compK secs
          0  20050902  SMTLSet103          1 4401130 4401130 1529
          1  20050905  SMTLSet104          1  139790  139790  129
root@myserver:/tmp/myserver-backup # 

Cheers

Chuck


On Tue, 2005-09-06 at 09:22 -0400, Jon LaBadie wrote:
> On Tue, Sep 06, 2005 at 01:28:25PM +0100, Chuck Amadi Systems Administrator 
> wrote:
> > Hi I have just recently included a monthly backup script whereby I was
> > advised to amend the parameters of dumptype {
> >                            recored no
> >                            }
> > Thus as default was set to yes I would cause amanda confusion.
> > Also when I tried a amrecover exercise I am now unable to recover.
> > Basically where previously I would be told what tape to put into the
> > server after I set 
> > setdate yyyy-mm-dd as below I was told which tape to use "Not Now"
> > 
> > I get Setting restore date to today But I want data from last Friday
> > which as a exercise was backed up and today we deleted the data for the
> > test but of cause I am unable to put the correct tape in. So if possible
> > has anyone any ideas as the only thing I can think of is the parameter I
> > changed.
> > 
> > root@myserver:/ # amrecover -s myserver.smtl.co.uk -t
> > myserver.smtl.co.uk
> > 
> 
> If I recall correctly your monthly backup used a new amanda config.
> 
> Did you tell amrecover to use that new config rather than your default?
> 
> 
-- 
Unix/ Linux Systems Administrator
Chuck Amadi
The Surgical Material Testing Laboratory (SMTL), 
Princess of Wales Hospital 
Coity Road 
Bridgend, 
United Kingdom, CF31 1RQ.
Email chuck.smtl.co.uk
Tel: +44 1656 752820 
Fax: +44 1656 752830