Skip to content

Commit

Permalink
Merge pull request #21 from AsBuiltReport/dev
Browse files Browse the repository at this point in the history
v0.3.1 public release
  • Loading branch information
rebelinux authored Feb 8, 2022
2 parents af42b93 + 624ffea commit 8be36f2
Show file tree
Hide file tree
Showing 41 changed files with 2,962 additions and 300 deletions.
2 changes: 1 addition & 1 deletion AsBuiltReport.Veeam.VBR.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'AsBuiltReport.Veeam.VBR.psm1'

# Version number of this module.
ModuleVersion = '0.3.0'
ModuleVersion = '0.3.1'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down
12 changes: 11 additions & 1 deletion AsBuiltreport.Veeam.VBR.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"ShowTableCaptions": true
},
"Options": {

"BackupServerPort": 9392
},
"InfoLevel": {
"_comment_": "Please refer to the AsBuiltReport project contributing guide for information about how to define InfoLevels.",
Expand All @@ -36,6 +36,16 @@
"VI": 1,
"PHY": 1,
"FileShare": 1
},
"Storage": {
"ONTAP": 1,
"ISILON": 1
},
"Jobs": {
"Backup": 1,
"Tape": 1,
"Surebackup": 1,
"Agent": 1
}
},
"HealthCheck": {
Expand Down
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# :arrows_counterclockwise: Veeam VBR As Built Report Changelog

## [0.3.1] - 2022-02-8

### Added

- Added option to set veeam custom tcp port (BackupServerPort)
- Added Volume Format to the BackupServer/Proxy section
- Added BackupServer/Proxy Network Interface Information
- Added process network Statistics ($InfoLevel.Infrastructure.BackupServer -ge 3)
- Added Storage Infrastructure section
- Added NetApp Ontap support
- Added Dell Isilon support
- Added initial Backup Job section
- Added Tape Backup Job information
- Added SureBackup Job information
- Added Agent Backup Job information

### Changed

- Migrated Sample URL to htmlpreview.github.io

### Fixed

- Fixes Include Veeam Network Statistics in report #13
- Fixes Backup Server physical memory (GB) < 8 always returns true #14
- Fixes Add Veeam Backup\Repo Network Interface Information #15
- Fixes Add Backup Server\Repo Volume Format #16
- Fixes Add option to set veeam custom tcp port #17

## [0.3.0] - 2022-01-30

### Added
Expand Down
25 changes: 22 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Please refer to the AsBuiltReport [website](https://www.asbuiltreport.com) for m

## Sample Report - Custom Style

Sample Veeam VBR As Built report HTML file: [Sample Veeam VBR As-Built Report.html](https://technomyth.zenprsolutions.net/wp-content/uploads/2022/01/Veeam-VBR-As-Built-Report.html)
Sample Veeam VBR As Built report HTML file: [Sample Veeam VBR As-Built Report.html](https://htmlpreview.github.io/?https://raw.githubusercontent.com/AsBuiltReport/AsBuiltReport.Veeam.VBR/dev/Samples/Sample%20Veeam%20VBR%20As%20Built%20Report.html)

# :beginner: Getting Started

Expand Down Expand Up @@ -131,6 +131,10 @@ The **Report** schema provides configuration of the Veeam VBR report information

The **Options** schema allows certain options within the report to be toggled on or off.

| Sub-Schema | Setting | Default | Description |
|-----------------|--------------|---------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| BackupServerPort | TCP Port | 9392 | Used to specify the backup service's custom port

### InfoLevel

The **InfoLevel** schema allows configuration of each section of the report at a granular level. The following sections can be set.
Expand All @@ -148,7 +152,7 @@ The table below outlines the default and maximum **InfoLevel** settings for each

| Sub-Schema | Default Setting | Maximum Setting |
|--------------|:---------------:|:---------------:|
| BackupServer | 1 | 2 |
| BackupServer | 1 | 3 |
| Proxy | 1 | 3 |
| Settings | 1 | 2 |
| BR | 1 | 2 |
Expand All @@ -167,7 +171,6 @@ The table below outlines the default and maximum **InfoLevel** settings for each
| Vault | 1 | 1 |
| NDMP | 1 | 1 |

MediaPool
The table below outlines the default and maximum **InfoLevel** settings for each Inventory section.

| Sub-Schema | Default Setting | Maximum Setting |
Expand All @@ -176,6 +179,22 @@ The table below outlines the default and maximum **InfoLevel** settings for each
| PHY | 1 | 2 |
| FileShare | 1 | 1 |

The table below outlines the default and maximum **InfoLevel** settings for each Storage Infrastructure section.

| Sub-Schema | Default Setting | Maximum Setting |
|--------------|:---------------:|:---------------:|
| ONTAP | 1 | 2 |
| ISILON | 1 | 2 |

The table below outlines the default and maximum **InfoLevel** settings for each Backup Jobs section.

| Sub-Schema | Default Setting | Maximum Setting |
|--------------|:---------------:|:---------------:|
| Backup | 1 | 1 |
| Tape | 1 | 1 |
| Surebackup | 1 | 1 |
| Agent | 1 | 1 |

### Healthcheck

The **Healthcheck** schema is used to toggle health checks on or off.
Expand Down
1,313 changes: 1,313 additions & 0 deletions Samples/Sample Veeam VBR As Built Report.html

Large diffs are not rendered by default.

71 changes: 71 additions & 0 deletions Src/Private/Get-AbrVbrAgentBackupjob.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@

function Get-AbrVbrAgentBackupjob {
<#
.SYNOPSIS
Used by As Built Report to returns computer backup jobs created in Veeam Backup & Replication.
.DESCRIPTION
Documents the configuration of Veeam VBR in Word/HTML/Text formats using PScribo.
.NOTES
Version: 0.3.1
Author: Jonathan Colon
Twitter: @jcolonfzenpr
Github: rebelinux
Credits: Iain Brighton (@iainbrighton) - PScribo module
.LINK
https://github.com/AsBuiltReport/AsBuiltReport.Veeam.VBR
#>
[CmdletBinding()]
param (

)

begin {
Write-PscriboMessage "Discovering Veeam VBR Agent Backup jobs information from $System."
}

process {
try {
if ((Get-VBRComputerBackupJob).count -gt 0) {
Section -Style Heading3 'Agent Backup Jobs' {
Paragraph "The following section list agent backup jobs created in Veeam Backup & Replication."
BlankLine
$OutObj = @()
if ((Get-VBRServerSession).Server) {
$ABkjobs = Get-VBRComputerBackupJob
foreach ($ABkjob in $ABkjobs) {
try {
Write-PscriboMessage "Discovered $($ABkjob.Name) location."
$inObj = [ordered] @{
'Name' = $ABkjob.Name
'Type' = $ABkjob.Type
'OS Platform' = $ABkjob.OSPlatform
'Backup Object' = $ABkjob.BackupObject
}
$OutObj += [pscustomobject]$inobj
}
catch {
Write-PscriboMessage -IsWarning $_.Exception.Message
}
}

$TableParams = @{
Name = "Agent Backup Jobs - $(((Get-VBRServerSession).Server).ToString().ToUpper().Split(".")[0])"
List = $false
ColumnWidths = 30, 25, 15, 30
}
if ($Report.ShowTableCaptions) {
$TableParams['Caption'] = "- $($TableParams.Name)"
}
$OutObj | Table @TableParams
}
}
}
}
catch {
Write-PscriboMessage -IsWarning $_.Exception.Message
}
}
end {}

}
Loading

0 comments on commit 8be36f2

Please sign in to comment.