Jump to content
  • 0

Preventing Wipeout when changing VPS host


Question

Posted

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

Posted

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

Posted

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.

Posted (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 by Asura
Posted

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.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...