This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-07-14
Channels
- # aleph (3)
- # announcements (1)
- # babashka (36)
- # babashka-sci-dev (4)
- # beginners (62)
- # biff (2)
- # calva (13)
- # cider (4)
- # clj-kondo (6)
- # cljdoc (17)
- # clojure (142)
- # clojure-dev (6)
- # clojure-europe (62)
- # clojurescript (20)
- # core-async (26)
- # cursive (18)
- # data-oriented-programming (9)
- # data-science (1)
- # datahike (18)
- # events (4)
- # fulcro (4)
- # graalvm (2)
- # hyperfiddle (15)
- # interop (1)
- # jobs-discuss (8)
- # leiningen (2)
- # lsp (91)
- # malli (1)
- # missionary (11)
- # nbb (65)
- # off-topic (50)
- # practicalli (2)
- # programming-beginners (4)
- # re-frame (18)
- # remote-jobs (1)
- # shadow-cljs (53)
- # spacemacs (1)
- # specter (2)
- # sql (17)
- # tools-build (63)
- # web-security (1)
- # xtdb (15)
Is there a migration tool for the datahike db dumps? I have a dump from 0.4 and this cannot be read from 0.5. Alternatively, is it safe to read db created with 0.4 with 0.5 ? This way I could use a datahike file store db to import the old dump with 0.4 version and then export a new dump with 0.5 version.
I think the import from 0.4 to 0.5 is not working currently. Maybe @UB95JRKM3 can help?!
Hi @UCSJVFV35, how did you create the dump? Currently 0.5 is not able to read the old version since with the konserve change with 0.5 the storage layout has changed in order to use GC on the index fragments. I'm currently writing a commandline script to export any version to a temporary nippy format and import it with the latest version. Would that be something that would help you?
Hi @UB95JRKM3 yes this would help a lot!
I have a lot of issues with dump and restore: https://github.com/replikativ/datahike/issues/531
I made a little production app with datahike. And I use the dump feature to make a backup of the database once a week.
Typically I have to edit the dump, remove the transactions which cause the import to stop, store
It might be related to the fact, that I have redefined (expanded, not changed) the schema a couple of times, as I was developing the app.
I think currently only the last fields that I have added to the schema are making problems.
Hi @UB95JRKM3 Any luck with your script?