MarkLogic Server 11.0 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");
=>
()
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.