By yoeld on
Hello,
I am looking on advices on how to migrate my website from development on my local host using WAMP, to my VPS. I considered several options like installing everything from scratch on the VPS, until copying all the files and database and uploading it on the VPS.
What is the best option?
Thanks, Yoel
Comments
On your WAMP computer:Create
On your WAMP computer:
Create a back up of your database.
Create an archive of your Drupal directory.
Transfer to your VPS.
On your VPS:
Create the database <-this may not be necessary, depending on how you created the back up. You can open the backup file and see if there is a create database statement in beginning.
Create the user and grant the appropriate permissions.
For the above, make sure the database, user and password match what you had in your WAMP environment. You can check settings.php for the info. If you wish to use other values, make sure you update settings.php.
Extract the archive in the directory you've configured your VPS webserver from which to serve the site. If you haven't configured your webserver, do so and restart it.
Check permissions.