Where does Meltano store state? I ran a logical re...
# troubleshooting
d
Where does Meltano store state? I ran a logical replication job locally with the CLI, then scheduled an identical job in Airflow but the Airflow job did not find the incremental state from the CLI runs and began a new
logical_initial
. Is there a way I can copy that last state across in such instances?
oic the job_id in the schedule needs to match the job_id in the elt cli runs
d
@dave_lyons Meltano stores state in the System DB, which is in the
.meltano
directory if you have not configured a remote system db. You can use the
--state <state.json>
appendage on your meltano elt run. The whole command would look like this:
meltano elt <tap> <target> --state <state.json>