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
This would usually be set over the command-line. It can be set in the toml, although it would apply to all environments which might not be desirable.
[flyway.deploy]
saveSnapshot = true