NBU has a number of
copies field (Master Server properties in your GUI, I’m on a plane right now and
don’t have access to a server) If it’s set to 2 (your case), it will only
make two copies of a given backup. What I think is happening is that your
disk staging setup has duped your disk backup to tape, but hasn’t yet expired it
from disk. Now there are two copies and you’re trying to make a
third. So you can fix your problem by setting the number of copies to
3.
Or….
You can leave it at 2
and use the feature of bpduplicate that automatically figures out which backups
to copy. If you say you want two copies, and then just run bpduplicate
without specifying backup image names. You can specify the name of the
policies and clients you want it to look at. Then it will look at all the
backups that don’t have two copies, select them, and dupe them for you. If
you’ve got some images that are on disk staging and on tape, they won’t dupe at
that time. As soon as they expire off disk, they’ll get duped the next time you
run bpduplicate without specifying image names. This method will only work
if you’re a relatively small shop that can do all your dupes with one dupe
session, as there’s no multistreaming/multiplexing this
way.
Finally, I’d have to
say that my opinion is that the best way to do anything like this is to use NBU
Vault. Feel free to do a proof of concept before you pay for it, but my
opinion is that whatever you’re saving by not paying for it is more than lost by
the time you’ll spend writing a script.
---
W. Curtis
Preston
Author of
O'Reilly's Backup & Recovery
and Using SANs and
NAS
VP Data
Protection
GlassHouse
Technologies
From:
veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of Wolters, Keith
Sent: Thursday, June 07, 2007 12:30
PM
To:
VERITAS-BU AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Offsite
tapes
I'm trying to develop a procedure
for duplicating backups for offsite using NBU 6.0 (master and media servers are
Solaris). There are about 8 machines whose backups I want to duplicate. Some
backup go directly to tape and some are staged to disk. I use automatic staging.
When I run a script to use bpduplicate I notice I sometimes get errors like
this:
nbdup.log:11:06:54 INF - Skipping
backup id amamed_1181109602, it already has 2
copies.
I assume that has to do with whether
or not my script runs after the backup has already been staged to tape. What I
need to know is how best to deal with that and get a copy whether or not a
backup has been migrated to tape or
not.