I want to take backup of dgraph database in community edition.
I have executed the curl command : curl --location --request POST ‘http://localhost:8080/admin’ --header ‘Content-Type: application/json’ --data-raw '{“query”:“mutation {\n export(input: {format: “json”}) {\n response {\n message\n code\n }\n }\n}”,“variables”:{}}'
Got a success response as well.
But my query is where exactly is the backup created on my machine and how can I use it to import again in future. Any help will be appreciated.