I recently asked a question regarding the restoration of a pretty huge (around 300 to 400 GB) mysql database and got some nice suggestions as seen here. Now, I have backed up the data directory of mysql as well.
So, for example before reinstalling the machine the data directory is present under /mounts/mysql
.
I have backed up that particular folder and I was wondering if I just restore /mounts/mysql
folder back in the new machine, will it be ok? Or will there be some problem because the database is not restored using the proper mysql
command?
rsync
command to dump everything available under/mounts/mysql
.