how to backup and restore mysql database related searches