I was trying to Export Database https://docs.dgraph.io/deploy/#export
I’m using Docker and the Dgraph version is: 1.0.11;
Here is the problem:
when I run: 【$ docker exec 3b0 dgraph alpha --whitelist 172.17.0.0:172.20.0.0,192.168.1.1 --lru_mb 4096】
I got :【IP range must have a lower and upper bound
】,I’m not sure if you can see the picture so I post the err meg also,the picture is below
and I tried【$ docker exec 3b0 dgraph alpha --whitelist 172.17.0.0:172.20.0.0 --lru_mb 4096】
and I got:【Error while creating badger KV WAL store error: resource temporarily unavailable
Cannot acquire directory lock on “w”. Another process is using this Badger database.
】,and the picture is below
Thank you very much.
I’ve successfully export the database as you said 【Go inside that container and execute the export command there.】
But the CIDR format --whitelist 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 isn’t work,
still got the IP range must have a lower and upper bound tip.
Though it doesn’t matter for me anymore since I’v got my database exported, but I’m still curious about that.