This is the program that runs every day at 12:00 AM UTC and backs up the non-volatile user data from Flashii. Provided for transparency.
GRANT SELECT, LOCK TABLES, SHOW VIEW, EVENT, TRIGGER, EXECUTE ON *.* TO 'user'@'localhost';