admin:forest-monthly-backup( $backup-dir as xs:string, $backup-period as xs:positiveInteger, $backup-month-day as xs:unsignedInt, $start-time as xs:time ) as element(as:forest-backup)
This function constructs a monthly scheduled backup.
xquery version "1.0-ml"; import module namespace admin = "http://marklogic.com/xdmp/admin" at "/MarkLogic/admin.xqy"; admin:forest-monthly-backup("/backup-dir", 1, 1, xs:time("09:45:00")) (: returns the monthly backup specification :)