Mysql datas ?

I test a backup solution and would like to know where i can found mysql databases in the file structure ?

/var/lib/mysql

if you copy that dir completely, your mysql databases is backed up.

/var/www/vhosts

this dir is for webfiles/ftp .

so,
rsync -arvz /var/lib/mysql targetip:/backup/
rsync -arvz /var/www/vhosts targetip:/backup/

this will backup almost all your server.(related to hosting)

ehcp "server backup" feature does the same. (home->system->backup server)