@up Jesters suggestion is approved, it gives the best results. Trust me.
Been having lots of errors using the regular export backup.
By taking backup of the whole data folder, will also help you resetting phpmyadmin password to an earlier date.
Which is good, if you get hacked, and the hacker changes password to your root, it will be very bothersome getting the password back, then its easiest to just replace the old data folder and you can use your old phpmyadmin password, and for an example copy the database for your OT on your hacked phpmyadmin if the hacker havent touched the database, if you want the server database to be up to date.
Just to be on the safe side, I always keep an old copy of the whole xampp/mysql folder, just in case.