Amanda-Users

Re: amanda restores the wrong partition

2003-04-24 12:55:45
Subject: Re: amanda restores the wrong partition
From: "Tom Brown" <tom.brown AT goodtechnology DOT com>
To: "Joshua Baker-LePain" <jlb17 AT duke DOT edu>
Date: Thu, 24 Apr 2003 17:52:23 +0100

> On Thu, 24 Apr 2003 at 5:30pm, Tom Brown wrote
>
> > [operator@xxxx restore]$amrestore -p /dev/nst0 ron //wss1/web | tar
xfp -
> >
> > and i get...
> >
> > amrestore:  20: skipping xxxx._dev_sda5.20030424.1
> > amrestore:  21: skipping xxxx._dev_rd_c0d0p5.20030424.2
> > amrestore:  22: skipping xxxx._dev_rd_c0d0p1.20030424.3
> > amrestore:  23: skipping xxxx._dev_sda2.20030424.1
> > amrestore:  24: restoring ron.__wss1_web__stage.20030424.1
<------- I
> > get this one
>
> From 'man amrestore':
>
>        Hostname  and  diskname  are special expression descibe in
>        the "HOST & DISK EXPRESSION" section of amanda(8).  Dates-
>        tamp  are  special  expression  describe in the "DATESTAMP
>        EXPRESSION"  section  of  amanda(8).   For   example,   if
>        diskname is "rz[23]a", it would match disks rz2a and rz3a.
>
> It should (I think) go on and get the right one *as well*, but I'm not
> sure.  You could always 'mt fsf' past the wrong one, and or (if you're
> using amanda 2.4.4) use the -f option to amrestore.

It does not go on to get the right one - it restores what it thinks it the
right one and then stops. I'll look at changing the name for the share to
see if that helps

Tom


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