# Recover Blog Content from the ghost directory

**URL:** <https://forum.ghost.org/t/recover-blog-content-from-the-ghost-directory/14649>\
**Category:** Developer help\
**Created:** [May 25, 2020, 12:01pm UTC](https://forum.ghost.org/t/recover-blog-content-from-the-ghost-directory/14649 "2020-05-25T12:01:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![plezna](https://avatars.discourse-cdn.com/v4/letter/p/3e96dc/32.png) [@plezna](https://forum.ghost.org/u/plezna)\
**Post date:** [May 25, 2020, 12:01pm UTC](https://forum.ghost.org/t/recover-blog-content-from-the-ghost-directory/14649/1 "2020-05-25T12:01:07Z")

</div>

My AWS instance just crashed or it’s not working on the web. But, I am able to connect to it via SSH and can see all the files and installations. I am new to ghost, I need to know where my published blog posts are stored and if I can retrieve those ? Please help

---

<div class="post-metadata">

**Author:** ![Hannah](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/hannah/32/22_2.png) [@Hannah](https://forum.ghost.org/u/Hannah)\
**Post date:** [May 25, 2020, 12:17pm UTC](https://forum.ghost.org/t/recover-blog-content-from-the-ghost-directory/14649/2 "2020-05-25T12:17:33Z")

</div>

How did you install Ghost? Did you use Ghost-CLI? What configuration did you use?

The answer to your question is dependent on how you set Ghost up.

---

<div class="post-metadata">

**Author:** ![plezna](https://avatars.discourse-cdn.com/v4/letter/p/3e96dc/32.png) [@plezna](https://forum.ghost.org/u/plezna)\
**Post date:** [May 25, 2020, 12:29pm UTC](https://forum.ghost.org/t/recover-blog-content-from-the-ghost-directory/14649/3 "2020-05-25T12:29:20Z")

</div>

@Hannah I have installed ghost using aws marketplace using bitnami stack

---

<div class="post-metadata">

**Author:** ![Hannah](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/hannah/32/22_2.png) [@Hannah](https://forum.ghost.org/u/Hannah)\
**Post date:** [May 25, 2020, 1:58pm UTC](https://forum.ghost.org/t/recover-blog-content-from-the-ghost-directory/14649/4 "2020-05-25T13:58:38Z")

</div>

I am not sure how Bitnami works or where it installs files or what database it uses.

Unless you know how it’s configured - e.g. whether you used MySQL or SQLite and what your Ghost install folder is and can share details of the configuration, I can’t help.

You’d probably need to speak to Bitnami support to find out what went wrong.

---

<div class="post-metadata">

**Author:** ![plezna](https://avatars.discourse-cdn.com/v4/letter/p/3e96dc/32.png) [@plezna](https://forum.ghost.org/u/plezna)\
**Post date:** [May 25, 2020, 2:42pm UTC](https://forum.ghost.org/t/recover-blog-content-from-the-ghost-directory/14649/5 "2020-05-25T14:42:50Z")

</div>

@Hannah thanks for you reply again.  
So bitnami installs all ghost files using below structure

 ![Screen Shot 2020-05-25 at 8.10.44 PM](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/9/949e99bc567673971c7a6d974c9ef73b3bf5c4cb.png)  
If you could get an idea of where the blog content could be.  
Also, it uses MySQL as a database.

---

<div class="post-metadata">

**Author:** ![Hannah](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/hannah/32/22_2.png) [@Hannah](https://forum.ghost.org/u/Hannah)\
**Post date:** [May 25, 2020, 3:05pm UTC](https://forum.ghost.org/t/recover-blog-content-from-the-ghost-directory/14649/6 "2020-05-25T15:05:42Z")

</div>

So your data will be in the mysql database, and assets (theme, images, settings) will be in the content folder.

The file `config.production.json` contains all the connection settings for the DB.

Looks like it’s using Ghost CLI under the hood - CLI docs and knowledge base are all here:

> **[Ghost-CLI - A fully loaded tool for installation and configuration](https://ghost.org/docs/ghost-cli/)**
>
> The best way to install, manage, and update your site locally or when self-hosting Ghost. A full guide for our advanced CLI tool.
