Restoring the Backup

I am trying to restore a backed-up Ghost to a new installation.

I have the zip file which contains the content folder.

zip/content$ ls -a
.  ..  data  files  images  media  settings  themes

I am using the docker-compose file present in the installation.

After the docker containers are up.

559ab67b0099   ghost:5-alpine   "docker-entrypoint.s…"   About an hour ago   Up About an hour   0.0.0.0:8080->2368/tcp, :::8080->2368/tcp, 0.0.0.0:8081->2369/tcp, :::8081->2369/tcp   ghos-ghost-1
80797ee05a5d   mysql:8.0        "docker-entrypoint.s…"   About an hour ago   Up About an hour   3306/tcp, 33060/tcp                                                                    ghos-db-1

I entered the ghos-ghost-1 and manually got the zip file inside and replaced it with the content folder and restarted the Ghost.
I can see my zip’s content in the /content folder.
But when I try the localhost:8080 I still see the basic Ghost get started page.

What am I doing wrong?
Please help if possible.

So you moved the images, but you didn’t actually move the database. Keep what you did, but also have the old Ghost install export content and settings (it’s under settings > labs if you have an older version, or settings > migrations for a newer one), and then load that into the new Ghost install (settings > migrations).

1 Like