# Backing up shared instance of Dgraph Cloud

**URL:** <https://discuss.dgraph.io/t/backing-up-shared-instance-of-dgraph-cloud/14695>\
**Category:** Dgraph\
**Tags:** backup-and-restore\
**Created:** [June 22, 2021, 9:43pm UTC](https://discuss.dgraph.io/t/backing-up-shared-instance-of-dgraph-cloud/14695 "2021-06-22T21:43:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LuskeyNoah](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/luskeynoah/32/8472_2.png) [@LuskeyNoah](https://discuss.dgraph.io/u/LuskeyNoah)\
**Post date:** [June 22, 2021, 9:43pm UTC](https://discuss.dgraph.io/t/backing-up-shared-instance-of-dgraph-cloud/14695/1 "2021-06-22T21:43:48Z")

</div>

## What I want to do

I want to take backups of our database (that is in a shared instance of Dgraph cloud) periodically. I don’t care if it’s manual, I also don’t really care where the backup ends up. I just want to know that I have a backup I could easily restore.

## What I did

- Ratel backup panel - couldn’t get it to work, but possibly I’m doing something silly
- The export mutation (seems to not work if you’re not a Guardian of the Galaxy user)?
- Exported all data using a HUGE query, which works, but makes re-importing a question for the future

## Dgraph metadata

Dgraph Cloud, shared instance  
v21.03.0-56-gc900f96b3

---

<div class="post-metadata">

**Author:** ![aman-bansal](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/aman-bansal/32/4475_2.png) [@aman-bansal](https://discuss.dgraph.io/u/aman-bansal)\
**Post date:** [June 23, 2021, 3:13pm UTC](https://discuss.dgraph.io/t/backing-up-shared-instance-of-dgraph-cloud/14695/2 "2021-06-23T15:13:10Z")

</div>

Hi @LuskeyNoah  
Backup functionality is restricted for shared instances. In dgraph cloud, all shared instances are part of one High Availability cluster provisioned with rich resources. And we backup this cluster incrementally every 4 hours and full backup every week. So you need not to worry too loose data as it will always be backed up within 4 hours. In case of any issues or restore you can raise support ticket we will help with Point in Time recovery of your backend.

Secondly export operations in general are restricted over dgraph backend because they can be exploited by malicious users. Hence to provide more control over these operations we have rework export a bit for shared instances. You can refer this [documentation](https://dgraph.io/docs/cloud/admin/import-export/#exporting-data) for more details. Do remember that you can only perform this operation **once every hour**. Once exported the best way to restore is using live loader. You can find more instructions [here](https://dgraph.io/docs/cloud/admin/import-export/#importing-data-with-live-loader)

I hope this answers your concerns.

---

<div class="post-metadata">

**Author:** ![LuskeyNoah](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/luskeynoah/32/8472_2.png) [@LuskeyNoah](https://discuss.dgraph.io/u/LuskeyNoah)\
**Post date:** [June 23, 2021, 8:59pm UTC](https://discuss.dgraph.io/t/backing-up-shared-instance-of-dgraph-cloud/14695/3 "2021-06-23T20:59:27Z")

</div>

Thank you!
