Re: [Veritas-bu] newbie question on bpend

2007-01-25 Thread Dennis Naidoo
Hi Gary

You would probably need to use a bpend script on the client (not the
off-host media server). You can check the exit status of the backup and
if greater than 0, execute the bpbackup command to start the backup of
the network backup policy.

The exit status of the backup is sent backup to client from the media
server.
(Well that's how our SQL snapshot backups work anyhow).

PS. You will also need to add the client as a SERVER=... entry in the
master's bp.conf so that you can be authorised to run the bpbackup
command from the client.

Regards
Dennis 


-Original Message-
From: Matthews, Gary [mailto:[EMAIL PROTECTED] 
Sent: 24 January 2007 18:01
To: veritas-bu@mailman.eng.auburn.edu
Subject: [Veritas-bu] newbie question on bpend

Hi,

We're  running a new system , w2k3  nbu 6.0 mp4, utilising VSS
integrating with a Clariion and Advanced client/off host backup onto the
media server.  Now and again the snapshot will fail (rc 156) and needs a
manual cleanup on the clariion of the snapshots/sessions before it'll
work again . Rather than give our operators full access to the disks,
I've set up policies that backup the disks over the network instead - is
it possible to set  this up so that if the job fails with a 156 then the
equivalent network backup runs/ I assume I have to use bpend_notify to
kick off a bpstart command? Can this be from the master or does it have
to be on the client? And if so is it on the client or the 'offhost
client' ie the media server? First time I've looked at post batch
scripting any help would be great.

Cheers

Gary 


This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be
copied, disclosed to, retained or used by, any other party. If you are
not an intended recipient then please promptly delete this e-mail and
any attachment and all copies and inform the sender. Thank you.



___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] AIT2 and AIT3 tape drive

2007-01-25 Thread Jeff Lightner
Typically newer drives are backwardly compatible with drives of the same
class.

 

The link here for a Sony AIT3 drive shows it is Fully backward
read/write compatible with AIT-2 and AIT-1 cartridges.

http://www.dv411.com/sdx700c.html

 

The answer would be on how you write the tapes.   In UNIX there are
typically device files for the different modes such as density rewind/no
rewind etc   So long as you force it to write in the mode that is
understood in AIT2 the answer should be yes.  I once investigated this
question for DLT on Solaris and found there were ways to do it so
suspect there probably for AIT as well.  I don't know how to make
Windows use different drive modes though.

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eliza
Yam
Sent: Wednesday, January 24, 2007 6:58 PM
To: veritas-bu@mailman.eng.auburn.edu
Subject: [Veritas-bu] AIT2 and AIT3 tape drive

 

The manufacturer of our AIT2 tape library does not support AIT2 anymore.
We can upgrade to AIT3 format to get support.  The manufacturer told us
we can still use AIT2 media that we keep in stock.  The question is :
can AIT2 data cartridge written by a AIT3 tape drive readable and
writtable on another AIT2 tape drive?  The reason is we do our Exchange
restore in a separate network environment.  In that environment, we have
AIT2 tape drive. 

 

 

___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


[Veritas-bu] Windows Java Update

2007-01-25 Thread Martin, Jonathan \(Contractor\)
Working on updating NBU to the new Timezone change in the US and
following the documentation below...
 
For Solaris, Linux,  and Windows systems go to:
http://java.sun.com/javase/tzupdater_README.html
http://java.sun.com/javase/tzupdater_README.html  

a. Under the Installation section,  select the link to the Sun Java SE
download site

b. On the downloads page,  select the JDK US DST Timezone Update Tool -
1.0 from the list to download the update tool 

b. You must log in using a valid Sun Online account to download.  There
is an option to register and create a new account if needed.

c. Once you are logged in,  agree to the license. This is required to
download the tool.

d. Click on the Java(TM) 2 SDK, Standard Edition - US DST timezone tool
1.0.0 to download the tzupdater-1_0_0.zip file

e. Extract the files to a temporary directory on the system, e.g.
/tmp/javatz on Solaris and Linux, C:\javatz on Windows.

f. Update the NetBackup implementation of the JRE:

For Solaris and Linux systems:

# cd /usr/openv/java/jre/bin

# ./java -jar /tmp/javatz/tzupdater2006p/tzupdater.jar -u -v

For Windows systems:

% cd install_dir\VERITAS\Java\jre\bin

% java -jar C:\javatz\tzupdater2006p\tzupdater.jar -u -v
 
There is no \VERITAS\Java\jre\bin folder in my install (Windows 2003 SP1
- 6.0 MP4)  It looks to me like java is installed in
\VERITAS\NetBackupDB\java.  Has anyone updated this yet?  I'm usually
not a stickler for directories etc... but this is a fresh install and
either 1) Their documentation is wrong (very likely) or 2) I don't need
to run this update.
 
-Jonathan
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Backup_exit_Notify script

2007-01-25 Thread Paul Keating
From the beginning of the default/included script on my box.
 
#
# backup_exit_notify.sh
#
# This script is called by the NetBackup scheduler, after an individual
# client backup has completed (including media closure and image db
validation.
#
# NOTE:  this script will always be run in background mode, meaning
that
#the NetBackup scheduler will NOT wait for it's completion.
#
# This script:
#   receives 5 parameters:
# CLIENT   - the client hostname
# POLICY   - the policy label
# SCHEDULE - the schedule label
# SCHEDULE_TYPE- the type of schedule:  FULL INCR UBAK UARC
# STATUS   - the backup status for this job
# STREAM   - the backup stream number for this job
#   must be executable by the root user
#   should exit with 0 upon successful completion

 
 
-- 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ueli
Schweizer
Sent: January 24, 2007 5:30 PM
To: Paul Keating; veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Backup_exit_Notify script



Yes, of course your right. Param 4 is schedule type, param 5 is
status. But what's param 6, stream number? I can not find any
information about that in the 5.1 nor the 6.0 documentation???

 

Cheers

Ueli Schweizer



La version française suit le texte anglais.



This email may contain privileged and/or confidential information, and the Bank 
of
Canada does not waive any related rights. Any distribution, use, or copying of 
this
email or the information it contains by other than the intended recipient is
unauthorized. If you received this email in error please delete it immediately 
from
your system and notify the sender promptly by email that you have done so. 



Le présent courriel peut contenir de l'information privilégiée ou 
confidentielle.
La Banque du Canada ne renonce pas aux droits qui s'y rapportent. Toute 
diffusion,
utilisation ou copie de ce courriel ou des renseignements qu'il contient par une
personne autre que le ou les destinataires désignés est interdite. Si vous 
recevez
ce courriel par erreur, veuillez le supprimer immédiatement et envoyer sans 
délai à
l'expéditeur un message électronique pour l'aviser que vous avez éliminé de 
votre
ordinateur toute copie du courriel reçu.
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Windows Java Update

2007-01-25 Thread Paul Keating
The directory is right on my PC.
 
From what I understand, this is for the GUI only, and only affect things
like reporting times, so if you don't have the Java GUI installed on
this particular server, then the referenced directory would not exist.
 
I'm guessing since a windows server has its own windows GUI, then
there wouldn't be much reason to have the Java GUI installed.hence
the missing dir.
 
If however, you have the Windows Java GUI installed on your
PC/workstation, you'd probably find the directory there, and that would
be the box you'd want to apply this patch on.
 
Paul
 
 
-- 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin,
Jonathan (Contractor)
Sent: January 25, 2007 9:18 AM
To: veritas-bu@mailman.eng.auburn.edu
Subject: [Veritas-bu] Windows Java Update

 
There is no \VERITAS\Java\jre\bin folder in my install (Windows
2003 SP1 - 6.0 MP4)  It looks to me like java is installed in
\VERITAS\NetBackupDB\java.  Has anyone updated this yet?  I'm usually
not a stickler for directories etc... but this is a fresh install and
either 1) Their documentation is wrong (very likely) or 2) I don't need
to run this update.
 
-Jonathan



La version française suit le texte anglais.



This email may contain privileged and/or confidential information, and the Bank 
of
Canada does not waive any related rights. Any distribution, use, or copying of 
this
email or the information it contains by other than the intended recipient is
unauthorized. If you received this email in error please delete it immediately 
from
your system and notify the sender promptly by email that you have done so. 



Le présent courriel peut contenir de l'information privilégiée ou 
confidentielle.
La Banque du Canada ne renonce pas aux droits qui s'y rapportent. Toute 
diffusion,
utilisation ou copie de ce courriel ou des renseignements qu'il contient par une
personne autre que le ou les destinataires désignés est interdite. Si vous 
recevez
ce courriel par erreur, veuillez le supprimer immédiatement et envoyer sans 
délai à
l'expéditeur un message électronique pour l'aviser que vous avez éliminé de 
votre
ordinateur toute copie du courriel reçu.
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] newbie question on bpend

2007-01-25 Thread Curtis Preston
PS. You will also need to add the client as a SERVER=... entry in the
master's bp.conf so that you can be authorised to run the bpbackup
command from the client.

Not sure where you ever heard that this is a requirement.

A client does NOT have to be a server to run bpbackup, nor does it have
to be a server to run bpbackup -i.  Any user on any client can run
bpbackup, and root/administrator can run bpbackup -i.

___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] NBU 6 MySQL backup

2007-01-25 Thread Karl . Rossing
Simon,

I schedule this threw cron. Cron actually submits all our backups. We 
didn't really get bitten with the Scheduler/EMM problems on NB 6.0 PreMP3. 
Emm was acting goofy when scheduling manual relocations (again pre mp3) 
but thats fixed now.

WEAVER, Simon [EMAIL PROTECTED] wrote on 01/25/2007 
01:05:09 AM:

 Karl
 Can you schedule this? Might be an idea to if you can :-)
 
 
 Regards
 Simon Weaver
 3rd Line Technical Support
 Windows Domain Administrator 
 EADS Astrium Limited, B23AA IM (DCS)
 Anchorage Road, Portsmouth, PO3 5PU
 Email: [EMAIL PROTECTED]
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: 24 January 2007 16:12
 To: veritas-bu@mailman.eng.auburn.edu
 Subject: Re: [Veritas-bu] NBU 6 MySQL backup

 
 We do a nightly shutdown, copy, startup and then backup of our progress 
db's.
 
 we might be able to get a shutdown, backup and startup of the db's 
 in the same but the copy give the programmers the opportunity to 
 look at yesterdays data. 
 
 Karl 
 
 [EMAIL PROTECTED] wrote on 01/24/2007 12:49:23 
AM:
 
  Hi Tim 
  Snap! same problem! Got a MySQL box and cannot back it up! The agent
  will not talk to it, therefore I configured MYSQL to do its own 
  backup and on the odd occasion, take MYSQL down and take an offline 
  backup of the DB! 
  
  Thats just what I do - may not agree with others ! 
  
  
  Regards 
  Simon Weaver
  3rd Line Technical Support
  Windows Domain Administrator 
  EADS Astrium Limited, B23AA IM (DCS)
  Anchorage Road, Portsmouth, PO3 5PU 
  Email: [EMAIL PROTECTED] 
  -Original Message-
  From: Wilkinson, Tim [mailto:[EMAIL PROTECTED] 
  Sent: 24 January 2007 00:00
  To: veritas-bu@mailman.eng.auburn.edu
  Subject: [Veritas-bu] NBU 6 MySQL backup
 
  Hi, 
  
  Do we just use the normal NBU MSSQL agent to backup MySQL or is a 
  normal file backup OK? there doesn't seem to be any special agent for 
MySQL.
  
  Cheers,
 
  - 
  Tim Wilkinson 
  I.T. Support Officer 
  Science Corporate Information Systems 
  Defence Science  Technology Organisation 
  Department of Defence 
  Tel: (02) 96921484 
  Fax: (02) 96921562 
  Email: [EMAIL PROTECTED] 
  
  
  
  This email (including any attachments) may contain confidential 
  and/or privileged information or information otherwise protected 
  from disclosure.
  If you are not the intended recipient, please notify the sender 
  immediately, do not copy this message or any attachments and do not 
  use it for any purpose or disclose its content to any person, but 
  delete this message and any attachments from your system.
  Astrium disclaims any and all liability if this email transmission 
  was virus corrupted, altered or falsified.
  -
  Astrium Limited, Registered in England and Wales No. 2449259
  Registered Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1 
  2AS, England 
  
  ___
  Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
  http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
 
 This email (including any attachments) may contain confidential 
 and/or privileged information or information otherwise protected 
 from disclosure.
 If you are not the intended recipient, please notify the sender 
 immediately, do not copy this message or any attachments and do not 
 use it for any purpose or disclose its content to any person, but 
 delete this message and any attachments from your system.
 Astrium disclaims any and all liability if this email transmission 
 was virus corrupted, altered or falsified.
 -
 Astrium Limited, Registered in England and Wales No. 2449259
 Registered Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1 
 2AS, England___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Change retention of all tapes(question)

2007-01-25 Thread Iverson, Jerald
ken,

 

you are redirecting input for the bpexpdate command from a file called
yes, but you state that bpimagelist prompts for a yes.  bpimagelist
doesn't prompt, and to get by the bpexpdate prompting for are you sure
you want to change the expiration question, use a -force option which
is there specifically for scripting so that you don't have to enter 'y'
dozens of times.

 

jerald

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lee,
Kenneth (SBS US)
Sent: Wednesday, January 24, 2007 11:58 AM
To: Tim Martino; Veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Change retention of all tapes(question)

 

You can change the expiring of tapes by backup id using the following
commands:

 

bpimagelist -l -d mm/dd/yy -e mm/dd/yy | grep IMAGE | awk '{print
bpexpdate -recalculate -backupid  $6  -ret 9  yes}' 
command_script_to_run

 

you need to create a file called yes with one line with the word y.
This is required because bpimagelist prompt for a yes.

 

The -ret 9 is to set the backup to infinite.  This command will set the
backup to infinite regardless of how many tapes the image is on.

 

Regards,

Ken

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tim
Martino
Sent: Wednesday, January 24, 2007 9:23 AM
To: Veritas-bu@mailman.eng.auburn.edu
Subject: [Veritas-bu] Change retention of all tapes(question)

 

We have just shut down one datacenter and we are moving the backup
server and tapes to a separate location.  Is there an easy way to set
all the tapes by media_id to infinite with just one running of the
command instead of listing every single media_id?  Thanks. 


Confidentiality Note: The information contained in this
message, and any attachments, may contain confidential
and/or privileged material.  It is intended solely for the
person(s) or entity to which it is addressed.  Any review,
retransmission, dissemination, or taking of any action in
reliance upon this information by persons or entities other
than the intended recipient(s) is prohibited.  If you received
this in error, please contact the sender and delete the
material from any computer.

___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


[Veritas-bu] Command to show what slot a media is in?

2007-01-25 Thread Ellis, Jason
Is there a NetBackup command that will show you what slot a particular
media ID is in a library? Not necessarily what it might physically be,
as in actually instructing the robot to inventory the library. Simply
what slot the media ID is assigned to as per the media database.

 

What I'm trying to accomplish is a script to automate a very manual
process. We have a lot of remote sites with libraries that don't have
barcode readers. As such we need to e-mail the on-site contact each day
the media ID and slot number to pull media from, and then they e-mail us
back the new media ID they put in to replace it and we manually add it
in. I'm trying to script the first e-mail that lists all the remote
sites, what media ID to remove, the slot it is in, and the retention of
the media. The only thing I don't know of a command for is the slot for
a particular media.


Thanks!

 

Jason Ellis
Technical Consultant, Data Protection Team
IndyMac Bank, La Mirada Datacenter
Phone: (714) 520-3414
Mobile: (714) 889-8734

 

___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Command to show what slot a media is in?

2007-01-25 Thread Curtis Preston
I believe vmcheckxxx should give you what you want.  I know.  Weirdest
command name on the planet.

 

---

W. Curtis Preston

Author of O'Reilly's Backup  Recovery and Using SANs and NAS

VP Data Protection

GlassHouse Technologies

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ellis, Jason
Sent: Thursday, January 25, 2007 9:22 AM
To: NB List Mail
Subject: [Veritas-bu] Command to show what slot a media is in?

 

Is there a NetBackup command that will show you what slot a particular
media ID is in a library? Not necessarily what it might physically be,
as in actually instructing the robot to inventory the library. Simply
what slot the media ID is assigned to as per the media database.

 

What I'm trying to accomplish is a script to automate a very manual
process. We have a lot of remote sites with libraries that don't have
barcode readers. As such we need to e-mail the on-site contact each day
the media ID and slot number to pull media from, and then they e-mail us
back the new media ID they put in to replace it and we manually add it
in. I'm trying to script the first e-mail that lists all the remote
sites, what media ID to remove, the slot it is in, and the retention of
the media. The only thing I don't know of a command for is the slot for
a particular media.


Thanks!

 

Jason Ellis
Technical Consultant, Data Protection Team
IndyMac Bank, La Mirada Datacenter
Phone: (714) 520-3414
Mobile: (714) 889-8734

 

___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Change retention of all tapes(question)

2007-01-25 Thread Curtis Preston
I agree.  In addition, while your script works, it took me a minute to
figure out HOW it worked.  Just a style thing.  I like my scripts a
little more self-describing by doing things one at a time, rather than
imbedding multiple commands inside another command.  Here's the way I
would do it:

 

bpimagelist -l -d mm/dd/yy -e mm/dd/yy | grep IMAGE | awk '{print
$6'}'|while read i

do

  bpexpdate -force -recalculate -backupid $i -ret 9

done

 

 

---

W. Curtis Preston

Author of O'Reilly's Backup  Recovery and Using SANs and NAS

VP Data Protection

GlassHouse Technologies

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Iverson,
Jerald
Sent: Thursday, January 25, 2007 8:46 AM
To: Lee, Kenneth (SBS US); Tim Martino;
Veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Change retention of all tapes(question)

 

ken,

 

you are redirecting input for the bpexpdate command from a file called
yes, but you state that bpimagelist prompts for a yes.  bpimagelist
doesn't prompt, and to get by the bpexpdate prompting for are you sure
you want to change the expiration question, use a -force option which
is there specifically for scripting so that you don't have to enter 'y'
dozens of times.

 

jerald

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lee,
Kenneth (SBS US)
Sent: Wednesday, January 24, 2007 11:58 AM
To: Tim Martino; Veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Change retention of all tapes(question)

 

You can change the expiring of tapes by backup id using the following
commands:

 

bpimagelist -l -d mm/dd/yy -e mm/dd/yy | grep IMAGE | awk '{print
bpexpdate -recalculate -backupid  $6  -ret 9  yes}' 
command_script_to_run

 

you need to create a file called yes with one line with the word y.
This is required because bpimagelist prompt for a yes.

 

The -ret 9 is to set the backup to infinite.  This command will set the
backup to infinite regardless of how many tapes the image is on.

 

Regards,

Ken

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tim
Martino
Sent: Wednesday, January 24, 2007 9:23 AM
To: Veritas-bu@mailman.eng.auburn.edu
Subject: [Veritas-bu] Change retention of all tapes(question)

 

We have just shut down one datacenter and we are moving the backup
server and tapes to a separate location.  Is there an easy way to set
all the tapes by media_id to infinite with just one running of the
command instead of listing every single media_id?  Thanks. 


Confidentiality Note: The information contained in this
message, and any attachments, may contain confidential
and/or privileged material.  It is intended solely for the
person(s) or entity to which it is addressed.  Any review,
retransmission, dissemination, or taking of any action in
reliance upon this information by persons or entities other
than the intended recipient(s) is prohibited.  If you received
this in error, please contact the sender and delete the
material from any computer.

___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Change retention of all tapes(question)

2007-01-25 Thread Lee, Kenneth \(SBS US\)
Jerald,

 

No, I am not redirecting the command file to yes, it is going to
command_script_to_run file.  The yes is for bpexpdate and not
bpimagelist.

 

 

Curits,

 

For your do loop, you need to add  input_file  or you will have to
answer yes to bpexpdate.

 

Ken

 

From: Curtis Preston [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 25, 2007 9:48 AM
To: Iverson, Jerald; Lee, Kenneth (SBS US); Tim Martino;
Veritas-bu@mailman.eng.auburn.edu
Subject: RE: [Veritas-bu] Change retention of all tapes(question)

 

I agree.  In addition, while your script works, it took me a minute to
figure out HOW it worked.  Just a style thing.  I like my scripts a
little more self-describing by doing things one at a time, rather than
imbedding multiple commands inside another command.  Here's the way I
would do it:

 

bpimagelist -l -d mm/dd/yy -e mm/dd/yy | grep IMAGE | awk '{print
$6'}'|while read i

do

  bpexpdate -force -recalculate -backupid $i -ret 9

done

 

 

---

W. Curtis Preston

Author of O'Reilly's Backup  Recovery and Using SANs and NAS

VP Data Protection

GlassHouse Technologies

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Iverson,
Jerald
Sent: Thursday, January 25, 2007 8:46 AM
To: Lee, Kenneth (SBS US); Tim Martino;
Veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Change retention of all tapes(question)

 

ken,

 

you are redirecting input for the bpexpdate command from a file called
yes, but you state that bpimagelist prompts for a yes.  bpimagelist
doesn't prompt, and to get by the bpexpdate prompting for are you sure
you want to change the expiration question, use a -force option which
is there specifically for scripting so that you don't have to enter 'y'
dozens of times.

 

jerald

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lee,
Kenneth (SBS US)
Sent: Wednesday, January 24, 2007 11:58 AM
To: Tim Martino; Veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Change retention of all tapes(question)

 

You can change the expiring of tapes by backup id using the following
commands:

 

bpimagelist -l -d mm/dd/yy -e mm/dd/yy | grep IMAGE | awk '{print
bpexpdate -recalculate -backupid  $6  -ret 9  yes}' 
command_script_to_run

 

you need to create a file called yes with one line with the word y.
This is required because bpimagelist prompt for a yes.

 

The -ret 9 is to set the backup to infinite.  This command will set the
backup to infinite regardless of how many tapes the image is on.

 

Regards,

Ken

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tim
Martino
Sent: Wednesday, January 24, 2007 9:23 AM
To: Veritas-bu@mailman.eng.auburn.edu
Subject: [Veritas-bu] Change retention of all tapes(question)

 

We have just shut down one datacenter and we are moving the backup
server and tapes to a separate location.  Is there an easy way to set
all the tapes by media_id to infinite with just one running of the
command instead of listing every single media_id?  Thanks. 


Confidentiality Note: The information contained in this
message, and any attachments, may contain confidential
and/or privileged material.  It is intended solely for the
person(s) or entity to which it is addressed.  Any review,
retransmission, dissemination, or taking of any action in
reliance upon this information by persons or entities other
than the intended recipient(s) is prohibited.  If you received
this in error, please contact the sender and delete the
material from any computer.

___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Command to show what slot a media is in?

2007-01-25 Thread Austin Murphy
On 1/25/07, Ellis, Jason [EMAIL PROTECTED] wrote:
 Is there a NetBackup command that will show you what slot a particular media
 ID is in a library? Not necessarily what it might physically be, as in
 actually instructing the robot to inventory the library. Simply what slot
 the media ID is assigned to as per the media database.

vmquery -m mediaid | grep slot

Austin
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Command to show what slot a media is in?

2007-01-25 Thread Darren Dunham
 Is there a NetBackup command that will show you what slot a particular
 media ID is in a library? Not necessarily what it might physically be,
 as in actually instructing the robot to inventory the library. Simply
 what slot the media ID is assigned to as per the media database.

I'd start with '/usr/openv/volmgr/bin/vmquery -m volid', with the
option of -b or -l for different parsing options.

-- 
Darren Dunham   [EMAIL PROTECTED]
Senior Technical Consultant TAOShttp://www.taos.com/
Got some Dr Pepper?   San Francisco, CA bay area
  This line left intentionally blank to confuse you. 
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Change retention of all tapes(question)

2007-01-25 Thread Darren Dunham
 Curits,
 
 For your do loop, you need to add  input_file  or you will have to
 answer yes to bpexpdate.

No.  Because as I mentioned earlier, that's what -force is for.

 do
 
   bpexpdate -force -recalculate -backupid $i -ret 9
 
 done


-- 
Darren Dunham   [EMAIL PROTECTED]
Senior Technical Consultant TAOShttp://www.taos.com/
Got some Dr Pepper?   San Francisco, CA bay area
  This line left intentionally blank to confuse you. 
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Backup_exit_Notify script

2007-01-25 Thread Ueli Schweizer
Never seen that before... Thank you

 

Ueli Schweizer

AGITE Software AG · Boesch 43 · CH-6331 Huenenberg · Switzerland
Direct: +41 79 204 9190 · Phone: +41 41 781 5678 · Fax: +41 41 781 5677
[EMAIL PROTECTED] · http://www.AGITE-Software.com 

backupVISUAL...
  ...we make life on backup easy

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Keating
Sent: Thursday, January 25, 2007 4:15 PM
To: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Backup_exit_Notify script

 

From the beginning of the default/included script on my box.

 

#
# backup_exit_notify.sh
#
# This script is called by the NetBackup scheduler, after an individual
# client backup has completed (including media closure and image db
validation.
#
# NOTE:  this script will always be run in background mode, meaning that
#the NetBackup scheduler will NOT wait for it's completion.
#
# This script:
#   receives 5 parameters:
# CLIENT   - the client hostname
# POLICY   - the policy label
# SCHEDULE - the schedule label
# SCHEDULE_TYPE- the type of schedule:  FULL INCR UBAK UARC
# STATUS   - the backup status for this job
# STREAM   - the backup stream number for this job
#   must be executable by the root user
#   should exit with 0 upon successful completion

 

 

-- 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ueli
Schweizer
Sent: January 24, 2007 5:30 PM
To: Paul Keating; veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Backup_exit_Notify script

Yes, of course your right. Param 4 is schedule type, param 5 is status. But
what’s param 6, stream number? I can not find any information about that in
the 5.1 nor the 6.0 documentation???

 

Cheers

Ueli Schweizer



 
La version française suit le texte anglais.
 


 
This email may contain privileged and/or confidential information, and the
Bank of
Canada does not waive any related rights. Any distribution, use, or copying
of this
email or the information it contains by other than the intended recipient is
unauthorized. If you received this email in error please delete it
immediately from
your system and notify the sender promptly by email that you have done so. 
 


 
Le présent courriel peut contenir de l'information privilégiée ou
confidentielle.
La Banque du Canada ne renonce pas aux droits qui s'y rapportent. Toute
diffusion,
utilisation ou copie de ce courriel ou des renseignements qu'il contient par
une
personne autre que le ou les destinataires désignés est interdite. Si vous
recevez
ce courriel par erreur, veuillez le supprimer immédiatement et envoyer sans
délai à
l'expéditeur un message électronique pour l'aviser que vous avez éliminé de
votre
ordinateur toute copie du courriel reçu.
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] newbie question on bpend

2007-01-25 Thread home
Curtis-

Dennis' postscript is correct.
i.e., it is *not* possible to run bpbackup -i from a remote host 
unless the master server thinks that host is a media server.

Otherwise, bprd logs an error saying,

hostname is not a valid server for manual backup request

You're right that a normal bpbackup can be run from any host...
And you're ALSO right that you can't run bpbackup -i as a non-root or 
non-admin user...

2 out of 3 ain't bad.   ;-)

HTH
rob


On Jan 25, 2007, at 10:30 AM, Curtis Preston wrote:

 PS. You will also need to add the client as a SERVER=... entry in 
 the
 master's bp.conf so that you can be authorised to run the bpbackup
 command from the client.

 Not sure where you ever heard that this is a requirement.

 A client does NOT have to be a server to run bpbackup, nor does it have
 to be a server to run bpbackup -i.  Any user on any client can run
 bpbackup, and root/administrator can run bpbackup -i.

 ___
 Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
 http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu