Amanda-Users

Re: amanda restores the wrong partition

2003-04-24 12:55:53
Subject: Re: amanda restores the wrong partition
From: Joshua Baker-LePain <jlb17 AT duke DOT edu>
To: Tom Brown <tom.brown AT goodtechnology DOT com>
Date: Thu, 24 Apr 2003 12:47:21 -0400 (EDT)
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.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University


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