How to Backup Ghost on Fly.io with Rsync

10 · Curiositry · Aug. 31, 2023, 8:43 p.m.
This is yet another small companion piece to my Ghost on Fly tutorials. In my last tutorial in the series, I showed how to back up your Ghost blog hosted on Fly.io over SFTP. SFTP does the job, but transferring all those images and files every time is a waste of bandwidth — and pig-slow. Rsync is an amazing command line file synchronization utility, and a much better tool for the job. It took me a while to figure out how to scp file to and from Fly VM persistent volumes. Once I’d figured tha...