A more graceful Ghost backup

Thanks to Fayimora.com for showing me how trivial it is to host static files on ghost. Now, rather than scp to another server, I can tar on my Ghost host and download over HTTP(S).

sudo mkdir /var/www/static;
sudo tar -zcf /var/www/static/images.tar.gz /var/www/ghost/content/images;
sudo vim /etc/nginx/sites-enabled/ghost;

    location /static/ {    
        alias /var/www/static/;  

Now I can save crow1170.com/static/images.tar.gz in the same place as export.json.

PS: There's definitely a way to get that json in the same tar... just got to look in closer when I have more time.