Question: Good Day

When you are inside the wordpress ctrl panel, and you edit/create posts, do theme changes etc, where does Wordpress store all that content? In which files?

Thank you

Answer: 
WordPress does not save anything in files. All settings are stored in your database, normally the `options` table. Posts are stored in `posts` and `postmeta`.

You can have a look at the [Database Description](http://codex.wordpress.org/Database_Description) to get a better understanding.
If your theme is called *my-theme* the configuration is stored as serialized PHP object in a option name called theme\_mods\_*my-theme* in the `wp_options` table in your Wordpress database.
Use any Database editor tool to execute the query:

```
SELECT * FROM `wp_options` WHERE `option_name` LIKE 'theme_mods_%'

```

with will return all the customizations for every theme you have in your wordpress install.

Export the query results to a SQL plain text file. Then, when you update your theme, you import your SQL file again and voilà, you have your customizatons again.