noobsai Posted March 10, 2012 Posted March 10, 2012 how can i prevent my server from wipe out when i change my VPS host.. the host im on now is bit lag and i want to transfer it but i dont know what to do to prevent any loss of items or wipeout Quote
noobsai Posted March 10, 2012 Author Posted March 10, 2012 no idea on how to do backup hahaha sry still noob Quote
trenx Posted March 10, 2012 Posted March 10, 2012 You just need to save your emulator folder. Then with the details of your sql backup the database, or in case you cant access use mysql ssh commands to make a dump. mysqldump -u [user] -p [database_name] > [backupfile].dump Its not hard as it sounds Quote
JayPee Posted March 10, 2012 Posted March 10, 2012 That is the command you will use if your using Linux with no GUI. mysqldump -u [user] -p[password] [database_name] > [backupfile].sql but if your using Windows and you have phpmyadmin or MySQL Workbench, you just need to find Export. Quote
Asura Posted March 10, 2012 Posted March 10, 2012 (edited) Hi noobsai, Log in with PuTTY and type what trenx had already mentioned... mysqldump -u USERNAME -p, --password=PASSWORD DATABASE_NAME > FILE_NAME.sql Then just use WinSCP and transfer the file over to your computer. Also, a reminder... every name is CaSe-SeNsiTiVe. Edited March 10, 2012 by Asura Quote
Lighta Posted March 11, 2012 Posted March 11, 2012 you also have export option on pvpmyadmin but command line easier and faster (and export was like being zombie for huge db) once you have your .sql, transfert it to the new host and insert it to you new db like that : mysql -u [user] -p[password] [database_name] < [backupfile].sql There was also option to do it all in 1 line command but well would be the same as we do here. Quote
noobsai Posted March 12, 2012 Author Posted March 12, 2012 okay thanks for the help guys i will be trying this Quote
Question
noobsai
how can i prevent my server from wipe out when i change my VPS host.. the host im on now is bit lag and i want to transfer it
but i dont know what to do to prevent any loss of items or wipeout
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.