# How to regenerate the cooked column from the raw

**URL:** https://meta.discourse.org/t/how-to-regenerate-the-cooked-column-from-the-raw/61484
**Category:** Support
**Created:** [24 Abril, 2017 06:15 UTC](https://meta.discourse.org/t/how-to-regenerate-the-cooked-column-from-the-raw/61484 "2017-04-24T06:15:10Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [24 Abril, 2017 06:24 UTC](https://meta.discourse.org/t/how-to-regenerate-the-cooked-column-from-the-raw/61484/2 "2017-04-24T06:24:03Z")

</div>

To regenerate cooked HTML for a single post you can use `Rebuild HTML` button on posts menu.

To rebake all old posts in forum

```plaintext
cd /var/discourse
./launcher enter app
rake posts:rebake

```

> [@Rebake all posts matching a pattern](https://meta.discourse.org/t/rebake-all-posts-matching-a-pattern/48713):
>
> bookmark This guide provides instructions on how to rebake all posts in Discourse that match a specific string or regular expression, utilizing the Rails console for additional advanced options. person_raising_hand Required user level: Administrator warning Console access required Want to rebake all the posts matching a string or regular expression? Let’s get started! Accessing your site To begin, connect to your Discourse Droplet via SSH and enter the Docker container for your Disc…

---

_[View the full topic](https://meta.discourse.org/t/how-to-regenerate-the-cooked-column-from-the-raw/61484)._
