Where does export command export the data on server

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.

It will be where you have started the Dgraph binary. If you are using docker(always good to contextualize upfront) the export will be inside the container.