
admin.forestMinutelyBackup( backup-dir as String, backup-period as Number ) as element(as.forestBackup)
This function constructs a scheduled forest backup on a number-of-minutes basis.
| Parameters | |
|---|---|
| backup-dir | The directory to save the backup. | 
| backup-period | The number of minutes to elapse between each backup | 
  
  const admin = require('/MarkLogic/admin.xqy');
  const config = admin.getConfiguration()
      admin.forestMinutelyBackup("/backupDir", 45)
   //returns the minutely forest backup specification. 
   
  
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.