Re: [Networker] Unique save set name problem finally solved?
> >> /bin/sh /usr/sbin/nsrnmo_level1_test -s server_name -g group_name -LL -m
> >> client_name -t 1178573804 -l incr -q -W 78 -N path2RMANscript
> >> path2RMANscript
> >> So, we would just need to change the value following the '-N' as you
> >> suggested. However, it's going to be a bit involved getting the correct
> >> time value. If we do it the way we've been doing it then NW figures it
> >> out and passes all the correct parameters. If we create the wrapper script
> >> and specify that instead then we're going to have to explicitly call the
> >> nsrnmo script (nsrnmo_level1_test) with all the expected parameters;
> >> otherwise,
> >> it bombs with the "nsrnmostart returned status of 255" message.
> > No... your script will be passed all of that stuff. You just need
> > to change the -N part to what you want, then pass it all on to nsrnmo.
> I created a shell script (under /usr/sbin) with the following line:
> /usr/sbin/nsrnmo -N name
If you do that, you're not passing any of that other information. It
might not be right, but as a first pass I might try:
/usr/sbin/nsrnmo "[email protected]" -N name
> I placed the name of the shell script in the 'Backup command' field for
> the client resource.
> It expected it to begin with 'save' or 'nsr', so I named its something
> like nsr_test.sh
> But when I ran the group, it failed and only backed up the client index.
> NetWorker reported
> 1 retry attempted on the rman script (save set name) and reported the
> following error:
> client:RMAN:/path2_rman_script nsrnmostart returned status of 255
> client:RMAN:/ path2_rman_script /usr/sbin/nsrnmo exiting.
You're not passing any of the arguments into nsrnmo.
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. >
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
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER