Flyway Deploy Save Snapshot Setting
Published 11 November 2025
Description
Takes a snapshot of the target database on
deployment success and stores it.
The resulting snapshot will be stored in the snapshot history table in the target database by default, although this can
be configured using
snapshot.filename.
This setting is equivalent to running the snapshot command after the current deploy command.
Type
Boolean
Default
false
Usage
Flyway Desktop
This can't be added to a configuration file via Flyway Desktop.
Command-line
./flyway deploy -saveSnapshot=true
TOML Configuration File
[flyway.deploy]
saveSnapshot = true