[MarkLogic Dev General] Backup/restore security databasefrom Windows to RedHat
Mariano Grau Calín
mgrau at grupojoly.com
Tue Nov 29 01:49:30 PST 2011
The number of users and roles is not very high and we'll can do it manually.
However, content database has 100 gb and need restore in new platform.
We can use xqsync with garanties?
De: general-bounces at developer.marklogic.com en nombre de Michael Blakeley
Enviado el: mar 29/11/2011 0:00
Para: General MarkLogic Developer Discussion
Asunto: Re: [MarkLogic Dev General] Backup/restore security databasefrom Windows to RedHat
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
General mailing list
General at developer.marklogic.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 3991 bytes
Desc: not available
Url : http://developer.marklogic.com/pipermail/general/attachments/20111129/c71a2f72/attachment.bin
More information about the General