Moving Ghost CMS Between Servers

Moving Ghost CMS Between Servers
Photo by Christina @ wocintechchat.com / Unsplash

Old Server (using AWS)

  1. Log into admin site
  2. Copy Code Injections
  3. Go to Labs
  4. Export content
  5. Download redirects
  6. Download routes.yaml
  7. log into server
  8. cd /var/www/ghost/content
  9. zip -r images.zip images/*
  10. exit server
  11. move to folder to download
  12. scp -i path-to-file.pem <username>@<server-ip>:/var/www/ghost/content/images.zip .

New Server

  1. move to folder with images
  2. scp ./images.zip <username>@<server-ip>:/var/www/ghost/content/
  3. log into server
  4. cd /var/www/ghost/content/
  5. rmdir images/
  6. unzip -o images.zip

Ghost's instructions