You use memory cache as a backup solution? xD
Copying the mysql folder will never provide a reliable and consistent backup. To do it you must shut down or lock the database otherwise you'll have a database in an inconsistant state.
Mysqldump will always be consistent and easy to restore
If you...