[MarkLogic Dev General] Backup/restore security database from Windows to RedHat
mike at blakeley.com
Mon Nov 28 15:00:04 PST 2011
XQSync is at https://github.com/marklogic/xqsync but... since this is the Security database, I think it would be safer to write a script that creates the security entities that you need, using the security API. The two databases won't have the same ids for their users and roles, but your code shouldn't depend on that anyway.
On 28 Nov 2011, at 14:56 , Danny Sokolsky wrote:
> Databases are not compatibly between platforms. You will have to use something like xqsync for this.
> From: general-bounces at developer.marklogic.com [mailto:general-bounces at developer.marklogic.com] On Behalf OfMariano Grau Calín
> Sent: Monday, November 28, 2011 2:55 PM
> To: general at developer.marklogic.com
> Subject: [MarkLogic Dev General] Backup/restore security database from Windows to RedHat
> Hi all,
> We have a fresh installation of MarkLogic 4.0-9 on RHEL 5.6 and want to restore security database from the same version on Windows 2003.
> Following these steps:
> 1 Backup security database on Windows 2003
> 2 Zip backup folder
> 3 Copy zip to RedHat
> 4 Unzip file
> 5 Restore security database on RedHat
> No errors are reported on restore, but users and roles do not appear in the new server.
> Mariano Grau
> mgrau @ grupojoly.com
> Dpto. Sistemas
> Grupo Joly
> General mailing list
> General at developer.marklogic.com
More information about the General