I've adapted the shell script from here to turn off my forums before backup using
The problem is that I have to somehow refresh the datastore for this to take effect, apparently. Is there some easy way to do this from a shell script running as root?
Code:
mysql -e "UPDATE setting SET value=0 WHERE varname='bbactive'"
Comment