# Rebuild an incremental model while keeping the older version

**URL:** https://discourse.getdbt.com/t/rebuild-an-incremental-model-while-keeping-the-older-version/7302
**Category:** Help
**Tags:** incremental, materialization
**Created:** [March 15, 2023, 4:39am UTC](https://discourse.getdbt.com/t/rebuild-an-incremental-model-while-keeping-the-older-version/7302 "2023-03-15T04:39:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![xiangshi.yin](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/xiangshi.yin/32/2064_2.png) [@xiangshi.yin](https://discourse.getdbt.com/u/xiangshi.yin)
#### Post date: [March 15, 2023, 4:39am UTC](https://discourse.getdbt.com/t/rebuild-an-incremental-model-while-keeping-the-older-version/7302/1 "2023-03-15T04:39:56Z")

</div>

## The problem I’m having

I know we could use the `--full-refresh` option for `dbt run` to rebuild the data table from the beginning of time and wipe out all the records from the previous model runs. Is it possible to rebuild from scratch while still keep the previous table records such that I could query both model versions? Thanks!

## The context of why I’m trying to do this

We are dealing with an evolving business logic for the data modeling work. Whenever there is a newer version of business logic, we would need to rebuild the data model. We’d like to maintain a stack of different model versions such that we could always revisit older version logic for the purpose of debug and making comparisons of model output.

---

<div class="post-metadata">

### Author: ![a\_slack\_user](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/a_slack_user/32/1629_2.png) [@a\_slack\_user](https://discourse.getdbt.com/u/a_slack_user)
#### Post date: [March 15, 2023, 5:14am UTC](https://discourse.getdbt.com/t/rebuild-an-incremental-model-while-keeping-the-older-version/7302/2 "2023-03-15T05:14:58Z")

</div>

Right now, this isn’t possible within core dbt constructs but will be soon [https://github.com/dbt-labs/dbt-core/discussions/6736](https://github.com/dbt-labs/dbt-core/discussions/6736)

The only way right now is to manually name your models and do it that way.

Note: `@Josh Devlin (he)` originally [posted this reply in Slack](https://getdbt.slack.com/archives/CBSQTAPLG/p1678857285145329?thread_ts=1678855220.982159&cid=CBSQTAPLG). It might not have transferred perfectly.
