P
postcd
Code:
echo "Run vzmigrate (m) or run vzdump (d) now? or any other key to continue."
read vmsbckp
if [ "$vmsbckp" == "m" ];then
./root/vzmigrate
fi
if [ "$bmsbackup" == "d" ];then
./root/vmsbackup
ls -l /home/vmsbackup
fi
echo "That is all, nothing more to be done in backup process."
when i selected "d"
it just skipped and exitted the script. Can i modiffy anyhow script so it start another script and then when this finish it automatically continue my firs initial script?
Continue reading...
echo "Run vzmigrate (m) or run vzdump (d) now? or any other key to continue."
read vmsbckp
if [ "$vmsbckp" == "m" ];then
./root/vzmigrate
fi
if [ "$bmsbackup" == "d" ];then
./root/vmsbackup
ls -l /home/vmsbackup
fi
echo "That is all, nothing more to be done in backup process."
when i selected "d"
it just skipped and exitted the script. Can i modiffy anyhow script so it start another script and then when this finish it automatically continue my firs initial script?
Continue reading...