Greetings friends, I announced a few days ago that Veeam has announced Veeam Backup for Microsoft Office 365 v3.0, and with this new version many improvements, some already told you in the previous post, and others are somewhat more hidden between the RESTfulAPI and PowerShell.
Today I come to talk about a Powershell cmdlet called Measure-VBOOrganizationFullBackupSize that will allow us to know information about the organization or organizations we want to protect, without having to go to the Admin Center and review one by one the elements, as I told you in this other post.
Measure-VBOOrganizationFullBackupSize at a glance
With this new cmdlet it will literally take us a few seconds to know the full size of the organizations we want to protect, is very useful when creating repositories, and even to divide repositories by applications for example, or tenants, etc.
The syntax of this PowerShell cmdlet is as follows:
Measure-VBOOrganizationFullBackupSize -Organization <VBOOrganization> [-Proxy <VBOProxy>] [-Mailbox] [-ArchiveMailbox] [-Site] [-OneDrive] [-PersonalSite] [<CommonParameters>]
List of parameters in detail:
Parameter | Description | Required | Position | Accept Pipeline Input |
Accept Wildcard Characters |
Organization |
Specifies an organization whose backup you want to measure. |
True |
Named |
False |
False |
Proxy |
Specifies a backup proxy which will be used to render the size of the backup.
This parameter is optional. If no backup proxy is specified, the Measure-VBOOrganizationFullBackupSize cmdlet will use the default backup proxy. |
False |
Named |
False |
False |
Mailbox |
If indicated, the Measure-VBOOrganizationFullBackupSize cmdlet will enable Mailbox processing option for the measured organization backup. |
False |
Named |
False |
False |
ArchiveMailbox |
If indicated, the Measure-VBOOrganizationFullBackupSize cmdlet will enable ArchiveMailbox processing option for the measured organization backup. |
False |
Named |
False |
False |
Site |
If indicated, the Measure-VBOOrganizationFullBackupSize cmdlet will enable Sites processing option for the measured organization backup. The enabled Site parameter does not include Personal Sites into the measured backup. |
False |
Named |
False |
False |
OneDrive |
If indicated, the Measure-VBOOrganizationFullBackupSize cmdlet will enable OneDrive processing option for the measured organization backup. |
False |
Named |
False |
False |
PersonalSite |
If indicated, the enabled Site processing option will include Personal Sites for the measured organization backup. |
False |
Named |
False |
False |
Once we’ve seen all the parameters in detail, let’s see how it can be used interactively.
How to launch Measure-VBOOrganizationFullBackupSize efficiently
To launch this cmdlet, you need to install the Powershell module that Veeam Backup for Microsoft Office 365 brings with it, once we have it we will double click on the desktop:
If we launch now the command directly in PowerShell will be executed but with a warning, so I’m going to leave you the right way to do it, and is passing the name of the Organization as a variable in the following way:
$org = Get-VBOOrganization -Name YOURORGNAME Measure-VBOOrganizationFullBackupSize -Organization $org
The result in my case is as follows:
FullSize : 5.6 GB MailboxSize : 4.3 GB ArchiveMailboxSize : 0 B SiteSize : 1.3 GB PersonalSiteSize : 10.5 MB OneDriveSize : 1.2 MB
We can see this process interactively in this .gif:
You have more information here:
I recommend you to read the Whitepaper of my colleague Michele Domanico to know in great detail the best way to make an Enterprise deployment of Veeam Backup for Microsoft Office 365.
I hope you like it and it will help you, remember that there is a Community version (up to 10 free users) and a trial version of 30 days trial.
clive harris says
Hello Jorge
We have tried using this but the Data is so large that it times out.
Is there a setting we can change to stop the timeout?
Thanks
Clive
BW says
Attempted to utilize the script, and receive the following error: Measuring the estimated backup size is not supported for organizations using modern authentication.
jorgeuk says
Hello bwallace,
Yes, the Powershell cmdlet has been deprecated I am afraid, as per what you are saying. I will recommend to you to visit the next page:
https://calculator.veeam.com/vbo
And use your M365 credentials, then it will tell you, with all levels of details, the amount you will need.
Best regards