MarkLogic 12 EA 1 Product Documentation
xdmp.databaseJournalArchivePurgexdmp.databaseJournalArchivePurge(
dir as String,
[incremental-dir as String],
[journal-archive-path as String]
) as null
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.databaseJournalArchivePurge("/my/backupdir/", "/my/incrementaldir");
=>
()
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.