I have 2 problems using scripts on Unix client side to backup savesets:
1)I want to keep the reports (normal and errors),
but it seems that the save and savefs commands don't use stdout nor stderr :
savefs -s myserver -c client1 /home >sav.log 2> saverr.log
the .log files are empty...
How can I keep this usefull informations?
2)I want to use the Errorlevel, but it is always "0" even if an error occurs:
savefs -s myserver -c client1 /home
if [ "$!" = 0 ] etc...
Any Ideas or suggestions?
1)I want to keep the reports (normal and errors),
but it seems that the save and savefs commands don't use stdout nor stderr :
savefs -s myserver -c client1 /home >sav.log 2> saverr.log
the .log files are empty...
How can I keep this usefull informations?
2)I want to use the Errorlevel, but it is always "0" even if an error occurs:
savefs -s myserver -c client1 /home
if [ "$!" = 0 ] etc...
Any Ideas or suggestions?