Re: [Networker] nsrclone with mminfo
2003-04-27 09:08:57
George Drazich wrote:
I'm trying to supply the nsrclone command with ssid's using input from
mminfo. Their is an example in the nsrclone man page with this syntax:
nsrclone -S 'mminfo -r ssid \
-q '!incomplete,savetime>last saturday,savetime<last monday''
This should clone all saveset's created over the weekend to the default
clone pool.The mminfo query works on it's own, but when I use it to provide
input to nsrclone it always give me an error like "is not a valid saveset"
refering to the attempted command. Anyone out there try this before with
success?
George Drazich
Lockheed Martin Space Systems
--
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.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
George,
Although I have not tried that specific command, I do frequently use
output from mminfo to feed nsrclone. It looks to me like you should
escape the ! character in the above command. Also, I don't know if it
is something that got munged in the e-mail format, but you should
enclose the entire mminfo command with ` (backtick), not ' (single quote).
--
Stan Sander - CSU Special Projects
Unix Systems/Server Administrator
(505)284-4915
--
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.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|
|
|