We are undertaking a review of our backup storage as we need to build a business case for potential future options cloud / air gap
What we need to do is produce a report of all our VMs, how much space their backups currently take up on disk so we can split them down into live VMs / test VMs
Through Veeam it is easy enough to report on repository total size, used space, free space but not an easy way to dig down into a per VM basis and export a report
Are there any possible solutions? Veeam One perhaps? (I suspect we wouldn't get funding for this at the moment however so either the 30 day trial or community edition but I think that would only cover 10 VMs?)
I could of course just go into Windows file explorer and report on the repository folder sizes for each backup but that starts to get confusing as individual VM backups can be spread out across multiple volumes due to us using SOBR
-
- Enthusiast
- Posts: 37
- Liked: 6 times
- Joined: Jun 04, 2019 3:01 pm
- Contact:
-
- Product Manager
- Posts: 14836
- Liked: 3082 times
- Joined: Sep 01, 2014 11:46 am
- Full Name: Hannes Kasparick
- Location: Austria
- Contact:
Re: Backup storage reporting
Hello,
I guess some people will come up with some powershell scripts, so I leave the topic in the VBR section of the forum.
In general, you are right, Veeam ONE is the way to go. Some reports come up into my mind first
- Backup Billing https://helpcenter.veeam.com/docs/one/r ... ml?ver=100
- Backups on Repository https://helpcenter.veeam.com/docs/one/r ... ml?ver=100
The trial should cover more than 10 VMs (when I did a trial for the last time it was 32 sockets)
Best regards,
Hannes
I guess some people will come up with some powershell scripts, so I leave the topic in the VBR section of the forum.
In general, you are right, Veeam ONE is the way to go. Some reports come up into my mind first
- Backup Billing https://helpcenter.veeam.com/docs/one/r ... ml?ver=100
- Backups on Repository https://helpcenter.veeam.com/docs/one/r ... ml?ver=100
The trial should cover more than 10 VMs (when I did a trial for the last time it was 32 sockets)
Best regards,
Hannes
-
- Veeam Software
- Posts: 2010
- Liked: 669 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Backup storage reporting
When it comes to Powershell, you can start with the script below:
Cheers!
Code: Select all
$backups_stat = @()
$jobs = Get-VBRJob
foreach ($job in $jobs) {
$backup = Get-VBRBackup -Name $job.Name
$repo = $backup.GetRepository()
$files = $backup.GetAllStorages()
if ($repo.Type -eq 'ExtendableRepository') {
foreach ($file in $files) {
$backups_stat += $file | select FilePath, @{n='Backup Size';e={$_.Stats.BackupSize}}, `
@{n='Data Size';e={$_.Stats.DataSize}}, @{n='Repository';e={$repo.Name}}, `
@{n='Repository Type';e={'Scaleout'}}
}
}
else {
foreach ($file in $files) {
$backups_stat += $file | select FilePath, @{n='Backup Size';e={$_.Stats.BackupSize}}, `
@{n='Data Size';e={$_.Stats.DataSize}}, @{n='Repository';e={$repo.Name}}, `
@{n='Host Name';e={$repo.Host.Name}}, @{n='Repository Type';e={$repo.Type}}
}
}
}
Who is online
Users browsing this forum: AdsBot [Google], d.artzen, Google [Bot], lando_uk, orb, Semrush [Bot] and 176 guests