guess it should be 0 for full and 1-6 for diff, thaught it went from 0 to 6 not 1 to 7.. Anyhow, I see in the script something that makes me think you have or have had the same issues as me now.
After a backup is done, every service run except the zmstat service.. I have tried to uncomment the 2 lines in your script regarding this:
Code:
# quick hack to start the stats component
# echo
# sudo -u $ZM_USER "$ZM_HOME"bin/zmstatctl start Also tried with changing sudo to use the su -c way, last night I even tried to set up a crontab for zimbra user like:
Code:
30 4 * * * /opt/zimbra/bin/zmstatctl stop && /opt/zimbra/bin/zmstatctl start
It simply refuses to work, I have to manually via shell as the zimbra user
Code:
/opt/zimbra/bin/zmstatctl stop && /opt/zimbra/bin/zmstatctl start
to get things going again... Found any solution to that one? or someone else with an idea for what to try?