|
 post process after all group finnished
On Thu, 30 Dec 2004 17:31:56 +0100, Kenneth Larsen <kel < at > steria.dk> wrote:
The only reasonable way I see that working is running the savegroup from
the script too, instead of from inside networker.
Just disable the group in networker and let cron or at start the script.
It fairly easy to do, just read up on savegrp in your networker docs.
But know that you can't just stop a group from inside networker if you use
this solution, and I haven't found any other way to kill the backupjob
started from a script, than to kill the networker services.
Or, if you really want networker to manage the start of each group make
one group for each client and use savepnpc anyways
Alternatively, you create a "control" group in addition to the real
group if you want it controlled out of NetWorker - similar to what Ken
is suggesting but a slightly different way.
The control only client in the control group is the backup server
itself, using a spurious save set. You use a custom backup command
called say "savespecial.bat" or "savespecial.sh", depending on whether
you're under Windows or Unix respectively.
That custom backup command then does the following:
(a) Runs savegrp against the real configured group, specifying the
schedule to use (if you assign schedules to groups) to force the
schedule to be used - it isn't by default if you run a group via
savegrp;
(b) When the group concludes, it runs whatever post processing
commands you need to have run. NB: If you need those commands run on
another host you're not out of luck - you could always mung an nsrexec
RCMD/RUSER command if you don't have ssh or something along those
lines available.
Cheers,
-Preston.
**************************************************
Med venlig hilsen / Regards
Kenneth Larsen
Steria
Tonsbakken 16-18
2740 Skovlunde
kel < at > steria.dk - 44506261 - 26306261
**************************************************
With a revenue of 970 million Euro and more than 8,000 employees, Steria
is one of the top ten IT services companies in Europe.
Steria Denmarks ambition is to reach a yearly growth of 20% in the coming
3 years. Our focus expertise is in: e-Business, e-Government,
Outsourcing, Infrastructure, CRM and Workflow.
Petr Hanzlik <phanzlik < at > COMA.CZ>
Sent by: Legato NetWorker discussion <NETWORKER < at > LISTMAIL.TEMPLE.EDU>
30-12-2004 16:38
Please respond to
Legato NetWorker discussion <NETWORKER < at > LISTMAIL.TEMPLE.EDU>; Please
respond to
Petr Hanzlik <phanzlik < at > COMA.CZ>
To
NETWORKER < at > LISTMAIL.TEMPLE.EDU
cc
Subject
[Networker] post process after all group finnished
Hello,
everybody, have you experience with run any script as post process of
group ? I need run any postscript after finnish backup of all group, no
after finnish backup of any client this group. /savepnpc and group.res
set/.
thanks,
--
Note: To sign off this list, send a "signoff networker" command via email
should be sent to stan < at > temple.edu
--
Note: To sign off this list, send a "signoff networker" command via email
should be sent to stan < at > temple.edu
Note: To sign off this list, send a "signoff networker" command via email
should be sent to stan < at > temple.edu
|