Networker

Re: [Networker] Process dependent backup

2004-06-14 16:16:48
Subject: Re: [Networker] Process dependent backup
From: Darren Dunham <ddunham AT TAOS DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Mon, 14 Jun 2004 13:16:37 -0700
>
> Hi All :
>
> I know I can use savepnpc to run pre and post scripts.  But, I need to
> start my backup based on a process or on a file arrival. In other words, if
> the process is not completed, please do not start the backup, or if the
> file is not ready, do  not start the backup.
>
> How can I achive this.

I can think of a couple of ways.

#1 using the Networker scheduler, write a savepnpc program that will
   pause until the conditions are satisfied.  You'll want to use
   timeouts to make sure you don't stall forever.

#2 Don't use the networker scheduler, but have a daemon process kick off
   a backup when the conditions are right.

--
Darren Dunham                                           ddunham AT taos DOT com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

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