Jump to content
xisto Community
harriko

Moving Server To Server? how to...?

Recommended Posts

i wondered how to moving all your data on a server to another new server. like invisionboards and database. moving them so it be exactly the same when moved to another server. I think it is done by backups? i tried it but didnt work? help?

Share this post


Link to post
Share on other sites

Okay if you want to move a database, just go into phpMyAdmin and export the database into a .sql file. Then on the server that you're moving to use SSH/Shell to restore the database.

 

Command to execute in Shell for database restore:

mysql -u root -psecret -D stocks2 < stocksdb.sql

root = your cpanel username

secret = your password

stocks2 = the database you want to restore your sql file into. This must be created already!

stocksdb.sql = the path to your .sql backup you have of your invision board. In this case the .sql would need to be placed in your / directory... just outside of public_html.

 

Execute that command in Shell and it will restore your database, then just move over your FTP files and you're good to go!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.