简体   繁体   English

Gentics Mesh - 将项目从一个实例导入/导出到另一个实例

[英]Gentics Mesh - Import / Export project from one instance to another

Gentics Mesh Version: v1.4.8 Gentics 网格版本:v1.4.8

Question:题:

Is it possible to export a specific project with all the schemas/micro-schemas definition associated to it and the all nodes contribute from one instance of Gentics mesh and to import to another one?是否可以导出一个特定项目及其关联的所有模式/微模式定义,并且所有节点都来自 Gentics 网格的一个实例并导入到另一个实例?

What I would like to achieve is to export a project with its data from Gentics Mesh instance A (dev) to another Gentics Mesh instance B (prod).我想要实现的是将一个项目及其数据从 Gentics Mesh 实例 A (dev) 导出到另一个 Gentics Mesh 实例 B (prod)。

What I've tried:我试过的:

I tried to export/import using the API described (export/import).我尝试使用API 描述的导出/导入(导出/导入)。 The export from instance A seems to be fine, generating this gzip json file.从实例 A 导出似乎没问题,生成了这个 gzip json 文件。 I'm placing this file into the instance B at location /data/export and launching the import.我将此文件放入位置 /data/export 的实例 B 并启动导入。 The logs seems OK.日志似乎没问题。 However as soon as I access the interface, I keep getting an infinite loop of pop up error message (because of 404s).但是,一旦我访问该界面,我就会不断收到无限循环的弹出错误消息(因为 404)。

If I'm not getting wrong, the export feature is exporting the all content of the graphDB?如果我没记错的话,导出功能是导出 graphDB 的所有内容? Is there a way to export only a part of it?有没有办法只导出其中的一部分? Like a specific project.就像一个特定的项目。 If this feature doesn't exist, what should I custom implement in order to achieve this?如果此功能不存在,我应该自定义实现什么以实现此目的?

Partial import/export is currently not possible.目前无法进行部分导入/导出。 We are already tracking this feature request via https://github.com/gentics/mesh-incubator/issues/77我们已经通过https://github.com/gentics/mesh-incubator/issues/77跟踪此功能请求

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM