I’m running dgraph on a single node, single replica kubernetes cluster. So i’ve got this:

To create a binary backup i do the following steps:
- Create an interactive shell in the alpha pod with the following command:
kubectl exec -it dgraph-alpha-0 -- /bin/bash
- Then i run the backup command as stated in the docs:
curl -XPOST localhost:8080/admin/backup -d "destination=s3://s3.us-east-2.amazonaws.com/<bucket-name>"
This command returns successful, and when i check the amazon bucket a folder is created as seen in my initial comment.
- Then to test if the backup capabilites are working i delete all the indexes using the ratel dashboard, and run the following command to restore it:
dgraph restore -p /var/db/dgraph -l s3://s3.us-east-2.amazonaws.com/<bucket-name>
but this command fails with the following error:
i try fixing the error by creating the missing directories, and on retrying the restore backup command, it’s successful:
Please note before i ran the backup there where over 80,000 nodes.

