Mysql datas ?

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


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


this dir is for webfiles/ftp .

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)