如何导出/导入 OrientDB 转储并保留 ID [英] How to export/import OrientDB dumps and retain IDs

查看:44
本文介绍了如何导出/导入 OrientDB 转储并保留 ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我导出并重新导入我的 OrientDB 数据库时,ID 不会保留(导入命令似乎只是分配新的 ID),这使得快照有点无用.如何确保 ID 保持一致?

When I export and re-import my OrientDB database, the IDs aren't retained (the import command seems to just assign new IDs), which makes the snapshotting kind of useless. How do I ensure that the IDs are kept consistent?

推荐答案

使用:-preserveClusterIDs = true https://orientdb.com/docs/last/Console-Command-Import.html

Use: -preserveClusterIDs = true https://orientdb.com/docs/last/Console-Command-Import.html

这篇关于如何导出/导入 OrientDB 转储并保留 ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆