Fork me on GitHub
#datomic
<
2019-07-11
>
conan10:07:33

Hi, we need to run some data migrations in Datomic Cloud. How would you go about this? We're thinking that Ions may be the solution, is that the right approach?

shaun-mahood16:07:57

@conan I've done a bunch of migrations from local databases to the cloud just using the socks-proxy. https://youtu.be/oOON--g1PyU is a great reference for how you could approach the problem.

conan16:07:07

So I need to transform data in the way I would do using db functions in on-prem. If i read data, calculate txes and write them, i may leave my data in an inconsistent state

chrisblom21:07:50

would using :db/cas be an option, to check that the state is still valid?

conan16:07:31

It's not entirely clear to me how I do this in cloud