Jump to content
  • 0

Preventing Wipeout when changing VPS host


noobsai

Question


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  70
  • Reputation:   0
  • Joined:  02/05/12
  • Last Seen:  

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

Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.03
  • Content Count:  569
  • Reputation:   11
  • Joined:  11/24/11
  • Last Seen:  

just back up your sql database. xD

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  70
  • Reputation:   0
  • Joined:  02/05/12
  • Last Seen:  

no idea on how to do backup hahaha

sry still noob

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   4
  • Joined:  03/06/12
  • Last Seen:  

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 :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  633
  • Reputation:   78
  • Joined:  11/14/11
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  70
  • Reputation:   0
  • Joined:  02/05/12
  • Last Seen:  

the host is linux with phpmyadmin

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

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 by Asura
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  70
  • Reputation:   0
  • Joined:  02/05/12
  • Last Seen:  

okay thanks for the help guys i will be trying this

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...