MarkLogic 10 Product Documentation
xdmp.databaseJournalArchivePurge

xdmp.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");
=>
()
Powered by MarkLogic Server | Terms of Use | Privacy Policy