Fork me on GitHub
#datomic
<
2020-02-04
>
okilimnik01:02:09

hey, I create datomic cloud bucket backups every day, and now I'm trying to restore the data from some point. If I stop datomic instances and just replace bucket's content, I still see the latest data, not only from the , for example, 3 days ago backup. Or to re-create Cloudformation stacks is the only way?

lanejo0109:02:01

I'm 90% positive you will not be able to restore a datomic cloud instance from s3 backups alone. If you re-create the stack you will likely LOSE the information because you are not taking dynamodb into account with your s3 backups. Dynamodb contains the tx-log, which I'm pretty sure you don't get with the s3 bucket backups alone. Since you currently still have the dynamodb tx-log from today (not truncated to 3 days ago, and I'm not suggesting to truncate it), it makes sense that you are getting back information from today from dynamodb.

dmarjenburgh15:02:22

EFS also serves as an additional caching layer which might explain why you still see the latest data.

jaret14:02:36

If you’ve had any failed deploys due to sync-libs failed to complete in 120 seconds Please check out our latest ion-dev release where we have upped the timeout on sync-libs: https://forum.datomic.com/t/ion-dev-0-9-251/1346

quieterkali21:02:36

Hey Folks, is there a way to tell to datomic to inc a value in the database, based on whatever value it will found there? Context: I just want to inc an attribute value in datomic, without have to inc in application level. I want that to happen in datomic to avoid dealing with concurrence, cas.

ghadi21:02:44

not sure if you are doing on-prem vs cloud, but the details differ slightly

ghadi21:02:57

there's also a built in cas db fn

ghadi21:02:39

that's the same link but for on-prem

quieterkali13:02:15

Sorry for not saying thank you yesterday. Thank yiu very much for the help 🙂