# Export dev-local data and import to datomic on-premise

**URL:** <https://forum.datomic.com/t/export-dev-local-data-and-import-to-datomic-on-premise/2098>\
**Category:** Datomic Cloud\
**Created:** [June 16, 2022, 10:05pm UTC](https://forum.datomic.com/t/export-dev-local-data-and-import-to-datomic-on-premise/2098 "2022-06-16T22:05:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lmt](https://avatars.discourse-cdn.com/v4/letter/l/c68b51/32.png) [@lmt](https://forum.datomic.com/u/lmt)\
**Post date:** [June 16, 2022, 10:05pm UTC](https://forum.datomic.com/t/export-dev-local-data-and-import-to-datomic-on-premise/2098/1 "2022-06-16T22:05:12Z")

</div>

Hi all,

I have my app developed with dev-local since months and now I would like to move all the data to an on-premise datomic instance to check infra integration and for a quick demo. Rebuild the whole dataset is possible but involves a lot of manual step and setup around.

Is there a tool / procedure to export dev-local like a backup and restore it elsewhere ?  
I have found documentation about how to import into dev-local but nothing for export.

Thanks for your help,  
Triet

---

<div class="post-metadata">

**Author:** ![jaret](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.datomic.com/jaret/32/45_2.png) [@jaret](https://forum.datomic.com/u/jaret)\
**Post date:** [August 5, 2022, 6:27pm UTC](https://forum.datomic.com/t/export-dev-local-data-and-import-to-datomic-on-premise/2098/2 "2022-08-05T18:27:23Z")

</div>

Hi Triet,

I know this is a late response and apologies for that. I wanted there to be an official response for users who might come across this post.

There is currently no tooling for moving a dev-local DB to on-prem. The [import-cloud](https://docs.datomic.com/cloud/dev-local.html#import-cloud) procedure is designed for cloud DBs and specifically to move them from cloud to your local machine.

Because dev-local is best for small, single process applications. You can solve this problem in user spacer to move over the data from a dev local system to a on-prem system, but you would have to write an ETL job using an approach of using [tx-range](https://docs.datomic.com/client-api/datomic.client.api.html#var-tx-range) to identify transactions and then transact over those transactions to a new DB in on-prem.

Thanks,  
Jaret
