xdmp:forest-backup(
$forestID as xs:unsignedLong,
$pathname as xs:string
) as empty-sequence()
Summary
Backs up forest data files.
Parameters
forestID
A forest ID.
pathname
A forest backup pathname. If the directory does not exist, it is
created when you run this function. The filesystem permissions must be
such that the directory is writable by the
operating system user under which MarkLogic Server is running. The
directory cannot be the MarkLogic Server install directory or the
MarkLogic Server data directory.
Required Privileges
This operation requires at least one of the following privileges:
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.