Multiple individual snapshots

You can add 1 or more snapshot SQL files into your pipeline as a dbt block.

Add a dbt block as if you were adding a dbt model. However, select a snapshot file instead of a model file.

Bulk snapshots

Instead of adding a snapshot file to your pipeline 1 at a time, you can run the dbt snapshot command on an entire folder or exclude certain folders by doing the following:

  1. Add a dbt block and select the option labeled Generic dbt command.
  2. In the text input field labeled command, enter the value snapshot.
  3. You can optionally add the --select or --exclude flag in the body of the block.