Backup not working

When issuing the backup command, curl localhost:8080/admin/backup, I get a response saying

Dgraph browser is available for running separately using the dgraph-ratel binary

I’m issuing this command from within the container that server is running on:

docker exec dgraph-server curl localhost:8080/admin/backup

How do I back up my data?

There’s no Backup option right now. You may use “/export”.

1 Like

I think I’ve been looking at outdated docs for the past hour xD. Damn google search!

Worked like a charm:

docker exec dgraph-server curl localhost:8080/admin/export


1 Like