Veritas-bu

[Veritas-bu] netapp snapshot backups

2005-10-27 14:04:47
Subject: [Veritas-bu] netapp snapshot backups
From: Mark.Donaldson AT cexp DOT com (Mark.Donaldson AT cexp DOT com)
Date: Thu, 27 Oct 2005 12:04:47 -0600
If it's proof on concept - then yes - it's possible, I do it now - although
I'm not using NDMP, I'm direct mounting the snapshot and backing up via NFS.


I've got a pre-job script that:

5. verifies any previous snapshots are unmounted
1. Deletes the previous snapshot
2. sets the DB into hot backup mode
3. creates a new snapshot
4. sets the DB out of hot-backup mode
5. mounts the snapshot to my media server

...and then moves on to backup the filesystems with a standard include list.

The post job is simpler, it simply unmounts the snaps.

Add DO_NOT_RESET_FILE_ACCESS_TIME to your media server's bp.conf file or you
get lots of warnings when NB tries to reset the atime on a file on a
read-only filesystem.

I drive it all from my media server, which has the policy assigned, and ssh
to my database server to set the DB into & out of hotbackup mode.  The filer
trusts the media server, too, to allow the snap create & snap delete.

I use a snapshot name that's the same across all volumes: "snap create
<volname> nb_<db-sid>_<timestamp>".  At mount time, I query the filer for
the snap names starting with "nb_", sort to find the last in time one, and
use that name to mount all the volumes.  A config file holds the volumes
associated with the database sid.

If you're using NDMP, YMMV IMO. :)

HTH - Mark

-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of Paul
Keating
Sent: Thursday, October 27, 2005 11:41 AM
To: Veritas List
Subject: RE: [Veritas-bu] netapp snapshot backups


The scripting isn't the problem, or syncing the snap/backup...right now
I just need to do a proof of concept.

So, do I manually create a snapshot on the filer, then using netbackup,
perform an NDMP backup of the file; /vol/vol0/<qtree_name>/.snapshot ??

Paul

> -----Original Message-----
> From: Peter DrakeUnderkoffler [mailto:pcd AT xinupro DOT com] 
> Sent: October 27, 2005 1:37 PM
> To: Paul Keating
> Cc: veritas-bu AT mailman.eng.auburn DOT edu
> Subject: Re: [Veritas-bu] netapp snapshot backups
> 
> 
> 
> You can do several things.  You can try their Advanced Client 
> for NetApp
> which does the same kind of thing on the NetApp as it does on 
> EMC, HDS, etc..
> The licensing is a bit rough though.  In order to perform off 
> host backups or
> snapshot backups this way, you need the Advanced Client 
> license plus the NDMP
> license as Netbackup uses NDMPv4 to tell the filer to take a snapshot.
> 
> If you have the internal resources or money to hire the 
> resources, it isn't that
> hard to write a pre/post script to do the same thing.
> 
> If you don't want any automation, then you can do the dirt 
> way and just try
> to manually marry your NetBackup schedule to your NetApp 
> snapshot schedule for
> the particular volume or qtree.
> 
> Thanks
> Peter DrakeUnderkoffler

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

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