Backup Job Wizard for Microsoft 365: Options
On the Options page, you can specify the job’s name, define pre and post actions, and limit the Transporter load. Proceed as described in these sections:
- Job Options
- Pre and Post Job Actions
- Data Transfer
- Completing the New Backup Job Wizard for Microsoft 365
Job Options
Enter a name for the job into the Job name box.
Pre and Post Job Actions
NAKIVO Backup & Replication provides you with the ability to enable certain actions before a backup job begins and after it has completed. You can choose to send job run reports and run local pre and post job scripts. For more information, refer to Pre and Post Job Scripts .
Email Notifications
NAKIVO Backup & Replication can send email notifications on job completion status to specified recipients. This feature complements global notification and provides you with the ability to configure notifications on a per-job level.
Note
To enable this option, configure your email settings. For details, refer to Notifications & Reports .
To send email notifications, select Send job run reports to and specify one or more email addresses in the text box. The semi-colon character (;) should be used to separate multiple email addresses.
Pre Job Script
To run a script before the product begins backing up your items, do the following:
-
Place a script file on the machine where the Director is installed.
-
Select the Run local pre job script option.
-
Specify the following parameters in the dialog box that opens:
-
Script path: Specify a local path to the script on the machine where the Director is installed. The script interpreter should be specified.
Example (Windows): cmd.exe /c D:\script.batExample (Linux): bash /root/script.sh
-
Job behavior: Choose one of the following job behaviors in relation to script completion:
-
Wait for the script to finish: When selected, the backup is started only after the script is completed.
-
Do not wait for the script to finish: When selected, the product runs the script and starts backing up your items at the same time.
-
-
Error handling: Choose one of the following job behaviors in relation to script failure:
-
Continue the job on script failure: When selected, the product performs the backup job even if the script has failed.
-
Fail the job on script failure: When this option is selected and the script fails, the job fails and the backup is not performed.
-
-
Post Job Script
To run a script after the product has finished backing up all items, do the following:
-
Place a script file on the machine where the Director is installed.
-
Select the Run local post job script option.
-
Specify the following parameters in the dialog box that opens:
-
Script path: Specify a local path to the script on the machine where the Director is installed. The script interpreter should be specified.
Example (Windows): cmd.exe /c D:\script.batExample (Linux): bash /root/script.sh
-
Job behavior: Choose one of the following job behaviors in relation to script completion:
-
Wait for the script to finish: When selected, the job remains in the “running” state until the script is completed.
-
Do not wait for the script to finish: When selected, the job is completed even if the script execution is still in progress.
-
-
Error handling: Choose one of the following job behaviors in relation to script failure:
-
Continue the job on script failure: When this option is selected, script failure does not influence the status of the job.
-
Fail the job on script failure: When this option is selected and the script fails, the job status is set to “failed” even if backup has been successful.
-
-
Note
Pre and post job scripts can be executed only on the machine on which the Director is installed.
Data Transfer
In the Data Transfer section, you can specify a Transporter load.
Transporter Load
You can limit the maximum number of Transporter tasks used by the job. By default, the number is set to 3 concurrent tasks. For a Microsoft 365 backup job, one task is equal to processing one mailbox or one OneDrive instance.
To change the default number of tasks, do the following:
-
In the Data Transfer section, select the Limit transporter load to checkbox.
-
Specify the number of concurrent tasks in the corresponding box.
Completing the New Backup Job Wizard for Microsoft 365
Click Finish or Finish & Run to complete the job creation.
Note
If you click Finish & Run, you will have to define the scope of your job.