How to restore using ghost.db

Posted May 11, 2017 2.6k views

Hey all!

Trying to get my Ghost blog back up online after some random crash but am having some trouble here. I’ve got a full backup of it (both here on DO as a droplet snapshot AND backup, as well as everything from /ghost/content/), but restoring the droplet didn’t fully work - I’ve got the blog up and running but none of my old content is there, I had to set up a new Ghost user and everything :S

Which seems weird since everything IS intact, content wise. The blog’s theme and cover image are still there, though only the theme has actually been recognized and recovered, and my ghost.db still has all my blog updates for the past 4 years.

So, how can I get Ghost to read/import the ghost.db and get my content back??


These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi @ConraDargo
You’ll probably find more experts in the Ghost community:

When you have a snapshot in DigitalOcean and you restore that snapshot, then it restores the entire server (meaning everything) to the exact state of the droplet from whenever the snapshot was taken.

  • Hi @hansen!

    Unfortunately I can’t get it working properly regardless of whether I restore a snapshot or just a backup. Possibly because the snapshot was created from a backup? ‘cause I don’t have any snapshots from the time when my blog could be accessed.

    I’ll try reaching out to the people in the Ghost community as well, thanks!