dbt-labs / dbt-labs/docs.getdbt.com

Call out which resource types are cloned or not

Open
#4,908 0 comments 0 reactions 0 assignees View on GitHub
content improvement
Dominant language
JavaScript
Stars
215
Forks
1.2k
Avg merge
1d 15h
Merged PRs (30d)
130

Description

### Contributions

- [x] I have read the contribution docs, and understand what's expected of me.

### Link to the page on docs.getdbt.com requiring updates

https://docs.getdbt.com/reference/commands/clone

### What part(s) of the page would you like to see updated?

It would be good to specify which resource types are cloned and which are not.

Here's a rule of thumb:
- if dbt creates a database object for the node during `dbt build`, then it will be included in `dbt clone`
- if dbt does **not** create a database object for the node during `dbt build`, then it will **not** be included in `dbt clone`

Cloned:
- snapshot
- model - incremental
- model - materialized_view
- model - view
- model - table
- seed

Not cloned:
- model - ephemeral
- source
- analysis

### Additional information

Instigated by https://github.com/dbt-labs/dbt-core/issues/9550

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.