--mongosh-keep-temp-path

Last updated: April 30, 2026

Specify the path in which to store the temporary files after the execution of Mongosh. If not specified, the files will be stored in the system's temp directory.

Syntax

You can set this parameter in the following ways:

Option

Syntax

Global CLI parameter

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

Liquibase properties file (defaults file)

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

Global flow file argument (example)

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

JVM system property (JAVA_OPTS environment variable)

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

Liquibase environment variable

LIQUIBASE_MONGOSH_KEEP_TEMP_PATH=<string>