MarkLogic 12 EA 1 Product Documentation
xdmp:database-journal-archive-purgexdmp:database-journal-archive-purge(
$dir as xs:string,
[$incremental-dir as xs:string],
[$journal-archive-path as xs:string]
) as empty-sequence()
Summary
Purge journal archive before last incremental backup from a directory.
Parameters |
dir |
The directory under which to look for backups.
|
incremental-dir |
The directory under which to look for incremental backups. Defaults to the backup data
directory.
|
journal-archive-path |
The directory under which to look for journal archive.
|
Required Privileges
This operation requires at least one of the following privileges:
http://marklogic.com/xdmp/privileges/xdmp-database-backup-purge
http://marklogic.com/xdmp/privileges/xdmp-database-backup-purge/database/{id}
Example
xdmp:database-journal-archive-purge("/my/backupdir/", "/my/incrementaldir")
=>
()
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.