This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-09-11
Channels
- # babashka (66)
- # beginners (6)
- # calva (4)
- # clerk (25)
- # cljdoc (2)
- # clojars (2)
- # clojure (22)
- # clojure-europe (20)
- # clojure-nl (1)
- # clojure-norway (19)
- # clojure-uk (2)
- # conjure (1)
- # cursive (2)
- # data-science (8)
- # datomic (14)
- # helix (1)
- # hyperfiddle (15)
- # kaocha (1)
- # lsp (4)
- # malli (12)
- # polylith (36)
- # releases (2)
- # shadow-cljs (3)
- # spacemacs (2)
- # sql (7)
- # xtdb (2)
- # yaml (2)
Is there a way to migrate between tx-log storages?
For instance I have a local tx log and then want to put it into Postgres.
Is there a guide for this?
Or should I do open-tx-history
and do it myself somehow?
I asked this question in this comment but it was too distant and technical to be understood as a proper question: https://clojurians.slack.com/archives/CG3AM2F7V/p1694322504742289
I think open-tx-log
is the way.
And then during migration I should have two databases at the same time:
(open-tx-log ^java.io.Closeable [this after-tx-id with-ops?]
"Reads the transaction log. Optionally includes
operations, which allow the contents under the ::tx-ops
key to be piped into (submit-tx tx-ops) of another
XTDB instance.