# Failure when running dgraph export

**URL:** <https://discuss.dgraph.io/t/failure-when-running-dgraph-export/2875>\
**Category:** Dgraph\
**Created:** [July 11, 2018, 5:52pm UTC](https://discuss.dgraph.io/t/failure-when-running-dgraph-export/2875 "2018-07-11T17:52:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![leomalt](https://avatars.discourse-cdn.com/v4/letter/l/c0e974/32.png) [@leomalt](https://discuss.dgraph.io/u/leomalt)\
**Post date:** [July 11, 2018, 5:52pm UTC](https://discuss.dgraph.io/t/failure-when-running-dgraph-export/2875/1 "2018-07-11T17:52:43Z")

</div>

When I run the following command:  
`curl localhost:8080/admin/export`

I get the following failure:  
`{"errors":[{"code":"Export status: FAILED for group id: 1","message":"Export failed."}]}`

Mind you this is new. I was able to run export as late as a few hours ago. Tried restarting zero and server. Not sure how to recover from this.

---

<div class="post-metadata">

**Author:** ![tamethecomplex](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/tamethecomplex/32/496_2.png) [@tamethecomplex](https://discuss.dgraph.io/u/tamethecomplex)\
**Post date:** [July 11, 2018, 8:43pm UTC](https://discuss.dgraph.io/t/failure-when-running-dgraph-export/2875/2 "2018-07-11T20:43:27Z")

</div>

Hi @leomalt, what version are you running? if 1.0.6, were you using a version previously where exports worked reliably / as expected?

I submitted an issue here: [Export fails on v1.0.6 · Issue #2478 · dgraph-io/dgraph · GitHub](https://github.com/dgraph-io/dgraph/issues/2478) but closed as I didn’t have detailed enough information to provide a useful repro, and I hadn’t yet heard of anyone else experiencing the problem. But if this issue is new for you on 1.0.6, maybe I’ll re-open the issue and reference this thread.

What do your zero and server logs look like at the time of export? Are there any error messages there?

---

<div class="post-metadata">

**Author:** ![leomalt](https://avatars.discourse-cdn.com/v4/letter/l/c0e974/32.png) [@leomalt](https://discuss.dgraph.io/u/leomalt)\
**Post date:** [July 16, 2018, 3:29pm UTC](https://discuss.dgraph.io/t/failure-when-running-dgraph-export/2875/3 "2018-07-16T15:29:19Z")

</div>

@tamethecomplex thanks for your reply. I just checked the logs. There was nothing in the logs when running backup. But I do think it was related to this issue [Upgrade from 1.0.4 to 1.0.6 crash and data loss - #14 by mrjn](http://discuss.hypermode.com/t/upgrade-from-1-0-4-to-1-0-6-crash-and-data-loss/2868/14) b/c we had a similar crash as reported in that thread soon after.
