Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

preview before backup start

Status
Not open for further replies.

robertloh

Technical User
Oct 10, 2002
14
SG
Hi folks,

Knowing that we can use command #bpimagelist to preview backup images so that u know which tape needed for recovery. Just wondering whether NBU 5.0 Windows server allows a preview of all backup policies without actually starting them, knowing that Legato NetWorker can do it by #savegrp -pvvvvv <group_name>

Cheers...
Robert
 
To get tapes needed for restores use:

bpimmedia -client <ServerName> -d <StartDate> -e <EndDate> -L


I am not sure what you are asking on the second part - What, exactly, do you need to see?
 
#bpimmedia display netbackup images on media, this is only after backup jobs completed.
What I want is before any backup jobs started, I want to preview the policies configuration like which volume pool the job will use etc....This is actually more predictable and after that I know exactly netbackup is going to use this pool for tonight backup job for instance.

Cheers....
 
Something along these lines ??

for CLASS in `$BPDIR/bpcllist`; do
echo "*******************************************************" >> $TMPF
echo "* CLASS NAME: $CLASS *" >> $TMPF
echo "*******************************************************" >> $TMPF
echo "" >> $TMPF
$BPDIR/bpclclients $CLASS >> $TMPF
echo "" >> $TMPF
echo "------------------ CLASS ATTRIBUTES -------------------" >> $TMPF
$BPDIR/bpclinfo $CLASS -U >> $TMPF
echo "" >> $TMPF
echo "--------------------- SCHEDULE ------------------------" >> $TMPF
$BPDIR/bpclsched $CLASS -U >> $TMPF
echo "" >> $TMPF
echo "------------------- FILESYSTEMS -----------------------" >> $TMPF
$BPDIR/bpclinclude $CLASS -l | cut -f2 >> $TMPF
echo "" >> $TMPF
echo "" >> $TMPF
echo "" >> $TMPF
done
exit


Note that each section outputs a different bit of data but it works like a charm. I use the above to create a daily report to fall back on in the event that someone accidentally deletes a policy etc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top