gpt4 book ai didi

arangodb - 如何在 arangoDB 中备份/转储图形结构

转载 作者:行者123 更新时间:2023-12-04 01:25:01 26 4
gpt4 key购买 nike

有没有办法转储 arangoDB 数据库的图形结构,因为
不幸的是,arangodump 只是转储边和集合的数据。

最佳答案

根据文档,为了转储所有集合(包括系统集合)的结构信息,您运行以下命令

arangodump --dump-data false --include-system-collections true --output-directory "dump"

如果您不希望包含系统集合,则不要提供参数(默认为 false)或提供 false 值。

集合的结构和数据是如何转储的,见下文 documentation

Structural information for a collection will be saved in files with name pattern .structure.json. Each structure file will contains a JSON object with these attributes:

parameters: contains the collection properties

indexes: contains the collection indexes

Document data for a collection will be saved in files with name pattern .data.json. Each line in a data file is a document insertion/update or deletion marker, alongside with some meta data.

关于arangodb - 如何在 arangoDB 中备份/转储图形结构,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35149456/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com