--mongosh-keep-temp-name

Last updated: April 30, 2026

Indicates the name of a temporary SQL file after the execution of Mongosh. If no file name is specified, a name is automatically generated.

Syntax

You can set this parameter in the following ways:

Option

Syntax

Global CLI parameter

--mongosh-keep-temp-name=<string>

Liquibase properties file (defaults file)

liquibase.mongosh.keep.temp.name: <string>

Global flow file argument (example)

globalArgs: { mongosh-keep-temp-name: "<string>" }

JVM system property (JAVA_OPTS environment variable)

JAVA_OPTS=-Dliquibase.mongosh.keep.temp.name=<string>

Liquibase environment variable

LIQUIBASE_MONGOSH_KEEP_TEMP_NAME=<string>