Fork me on GitHub
#datomic
<
2018-03-08
>
Desmond05:03:56

when i restore after deleting my database it doesn't actually copy the segments and I end up with data that was in the deleted database but not in the backed up one. why is this? how can I delete my database for reals and then restore fresh data?

marshall12:03:41

any data that gets skipped in the restore should be the “same” as the corresponding data in the backup - all the segments are immutable

marshall13:03:48

however, if you need to blow away all the segments for other reasons, you can run gc-deleted-dbs (https://docs.datomic.com/on-prem/capacity.html#garbage-collection-deleted) after you delete the database. Depending on your storage you may then also have to do something like a VACUUM FULL operation

Desmond05:03:41

very interesting. i'll check this out. thanks for the tip!