英文:
How can I migrate a Marklogic database from a Windows-based server to a Linux-based server?
问题
可以考虑将约2TB的数据从基于Windows的MarkLogic数据库迁移到基于Linux的服务器,考虑到从Windows到Linux的平台更改。如果可以的话,您能否提供涉及该过程的步骤?
英文:
Is it possible to migrate approximately 2TB of data from a Windows-based MarkLogic database to a Linux-based server, considering the platform change from Windows to Linux? If so, could you please provide the steps involved in the process?
答案1
得分: 1
有一些迁移到Linux的选项:
- MLCP复制 使用mlcp的
copy
命令,当两者都可以在网络上访问时,从一个MarkLogic Server数据库复制内容和相关元数据到另一个数据库。 - MLCP存档 使用mlcp的
export
命令,输出类型为archive,创建一个包含内容和元数据的数据库存档。您可以使用mlcp的import
命令将存档复制到另一个数据库或恢复数据库内容。
通常,备份和恢复是移动数据的最简单方法。然而,MarkLogic备份文件是特定于平台的。在给定平台上备份应该只能恢复到相同的平台上。因此,当从Windows迁移到Linux时,备份和恢复不是一个好的选择。
英文:
There are a few options to migrate from Windows to Linux:
- MLCP copy Use the mlcp
copy
command to copy content and associated metadata from one MarkLogic Server database to another when both are reachable on the network. - MLCP archive Use the mlcp
export
command with an output type of archive to create a database archive that includes content and metadata. You can use the mlcpimport
command to copy the archive to another database or restore database contents.
Normally, backup and restore is the easiest way to move data. However, MarkLogic backup files are platform specific. Backups on a given platform should only be restored onto the same platform. So, backup and restore isn't a good option when changing from Windows to Linux.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论