'up' = SQLite to Postgres, 'down' = Postgres to SQLite.
OptionalconnectionPostgres connection string.
OptionaldataDirectory holding the SQLite .db files. Created if missing.
OptionalkeepUpward only: keep the local .db files after a successful migration.
OptionalonHow to handle a target that already has data in it.
OptionalonCalled with human readable progress lines. Handy for piping into your own logger.
OptionalreconnectReconnect on the target engine once the data has moved (up => cloud, down => local),
reusing the current collector settings. Set false to leave the DAL closed.
Options for DAL.swapEngine => same as EngineSwapOptions, except the paths & connection string default to whatever this DAL was connected with.