me, myself and linux SuSE

The scope of this Blog is collect in one place all my experiences with linux SuSE. In summary, this is a sort of troubleshooting! If u want u can take my experiences and use it to resolve your own problems (cannot resolve your personal problem wit life yet :D). You can write me if u need help but don't expect too much from me!

lunedì, marzo 28, 2005

backup mysql tables and restore

it's easy to backup all you mysql tables: just go to /var/lib/mysql (on SuSE linux distro) and copy all folders, that's it.
If you record this forlders on a cd or dvd as backup and you lost all privilege settings, this is what you have to do after you copy back your backup on mysql folder:

chmod -R 766 *
chmod -R 700 mysql/

and all will work fine again!

go backup guys! ;)