In my efforts to automate this script for DR and change management I ran into trouble with the "-y" and "--force-yes" options. nothing worked, until.
What I have done to make this work is modify the /usr/sbin/nsm_server_backup-config file.
the line I modified to make things work is line # 170;
I changed
if [ "$PROMPT_RET" != "Y" -a "PROMPT_RET" != "y" ]
to
if [ "$PROMPT_RET" != "N" -a "PROMPT_RET" != "n" ]
and everything seams to work as expected now.
Is this a sound change, or might I cause other issues by doing this?
Many thanks in advance for any feedback,
Jason