Veritas-bu

[Veritas-bu] NB 4.5 and ClearCase VOB backups

2003-09-03 13:45:15
Subject: [Veritas-bu] NB 4.5 and ClearCase VOB backups
From: stoffel AT lucent DOT com (John Stoffel)
Date: Wed, 3 Sep 2003 13:45:15 -0400
Hi all,

I've been researching what it will take to backup our ClearCase VOB
servers, all of which are Solaris boxes.  The issue I have is that
I've got multiple filesystems on each server, each with one or more
VOBs.   We're running NB 4.5FP4 (maybe FP5) on Solaris 9, on a V880.
Still in test mode before we deploy it.

Currently we're using Legato Networker for the backup and it's working
just fine.  I've got a script which takes the place of the 'save'
command (think bpbkar, maybe?) to do the pre and post processing
needed to make proper snapshots of the VOBs before doing backups.

>From the looks of it, I need to use the bpstart_notify and
bpend_notify scripts to do my pre and post processing, which shouldn't
be a problem.  The only issue I have is that I need to know which
filesystem is going to be backed up on each invocation, and I don't
see anything about this in the various NetBackup guides which tells me
how this works.  

Do I need to create a policy for each and every filesystem with VOBs,
on each and every client, and then setup a copy of the
bp[start,end]_notify scripts specifically setup for each defined
policy?  Is that the only way I can tell which filesystem I'm backing
up?

For example, I have a server, swvob1, with a bunch of VxFS (or UFS)
filesystems called:  /sw_VOBS1, /sw_VOBS2, ... , /sw_VOBSN.  My plan
is to:

   - lock the vob(s) on a filesystem
   - create a VxFS snapshot of the filesystem
   - unlock the vob(s)
   - mount the snapshot
   - backup the snapshot
   - unmount the snapshot
   - destroy the snapshot volume

But I don't know how to get the filesystem name from the scripts.  If
I had that, I'd simply tell the server to backup

  /sw_VOBS1_backup
  /sw_VOBS2_backup
  .
  .
  .
  /sw_VOBSN_backup
  
and the script would know where to get the snapshot from.

Thanks,
John
   John Stoffel - Senior Unix Systems Administrator - Lucent Technologies
         stoffel AT lucent DOT com - http://www.lucent.com - 978-952-7548