Fork me on GitHub
#datomic
<
2016-11-03
>
yonatanel09:11:57

@mbutler You probably need to flip attribute and entity when using :db.install/_attribute and actually use :db.install/attribute. See here: https://github.com/Datomic/day-of-datomic/blob/master/tutorial/schema_queries.clj

Matt Butler11:11:08

@yonatanel Awesome thanks 🙂

robert-stuttaford17:11:46

@jaret or @marshall, could you confirm that this is sufficient S3 permissions for a restore process, please?

robert-stuttaford17:11:07

i want to restore from one AWS account’s backup to another AWS account, and don’t want to give write capability to the reading account

marshall17:11:40

read only should be sufficient, but I’m not positive what specific perms that would be (other than get and list objects required for the full nested s3 bucket)

robert-stuttaford17:11:43

ok, great. i guess i will soon find out the Zen way 🙂

karol.adamiec17:11:11

@marshall can one use pull query over a REST endpoint?

marshall17:11:41

@karol.adamiec I believe you can use pull in a find specification via REST, but I’d have to double check

karol.adamiec18:11:21

if you could throw an example at me that would be great, i am having issues trying to google that

karol.adamiec18:11:59

made it work 🙂

karol.adamiec18:11:03

[:find [(pull ?e [*]) ...] :in $ :where [?e :bracket/name "GT-C1"] ]

karol.adamiec18:11:13

@marshall so i q like above, how do i get all entities that do have attr :bracket/name?

robert-stuttaford18:11:29

:where [?e :bracket/name] is valid datalog

karol.adamiec18:11:48

i tried putting in _ :slightly_smiling_face:

karol.adamiec18:11:08

_ works as well. lost a bracket ]. Argh.

robert-stuttaford18:11:13

@marshall or @jaret; curious: does there need to be a running transactor while restoring?

jaret18:11:33

@robert-stuttaford :dev and :free storages currently require a running transactor during restore, because storage resides inside the transactor process.

jaret18:11:55

on other storages

jaret18:11:27

all system processes can be down, run restore, then start transactor and peers