# snapshot.sql file in the repository dbt-core

**URL:** <https://discourse.getdbt.com/t/snapshot-sql-file-in-the-repository-dbt-core/19687>\
**Category:** Help\
**Tags:** snapshots\
**Created:** [June 20, 2025, 8:09am UTC](https://discourse.getdbt.com/t/snapshot-sql-file-in-the-repository-dbt-core/19687 "2025-06-20T08:09:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hibou](https://avatars.discourse-cdn.com/v4/letter/h/bcef8e/32.png) [@hibou](https://discourse.getdbt.com/u/hibou)\
**Post date:** [June 20, 2025, 8:09am UTC](https://discourse.getdbt.com/t/snapshot-sql-file-in-the-repository-dbt-core/19687/1 "2025-06-20T08:09:26Z")

</div>

I’m trying to understand the snapshot mechanism  
core/dbt/include/global\_project/macros/materializations/snapshot/snapshot.sql  
but the file is no longer in the repository  
Can someone tell where is the file actually ?
