The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Filesystems, Disks and Memory
Google UNIX.COM


Filesystems, Disks and Memory Questions involving NAS, SAN, RAID, Robotic Libraries, backups, etc go here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Launch veritas netbackup panchpan UNIX for Advanced & Expert Users 3 10-29-2007 11:38 PM
Netbackup Installation impunchdrunk HP-UX 4 10-03-2007 10:09 AM
Netbackup on Solaris 8 civic2005 SUN Solaris 1 04-27-2007 01:49 PM
veritas NETbackup command ppass SUN Solaris 3 05-04-2005 08:20 AM
Veritas NetBackup TRUEST UNIX for Dummies Questions & Answers 2 03-30-2002 08:13 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-06-2003
Registered User
 

Join Date: Dec 2000
Location: Greater Dallas area
Posts: 405
Netbackup question

Hello,
I am setting up scripts to do shadow image backups but have found a pitfall I cannot figure out how to work around. Basically what I need to figure out is how to launch a bunch of bpbackups, and then have the script pause until all of the children have exited. The problem is that bpbackup spawns a bpbkar process with a parent of 1. I can't just use pgrep because there may be other bpbkar processes running.

Any thoughts or advice would be appreciated.
__________________
[url=http://chuckb.1le.net/]My website[/url]
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 10-07-2003
TioTony's Avatar
Bit Pusher
 

Join Date: Oct 2001
Location: Southern California
Posts: 332
I don't know if this will help or not. You could use bpps or bpdbjobs to get more info. The later will tell you if the job is Done or not.
Reply With Quote
  #3 (permalink)  
Old 10-08-2003
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,355
According to the man page, "-w 0" will cause bpbackup to wait for a completion status before it returns. Since you want to launch a bunch of these, background them by appending & to the end of the command line. Wait for all background jobs by using "wait".
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:34 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0