Hello! Referring to <https://meltano.slack.com/arc...
# troubleshooting
s
Hello! Referring to https://meltano.slack.com/archives/CMN8HELB0/p1631026638078700?thread_ts=1631019588.078200&amp;cid=CMN8HELB0 Does cleaning below folder will have any effect on state of the jobs ?? (Postgres is being used on production ) and below folder is taking too much space
.meltano/run/elt/
j
I think the state is stored on the database, but don't take my word for it. I don't actually know what is in
.meltano/run/elt
a
Hi @sumit_singh by default the state from a
meltano run
is stored in
./.meltano/meltano.db
(an SQLite db) When you set a
MELTANO_DATABASE_URI
your state is saved into the postgres database specified. (NOTE - the 'meltano elt' command required you to set a state id, 'meltano run' is preferred nowadays) https://docs.meltano.com/reference/settings#database_uri To your question, you assuming your state is in postgres, you can delete
.meltano
and you will need to
meltano install
to re-create / re-install all your virtual environments that are created for each tap/target/plugin. If you are relying on meltano.db, you probably don't want to delete .meltano
s
Thanks @juan_luis_cano_rodriguez & @aaron_phethean