====== 3.1. Creating an Office 365 Backup Set with Modern Authentication ======
1. In the CloudBacko Pro main interface, click **Backup Sets**.
{{public:module:office365-v4:pro:image148.png}}
2. Click the “+” icon next to Add new backup set.
| {{public:module:office365-v4:pro:image150.png?800}} |
3. Enter a Name for your backup set and select Office 365 Backup as the Backup set type.
| {{public:module:office365-v4:pro:image152.png?800}} |
Leave the Username and Account password blank and click Test.
| {{public:module:office365-v4:pro:image154.png?800}} |
Click I understand the limitation and confirm to proceed.
| {{public:module:office365-v4:pro:image156.png?800}} |
Click Authorize to start the authentication process.
| {{public:module:office365-v4:pro:image158.png?800}} |
Sign in to your Microsoft account.
| {{public:module:office365-v4:pro:image160.png}} |
| {{public:module:office365-v4:pro:image162.png}} |
If MFA is enforced for the Office 365 user account used to authenticate the backup set, enter the code and click Verify.
| {{public:module:office365-v4:pro:image164.png}} |
The verification code is only required if the MFA status of an Office 365 account is enforced.
Copy the authorization code.
| {{public:module:office365-v4:pro:image166.png}} |
Go back to CloudBacko Pro and paste the authorization code. Click OK to proceed.
| {{public:module:office365-v4:pro:image168.png?800}} |
Test completed successfully shows when the validation is successful. Press Next to proceed to the next step.
| {{public:module:office365-v4:pro:image170.png?800}} |
4. In the Backup Source menu, select the desired Outlook, OneDrive, Personal Site, Public Folders or Site Collections for backup.
| {{public:module:office365-v4:pro:image176.png?800}} |
Or click I would like to choose the items to backup to choose the detailed items to backup. Enable the Show items checkbox at the bottom left corner if you would like to choose individual items for backup.
| {{public:module:office365-v4:pro:image178.png?800}} |
If you will select a large number of items to backup, like 1000 items, you need to click on these 1000 items to select/deselect them individually. Now there is a shortcut that you can use to lessen the burden of selecting/deselecting every 1000 item. You can select/deselect all 100 items at once by using the Shift key. As an example, we will only show how to do this by selecting only 15 users which would fit in our screen. Follow the steps below on how to do this:
i. Select the first user.
{{public:module:office365-v4:pro:image181.png}}
ii. Scroll down to the 15th user.
iii. Hold the Shift key then click the 15th user. All the 15 users are now selected.
{{public:module:office365-v4:pro:image183.png}}
Below are example screenshots for the Users, Public Folders, and Site Collections.
* Users: include Outlook, OneDrive and Personal Sites \\ {{public:module:office365-v4:pro:image185.png}}
* Public Folders: include public folders \\ {{public:module:office365-v4:pro:image187.jpg}}
* Site Collections: include Personal Sites and Site Collections \\ | {{public:module:office365-v4:pro:image189.jpg}} |
5. In the Schedule menu, configure a backup schedule for backup job to run automatically at your specified time interval. Slide the on/off button to turn on this feature, then click Add new schedule to add a new schedule, then click Next to proceed afterward.
| {{public:module:office365-v4:pro:image190.png?800}} |
| {{public:module:office365-v4:pro:image192.png?800}} |
| {{public:module:office365-v4:pro:image194.png?800}} |
In the New Backup Schedule window, configure the following backup schedule settings.
* **Name** – the name of the backup schedule.
* **Type** – the type of the backup schedule. There are four (4) different types of backup schedule: Daily, Weekly, Monthly and Custom.
**Daily** – the time of the day when the backup job will run.
| {{public:module:office365-v4:pro:image196.png}} |
**Weekly** – the day of the week and the time of the day when the backup job will run.
| {{public:module:office365-v4:pro:image198.png}} |
**Monthly** – the day of the month and the time of the day when the backup job will run.
| {{public:module:office365-v4:pro:image200.png}} |
**Custom** – a specific date and the time when the backup job will run.
| {{public:module:office365-v4:pro:image202.png}} |
* **Start backup** – the start time of the backup job.
**at** – this option will start a backup job __at a specific time__.
**every** – this option will start a backup job __in intervals of minutes or hours__.
| {{public:module:office365-v4:pro:image204.png}} |
Here is an example of backup set that has a periodic and normal backup schedule.
Figure 1.1 - Periodic schedule every 4 hours Monday - Friday during business hours
| {{public:module:office365-v4:pro:image206.png}} |
Figure 1.2 - Normal schedule run at 21:00 or 9:00 PM on Saturday & Sunday on weekend during non-business hours
| {{public:module:office365-v4:pro:image208.png}} |
* **Stop** – the stop time of the backup job. This only applies to schedules with start backup “at” and is not supported for periodic backup schedule (start backup “every”)
**until full backup completed** – this option will stop a backup job once it is complete. This is the configured stop time of the backup job by default.
**after (defined no. of hrs.)** – this option will stop a backup job after a certain number of hours regardless of whether the backup job has completed or not. This can range from 1 to 24 hrs. \\ \\ The number of hours must be enough to complete a backup of all files in the backup set. For small files in a backup, if the number of hours is not enough to back up all files, then the outstanding files will be backed up in the next backup job. However, if the backup set contains large files, this may result in partially backed up files. \\ \\ For example, if a backup set has 100GB file size which will take approximately 15 hours to complete on your environment, but you set the “stop” after 10 hours, the file will be partially backed up and cannot be restored. The next backup will upload the files from scratch again. \\ \\ The partially backed up data will have to be removed by running the data integrity check. \\ \\ As a general rule, it is recommended to review this setting regularly as the data size on the backup machine may grow over time.
* **Run Retention Policy after backup** – if enabled, the AhsayOBM will run a retention policy job to remove files from the backup destination(s) which have exceeded the retention policy after performing a backup job. \\ \\ Click the [OK] button to save the configured backup schedule settings. \\ \\ Click the [Next] button to proceed. Multiple backup schedules can be created.
6. In the Destination menu, select a backup destination where the backup data will be stored. Click the “+” icon next to Add new storage destination / destination pool.
| {{public:module:office365-v4:pro:image214.png}} |
Select storage destinations.
| {{public:module:office365-v4:pro:image216.png}} |
You can choose a storage combination of the Local/Mapped Drive/Network Drive/Removable Drive or Cloud storage. Click OK to proceed when you are done with the settings.
* If you have chosen the Local / Mapped Drive / Network Drive / Removable Drive option, click Change to browse to a directory path where backup data will be stored, then click Test to validate the path. Test completed successfully shows when the validation is done.
| {{public:module:office365-v4:pro:image218.png?600}} |
| {{public:module:office365-v4:pro:image220.png?600}} |
| {{public:module:office365-v4:pro:image222.png?600}} |
| {{public:module:office365-v4:pro:image224.png?600}} |
* If you have chosen the AWS S3 Compatible Cloud Storage, select from the destination storage then click OK. Enter the required details and click Test to validate. Test completed successfully shows when the validation is done.
| {{public:module:office365-v4:pro:image226.png?600}} |
| {{public:module:office365-v4:pro:image228.png?600}} |
| {{public:module:office365-v4:pro:image230.png?600}} |
| {{public:module:office365-v4:pro:image232.png?600}} |
You can add multiple storage destinations. The backup data will be uploaded to all the destinations you have selected in the order you added them. Press the icon to alter the order. Click Next to proceed when you are done with the selection.
| {{public:module:office365-v4:pro:image238.png?600}} |
7. In the Encryption window, the default Encrypt Backup Data option is enabled with an encryption key preset by the system which provides the most secure protection.
| {{public:module:office365-v4:pro:image240b.png?800}} |
You can choose from one of the following 2 Encryption Type options:
* **Default** – an encryption key with 44 alpha numeric characters will be randomly generated by the system
* **Custom** – you can customize your encryption key, where you can set your own algorithm, encryption key, method and key length.
| {{public:module:office365-v4:pro:image242.png?600}} |
8. If you have enabled the Encryption Key feature in the previous step, the following pop-up window shows, no matter which encryption type you have selected.
| {{public:module:office365-v4:pro:image244.png?600}} |
The pop-up window has the following three options to choose from:
**Unmask encryption key** – The encryption key is masked by default. Click this option to show the encryption key.
**Copy to clipboard** – Click to copy the encryption key, then you can paste it in another location of your choice.
**Confirm** – Click to exit this pop-up window and proceed to the next step.
9. If you have enabled the scheduled backup option, you will be prompted to enter the User Name and Password of the Windows account that will be running the backup.
| {{public:module:office365-v4:pro:image248.png?600}} |
Click Next to create the backup set.
10. The following screen is displayed when the new Office 365 backup set is created successfully. Click Close to go back to main screen.
| {{public:module:office365-v4:pro:image250.png?600}} |
11. Based on Best Practices and Recommendations, it is highly recommended to change the Temporary Directory. Select another location with sufficient free disk space other than Dive C.
Go to Others > Temporary Directory. Click Change to browse for another location.
| {{public:module:office365-v4:pro:image252.png?600}} |
12. Optional: Select your preferred Compression type. By default, the compression is Fast with optimization for local.
Go to Others > Compressions. Select from the following list:
* No Compression
* Normal
* Fast (Compressed size larger than normal)
* Fast with optimization for local
| {{public:module:office365-v4:pro:image254.png?600}} |