I deployed my Clojure app to AWS and I also have Datomic Transactor(EC2) with DynamoDB when my users started to use my app something happened after a while and Datomic Transactor rebooted(for some reason), my app became unresponsive so I re-started my application server(to re-establish transactor connection) then there were no users data, no data at all!?

I was using same URI("datomic:ddb://us-east-1/my-table/my-db"), also I don't call delete-db or some function like that.

I only call d/create-database and d/connect for connecting to Datomic.

It happened me on development but I did not care that time because I thought I did something wrong or something like that.

How can I restore that old data?

P.S: Also I can see that DynamoDB table has some storage size like 900KB I assume some how my data in there? There were just couple of users tho.

My Datomic Version: "0.9.5561"

Here is my code:

(defn establish-conn [] (try ;conf/get returns DB URI like: "datomic:ddb://us-east-1/my-table/my-db" (d/create-database (conf/get :db-uri)) (reset! conn (d/connect (conf/get :db-uri))) (catch Throwable t (log/error "Could not establish db conn." t))))

Also I have this code for recovering connection from Transactor failure/unavailable etc.