curl 'localhost:7000/admin/export?format=json'
![](https://img.haomeiwen.com/i14111047/8ee287f8bf1876cb.png)
然后执行
docker exec -ti dgraph bash
dgraph live -f g01.rdf.gz
dgraph live -s g01.schema.gz
这三个命令是导出数据的,会生成P t w zw的文件好像,我也不懂,反正说这么执行就行
![](https://img.haomeiwen.com/i14111047/c3c93363efe70a69.png)
![](https://img.haomeiwen.com/i14111047/2729338aa5afdd41.png)
curl 'localhost:7000/admin/export?format=json'
然后执行
docker exec -ti dgraph bash
dgraph live -f g01.rdf.gz
dgraph live -s g01.schema.gz
这三个命令是导出数据的,会生成P t w zw的文件好像,我也不懂,反正说这么执行就行
本文标题:怎么拿数据
本文链接:https://www.haomeiwen.com/subject/xkficjtx.html
网友评论