Amanda-Users

RE: amrecover problem

2005-08-02 10:06:03
Subject: RE: amrecover problem
From: "Lei Zhong" <lzhong AT applimation DOT com>
To: <amanda-users AT amanda DOT org>
Date: Tue, 2 Aug 2005 09:46:02 -0400
Thanks for the help.  Settape only sets the server/device.  I read the
man pages several times.  I couldn't find info about how to specify
which tape you want to restore from in amrecover.  Just in case some
people didn't read my previous emails.  Here is what I was trying to do.
I did four full backups on the same day.  When I tried to restore using
amrecover, it always asked for the first backup tape.  How can I change
to a different backup tape?  When I ran history command in amrecover,
here is the result:

201- 2005-08-01 0 BiWeeklySet101 1
201- 2005-08-01 0 BiWeeklySet102 1
201- 2005-08-01 0 BiWeeklySet103 1
201- 2005-08-01 0 BiWeeklySet104 1

The following is my amanda.conf

dumpcycle 0     
runspercycle 0   
tapecycle 4 tapes

#runtapes 1            
#tpchanger "chg-manual" 
tapedev "/dev/nst0"     
rawtapedev "/dev/null"  


define dumptype global {
    comment "Global definitions"
    # This is quite useful for setting global parameters, so you don't
have
    # to type them everywhere.  All dumptype definitions in this sample
file
    # do include these definitions, either directly or indirectly.
    # There's nothing special about the name `global'; if you create any
    # dumptype that does not contain the word `global' or the name of
any
    # other dumptype that contains it, these definitions won't apply.
    # Note that these definitions may be overridden in other
    # dumptypes, if the redefinitions appear *after* the `global'
    # dumptype name.
    # You may want to use this for globally enabling or disabling
    # indexing, recording, etc.  Some examples:
    # index yes
    # record no
}

define dumptype always-full {
    global
    program "GNUTAR"
    comment "Full dump of this filesystem always"
    compress none
    index yes
    priority high
}

Please help.

Thank you,

Lei


<Prev in Thread] Current Thread [Next in Thread>