How to restore a backup?

Greetings,

I am trying to familiarize myself with Ghost CMS and made a backup of my site using the ghost backup command, which generated a .zip file containing the site’s data. After extracting the file onto a VPS and running ghost start, I encountered an error stating that this is not a Ghost installation.

I noticed that the .zip file only contains folders such as theme, settings, data, files, images, and media, but it does not include any configuration files.

Does anyone know how I can restore the backup and get my site back to a functional state?

Thanks in advance!

Make sure you’ve got the ghost cli installed on the new vps, then ‘ghost install’ in the folder where you want it, then ghost import.

Directions here:

Note: As I wrote recently, this still isn’t a full backup & restore. You’ll lose API keys, member newsletter subscriptions (if you have more than one newsletter), tiers, and all comments.

1 Like

Hi, i have the ghost-cli installed, if i run ghost install in an empty folder i will get a fresh installation but the ghost start in the backuped up folder doesnt work.

That’s not how ghost backup works. See the ‘how to reinstall Ghost’ link above, starting from ‘Install Ghost’ and ‘Import your Backup Data’. The backup doesn’t contain Ghost the executable. It just contains the data (well… some of it anyway) necessary to reconstitute your website after you’ve installed Ghost.

1 Like