Moving Ghost CMS Between Servers
Old Server (using AWS)
- Log into admin site
- Copy Code Injections
- Go to Labs
- Export
content
- Download
redirects
- Download
routes.yaml
- log into server
cd /var/www/ghost/content
zip -r images.zip images/*
- exit server
- move to folder to download
scp -i path-to-file.pem <username>@<server-ip>:/var/www/ghost/content/images.zip .
New Server
- move to folder with images
scp ./images.zip <username>@<server-ip>:/var/www/ghost/content/
- log into server
cd /var/www/ghost/content/
rmdir images/
unzip -o images.zip