Hi Pradeep,

 

The /backups/SAMP-DATABASE/ directory must exist and be readable and
writable by daemon (or whatever user MarkLogic is running as) in order
for the backup to succeed.  In some cases, the parent directory must be
writable too.

 

-Danny

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Pradeep
Maddireddy
Sent: Wednesday, February 18, 2009 4:31 PM
To: General Mark Logic Developer Discussion
Subject: [MarkLogic Dev General] database backup

 

Hi..!

 

 

To take a backup of database I ran the following query.

 

xdmp:database-backup(

xdmp:database-forests(xdmp:database("SAMP-DATABASE")),

"/backups/SAMP-DATABASE/")

 

I received the following error even though I have created  the directory
"/backups/SAMP-DATABASE/"

XDMP-NODIR: xdmp:database-backup(xs:unsignedLong("8752803170035468648"),
"/backups/SAMP-DATABASE/") -- No such directory

 

Thanks in Advance,

 

Pradeep Maddireddy

_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to