- Create the new VPS
- Create a backup file from the existing site and download it to local machine.
- Copy the contents of app.yml from the old server to a local file or in notepad.
- Point your domain to the new VPS IP, or switch in the public IP you already had on your VPS provider if that’a a feature
- Make sure docker installed on your new VPS (follow their guide to install it as required)
- Follow the standard install instructions up to the point but not including the discourse setup script
- Create the app.yml file in the containers directory (
touch app.yml
) and paste in the contents from your old VPS using something likenano
-
./launcher app rebuild
on the new server - use
rake admin:create
from the Discourse directory to give you an admin account - login, set Allow Restore to true on settings, upload your backup you created earlier and restore.
- Check everything is good.
- Delete the old VPS after a time.
Done.