linuxtricks
IS-IT--Management
I apologize if this is the wrong forum to post about mysql.
I am hoping I will be able to find help on this somewhere:
I have been given the task of upgrading mysql from version 3.22 to version 3.23 on 3 servers. The very first task seems to be to 'backup' all of the existing databases.
I have been reading about how to do this, but am finding my search results to be quite confusing. (I am very very new to mysql and databases).
Generally speaking, does the following sound right to any of you mysql gurus out there(?):
[red]mysqldump -uUsername databasename |gzip > databasename.gz[/red]
Is that the right command to use when attempting to make a backup of all of the databases on your system?
Is there a safe way if doing this without putting your production databases at risk?
Thanks in advace for any help you can supply!
I HATE BEING A NEWBIE!
-grumpy smurf
I am hoping I will be able to find help on this somewhere:
I have been given the task of upgrading mysql from version 3.22 to version 3.23 on 3 servers. The very first task seems to be to 'backup' all of the existing databases.
I have been reading about how to do this, but am finding my search results to be quite confusing. (I am very very new to mysql and databases).
Generally speaking, does the following sound right to any of you mysql gurus out there(?):
[red]mysqldump -uUsername databasename |gzip > databasename.gz[/red]
Is that the right command to use when attempting to make a backup of all of the databases on your system?
Is there a safe way if doing this without putting your production databases at risk?
Thanks in advace for any help you can supply!
I HATE BEING A NEWBIE!
-grumpy smurf