xdmp.databaseBackupPurge( $dir as String, $keep-num-backups as Number, [$incremental-dir as String] ) as null
Purge old backups from a directory.
|$dir||The directory under which to look for backups.|
|$keep-num-backups||The maximum number of old backups to keep.|
|$incremental-dir||The directory under which to look for incremental backups.|
xdmp.databaseBackupPurge("/my/backupdir/", 10, "/my/incrementaldir"); => ()