The fastest way to move your files to our server is to use
rsync. Log in to your existing host using SSH and run the following commands.
cd /path/to/webroot pwd
This will output the full path to your webroot folder, which we will use later.
Dump your database
Find your database login information by running the following command:
This will output your
wp-config to screen so that you can easily copy and paste the username, database name and password in the next step:
mysqldump -u DB_USERNAME -p DB_NAME > moving.sql
Replace “DB_USERNAME” with the database username and “DB_NAME” with the database name.
This will export your database into a single SQL file, that can be moved with the other files.
Moving the files
Now login to your new host with the credentials you have received by email.
ssh [email protected] rsync -aP [email protected]:/path/to/old/webroot /public/
You will be prompted to fill in the password to the host. Copy the password, and press ENTER. The files should now be syncing to the your new Servebolt Bolt.
Let’s move to the next step, which is to set up your site on your new Servebolt Bolt.