如何将Marklogic数据库从基于Windows的服务器迁移到基于Linux的服务器?

huangapple go评论53阅读模式
英文:

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 mlcp import 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.

huangapple
  • 本文由 发表于 2023年5月26日 16:40:54
  • 转载请务必保留本文链接:https://go.coder-hub.com/76339100.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定