Re: [Networker] Starting a Group every hour but only from 6 a.m. to 6 p.m.
2008-08-11 15:34:23
I was thinking there was something else you were referring to when you
mentioned the ability to submit commands through nsradmin to allow NMC
visibility to jobs initiated "outside" of NW.
Thanks for clarifying.
-----Original Message-----
From: Davina Treiber [mailto:Davina.Treiber AT PeeVRo.co DOT uk]
Sent: Monday, August 11, 2008 2:24 PM
To: EMC NetWorker discussion; Bruce Breidall
Subject: Re: [Networker] Starting a Group every hour but only from 6
a.m. to 6 p.m.
Bruce Breidall wrote:
> What would be the nsradmin equivalent to the following commands:
>
> Savegrp -O -G DRINDEXES 1>/indexes/savegrp.log 2>&1
> Savegrp -G ADMIN 1>/backups/savegrp.log 2>&1
There is no equivalent of these.
If you need to add a parameter to the savegrp command which cannot be
supplied from the NSR group resource, (such as -O) then you need to run
it directly.
You would not be able to redirect the stdin/stderr either, although I am
not sure why you would want to do this.
The basic syntax for starting a group from nsradmin is:
echo "
. type : NSR group;
name : $NWGRP
update Autostart : Start now
" | nsradmin -s $NWSERVER -i -
When you run a group in this way it will also pick up parameters from
the NSR group resource such as schedule etc.
>
> Also, can nsrclone be submitted through nsradmin, for the same
reasons?
> Forgive me for not researching this before asking the question.
No it can't as it's not a group.
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|
|
|