Skip to main content

snapshot-paths

dbt_project.yml
snapshot-paths: [directorypath]

Definition

Optionally specify a custom list of directories where snapshots are located. Note that you cannot co-locate models and snapshots.

Default

By default, dbt will search for snapshots in the snapshots directory, i.e. snapshot-paths: ["snapshots"]

Examples

Use a subdirectory named archives instead of snapshots

dbt_project.yml
snapshot-paths: ["archives"]
0