Hi,
The docs say the database can be backed up with qbadmin supervisor --backup, which creates backup files in /var/spool/qube/backup. Then goes onto say that recover, just copy the contents of that folder to the mysql directory (/var/lib/mysql).
However, is there more to it than that? Because there also log files, if you restored from a backup of say a week ago, there would be a conflict between the database and the logs. For example, say the database went bad at job 550. The latest backup was everything up to job 500. So you restore the database from that backup and restart qube. The next job would then be 501, but there was already a job 501 created before the database went bad complete with log files ,so there are now two different 501's, which will cause a problem when using the Qube GUI or other means to get the output for that job. This problem did happen here a while back when we re-installed the database from scratch but didn't delete all the logs.
So in short, what is the proper method to recover qube if the database goes bad?
Thanks.
Jason