# Export duration

**URL:** <https://discuss.dgraph.io/t/export-duration/10914>\
**Category:** Dgraph\
**Tags:** kind:question\
**Created:** [October 13, 2020, 7:38am UTC](https://discuss.dgraph.io/t/export-duration/10914 "2020-10-13T07:38:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulrostorp](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/paulrostorp/32/1091_2.png) [@paulrostorp](https://discuss.dgraph.io/u/paulrostorp)\
**Post date:** [October 13, 2020, 7:38am UTC](https://discuss.dgraph.io/t/export-duration/10914/1 "2020-10-13T07:38:00Z")

</div>

When triggering an export via [https://dgraph.io/docs/deploy/dgraph-administration/#exporting-database](https://dgraph.io/docs/deploy/dgraph-administration/#exporting-database), is the export always completed when the graphql response is received ? With my local database I’m currently getting a successful response very quickly, and I’m wondering if that would be the case for larger databases, or if at some point the export becomes a background job

---

<div class="post-metadata">

**Author:** ![rajas](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/rajas/32/4393_2.png) [@rajas](https://discuss.dgraph.io/u/rajas)\
**Post date:** [October 13, 2020, 2:43pm UTC](https://discuss.dgraph.io/t/export-duration/10914/2 "2020-10-13T14:43:10Z")

</div>

In case of larger databases, the graphql response will take time (a few minutes) to return. Currently, the export job does not become a background job. The feature to make long running tasks run in background has been asked before. There is an RFC for the same over [here](http://discuss.hypermode.com/t/rfc-graphql-api-for-long-running-tasks/10634).

---

<div class="post-metadata">

**Author:** ![paulrostorp](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/paulrostorp/32/1091_2.png) [@paulrostorp](https://discuss.dgraph.io/u/paulrostorp)\
**Post date:** [October 13, 2020, 3:18pm UTC](https://discuss.dgraph.io/t/export-duration/10914/3 "2020-10-13T15:18:04Z")

</div>

Perfect answer thanks
