Backup and restore all MySQL databases

BlackThorn

Verified User
Joined
Feb 24, 2013
Messages
34
Location
Istanbul
Hello. I'd like to reset my.cnf, because I've used "innodb_file_per_table = 1". So I'd like to get backup all databases first. After that, I'll drop them all and reset my.cnf, delete ibdata1 and ib_log* files, and upload/restore all databases again via SSH. Is there any specific method to restore all databases at one time without user name and password? I am asking because there are a lot of sites (I have more than 80 MySQL databases) and I don't want to deal with user names and passwords one by one. Meanwhile, where can I find default my.cnf file? Thanks.
 
I guess I could Google it for you but you can do that I think. I don't have any of this stuff memorized.
 
also if you want to have independent backups - better to create them via Directadmin's - Admin Backup Transfer just select:
Database Settings
Database Data
----
then you will be able to restore this backups via DA even if mysql (users) table will be broken..
 
Back
Top