Welcome Guest, Not a member yet? Register   Sign In
Running a Database on a Live Public Server?
#3

[eluser]Phil Sturgeon[/eluser]
To get it sent to a file use:

Quote:mysqldump --opt -u dbuser -pPASSWORD dbname > /home/someuser/my_backup.sql

Your file is then ready to be SCP/FTPed to your live server. Do this over the command line if you know how or crack open an FTP client and download the file. Then upload it to your live server.

Quote:mysql -u dbuser -pPASSWORD dbname < /home/someuser/my_backup.sql

This method is clearly more complicated than phpMyAdmin but has the added advantage of working with crazy-f**k-huge files.


Messages In This Thread
Running a Database on a Live Public Server? - by El Forum - 07-06-2009, 11:34 PM
Running a Database on a Live Public Server? - by El Forum - 07-07-2009, 12:09 AM
Running a Database on a Live Public Server? - by El Forum - 07-07-2009, 05:36 AM
Running a Database on a Live Public Server? - by El Forum - 07-07-2009, 05:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB