Fork me on GitHub

Is there some established or off-the-shelf solution to "rename" a Datomic Cloud DB? I would be fine with downtime and I don't mind losing the :db/txInstant values either, so some kind of dump and restore operation would be perfectly suitable.


Hi I'm trying to start a local ddb transactor and connect to it

~/datomic/datomic-pro-1.0.6316 $ ./bin/transactor ../
Starting datomic:<DB-NAME> ...
System started datomic:<DB-NAME>
(def cfg {:server-type :peer-server
          :access-key "myaccesskey"
          :secret "mysecret"
          :endpoint "localhost:8000"
          :validate-hostnames false})

(require '[datomic.client.api :as d])

(def client (d/client cfg))

(def conn (d/connect client {:db-name  "<DB-NAME>"}))
=> Unrecognized SSL message, plaintext connection?
do you know what I do wrong? How do I configure "<DB-NAME>" ?


The client api connects to a peer server not a transactor. The “DBNAME” in your client config is set to whatever you want in the command line args that start the peer server.


Your complete system should have at least four processes running if you are using on-prem with the client api: dynamodb local, transactor, peer-server, and the client application


ah I see I don't have a peer server yet


if you’re using on-prem, you could cut this down to two: transactor with “dev” storage (transactor acts as storage too), and an application using the peer (vs client) api


Ah do you mean something like this?: I already played around with that (it worked) now I'd like to make it work on aws


now I have this error when I try to connect a peer to my transactor


I went on to skip the local setup and made it work on aws now