Veritas-bu

[Veritas-bu] which file system?

2006-08-23 20:34:21
Subject: [Veritas-bu] which file system?
From: netbacker at gmail.com (Sto Rage© )
Date: Wed, 23 Aug 2006 17:34:21 -0700
We run this crude script regularly.
**** Script start *******
#!/bin/sh
#### Inputs required 1. start date 2. end date 3. client name and 4. backup type
bpimagelist -U -d $1 -e $2 -client $3 -sl $4 -idonly |awk '{print $8}'
>imagelist
for i in `cat imagelist|sort`
do
echo Backup ID:  $i
bpimagelist -U -backupid $i
echo 
----------------------------------------------------------------------------
echo List of tapes that contain Image $i
echo Primary Copy:
bpimagelist -l -backupid $i |grep "FRAG 1" |awk '{print $9;}'|sort -u
echo 
----------------------------------------------------------------------------
echo Duplicate Copy:
bpimagelist -l -backupid $i |grep "FRAG 2" |awk '{print $9;}'|sort -u
echo 
----------------------------------------------------------------------------
echo Top Level Directory list in this Image
bpflist -U -d $1  -client $3 -backupid $i -rl 10 |sed 's/.*P=\(.*\)\
D=.*/\1/;'|egrep '^\/'|sed 1q
echo 
----------------------------------------------------------------------------
done
**** Script end *******


> On 8/23/06, Jeffrey Dykzeul <Jeffrey_Dykzeul at raytheon.com> wrote:
> > Given a backup id, how can I find out what file system that backup id
> > represents? I do use bpimagelist to get all sorts of info including the
> > client and the policy, but cannot find a way to determine the exact source
> > file system(s) for the data. I am using NBU 6 on Solaris.
> >
> >
> > Jeff Dykzeul
> > Raytheon Space & Airborne Systems
> >
> > _______________________________________________
> > Veritas-bu maillist  -  Veritas-bu at mailman.eng.auburn.edu
> > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> >
>

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