As-Build Report Veeam - Guide for an easy installation



Show first post

43 comments

Your license has not expired, has it?  I would not think so but wonder if it does a check when running the report or something?  I have not studied it in depth but wondered.  Hopefully @jcolonfzenpr can answer.

Yeah, it would be good to validate that the license is not expired.

 

Can you run the following commands so I can determine which cmdlet is causing the error?
 

# Connect to VBR server

Connect-VBRServer -Server veeam-backup.domain.local -User "username" -Password "password"


Get-VBRNASServer



Get-VBRUnstructuredServer



Get-VBRProtectionGroup
Userlevel 7
Badge +5

Hi All.

Great tool but how can I manage with multiple proxies in workgroup ? Each time ASBuild try to connect to the proxy I have an error saying : 

VMware Backup Proxies Hardware/Software Inventory: Unable to connect to ...
VMware Backup Proxies Services Status Section: Unable to connect to ….

Thanks for your help

Regards

What do you means with “proxies in workgroup” ?
You mean that each proxy has different access credentials?

Userlevel 1

Hi All.

Great tool but how can I manage with multiple proxies in workgroup ? Each time ASBuild try to connect to the proxy I have an error saying : 

VMware Backup Proxies Hardware/Software Inventory: Unable to connect to ...
VMware Backup Proxies Services Status Section: Unable to connect to ….

Thanks for your help

Regards

What do you means with “proxies in workgroup” ?
You mean that each proxy has different access credentials?

Each proxy is in a workgroup not in an ActiveDirectory so yes different access credentials.

Userlevel 1

Hi All.

Great tool but how can I manage with multiple proxies in workgroup ? Each time ASBuild try to connect to the proxy I have an error saying : 

VMware Backup Proxies Hardware/Software Inventory: Unable to connect to ...
VMware Backup Proxies Services Status Section: Unable to connect to ….

Thanks for your help

Regards

What do you means with “proxies in workgroup” ?
You mean that each proxy has different access credentials?

Each proxy is in a workgroup not in an ActiveDirectory so yes different access credentials.

@BROUSSEY do you execute PS under Veeam Power Shell console ?

Much better. Thanks a lot 😋

Userlevel 4
Badge +1

Thank you for the content. I will be adding these recommendations to make it easier to use the report. I am working on a GUI made in C# for the AsBuiltReport.Veeam.VBR project that allows to generate these reports in an easier way.

Additionally I have been working on improving the report content and also adding support for drawing VEEAM B&R infrastructure diagrams.

Stay tuned...

Hi @jcolonfzenpr 

It is really impressive. Did you finish the tools I can’t wait to try it.

 

Thanks

The tool is Veeam.Diagrammer and it source code is located here:

https://github.com/rebelinux/Veeam.Diagrammer

 

From version 0.8.3 onwards the AsBuiltReport.Veeam.VBR report can generate diagrams if the "EnableDiagrams" option is set to true.

 

 

There is still a lot of work to be done to generate a complete infrastructure diagram. But for now there are several diagrams type that can be generated. I am interested in adding support for Cloud Connect but the license I was using for this purpose expired :(

Stay tuned...

Userlevel 4
Badge +1

Hi,

I tried to generate the report by following all the steps in the above article also I downloaded all the module required but still stuck in below error 

New-AsBuiltReport : The term 'Document' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ New-AsBuiltReport -Report Veeam.VBR -Target 172.17.2.180 -Username 17 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-AsBuiltReport

 

I tried to troubleshoot and check lot of sites but still no luck, so what I am missing ?

Userlevel 4
Badge +1

This is the command that I used and I double check with the article 

 

New-AsBuiltReport -Report Veeam.VBR -Target 172.17.2.180 -Username 172.17.2.180\administrator -Password P@ssw0rd -Format Html,Word -OutputFolderPath ‘C:\VeeamReports’ -ReportConfigFilePath C:\VeeamReports\CustomReportConf.json -Verbose

 

Could you please chek?

Userlevel 4
Badge +1

As I told you I copied the example command and changed only the red parts thats why I am sure that it is the same. I spent more than 3 hours to figure it out but with no luck even I restarted the process from the beginning step by step also without luck.  

This is the second time someone has reported that error, but without access to the logs I can't do much.

Can you open an issue on github and attach the versose log?

https://github.com/AsBuiltReport/AsBuiltReport.Veeam.VBR/issues

Thanks!

 

Can you run the following commands so I can determine which cmdlet is causing the error?
 

# Connect to VBR server

Connect-VBRServer -Server veeam-backup.domain.local -User "username" -Password "password"


Get-VBRNASServer



Get-VBRUnstructuredServer



Get-VBRProtectionGroup

Hi Jonathan,

here is the actual output.


PS C:\Users\Administrator> Connect-VBRServer -Server veeam-backup -User "xxx" -Password "xxx"

PS C:\Users\Administrator> Get-VBRNASServer
WARNUNG: This cmdlet is obsolete, use Get-VBRUnstructuredServer instead.

PS C:\Users\Administrator> Get-VBRUnstructuredServer

PS C:\Users\Administrator> Get-VBRProtectionGroup
Get-VBRProtectionGroup : Current license does not allow this operation
In Zeile:1 Zeichen:1
+ Get-VBRProtectionGroup
+ ~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Get-VBRProtectionGroup], LicenseException
    + FullyQualifiedErrorId : System.ComponentModel.LicenseException,Veeam.Backup.PowerShell.Cmdlets.GetVBRProtectionGroup

 

Just to let you know that in version 0.8.5 the bug has been fixed and added many many new features!

## [0.8.5] - 2024-03-15

### Added

- Added Option => History section
- Improved Role & Users section
  - Added Global MFA settings
  - Added Auto logoff on inactivity setting
  - Added Four-eye Authorization setting
  - Added HealthCheck conditions
- Added Backup Time Duration table to the Jobs Summary. Close [#144](https://github.com/AsBuiltReport/AsBuiltReport.Veeam.VBR/issues/144)
- Added Restore point reporting. Close [#143](https://github.com/AsBuiltReport/AsBuiltReport.Veeam.VBR/issues/143)
- Added Automatically disable Windows Firewall option to the SureBackup verification section

### Changed

- Removed Graphviz install check code. (No need to manually install Graphviz)
- Code Cleanup
- Increased Veeam.Diagrammer module requirement to v0.5.9

### Fixed

- Improved error handling on the Diagram section.
- Fixed issue with the Veeam.Diagrammer module.
- Resolved issue that prevented SureBackup Virtual Lab information to be collected. Fix [#142](https://github.com/AsBuiltReport/AsBuiltReport.Veeam.VBR/issues/142)
- Resolved issue in the Malware Global Exclusions section. Fix [#145](https://github.com/AsBuiltReport/AsBuiltReport.Veeam.VBR/issues/145)
- Resolved an issue related to Protection Group licensing. Fix [#146](https://github.com/AsBuiltReport/AsBuiltReport.Veeam.VBR/issues/146)


 

 

Userlevel 7
Badge +20

Very nice updates and additions.  Time to test this new release.  😎

Hi Christopher,

When this error appears, does the script abruptly terminate without generating the report or is it completely generated and it is just a warning message?

Have a nice day.

Userlevel 7
Badge +20

Your license has not expired, has it?  I would not think so but wonder if it does a check when running the report or something?  I have not studied it in depth but wondered.  Hopefully @jcolonfzenpr can answer.

Yeah, it would be good to validate that the license is not expired.

Thanks, was just a thought and maybe not relevant but I check everything.  😁

Userlevel 7
Badge +20

Hi,

I tried to generate the report by following all the steps in the above article also I downloaded all the module required but still stuck in below error 

New-AsBuiltReport : The term 'Document' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ New-AsBuiltReport -Report Veeam.VBR -Target 172.17.2.180 -Username 17 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-AsBuiltReport

 

I tried to troubleshoot and check lot of sites but still no luck, so what I am missing ?

Based on the error your syntax seems incorrect.  Check the examples above in the OP and model your commands from there.  I have done the same thing many times and need to remind myself to put the syntax in the proper format.

Userlevel 7
Badge +20

This is the command that I used and I double check with the article 

 

New-AsBuiltReport -Report Veeam.VBR -Target 172.17.2.180 -Username 172.17.2.180\administrator -Password P@ssw0rd -Format Html,Word -OutputFolderPath ‘C:\VeeamReports’ -ReportConfigFilePath C:\VeeamReports\CustomReportConf.json -Verbose

 

Could you please chek?

Based on this it looks correct from the example above.  Is there a space with the dash and password command?  I know web formatting is funky some times LOL

Example -

New-AsBuiltReport -Report Veeam.VBR -Target 192.168.1.2 -Username 192.168.1.2\administrator -Password P@ssw0rd -Format Html,Word -OutputFolderPath 'C:\VeeamReports' -ReportConfigFilePath C:\VeeamReports\CustomReportConf.json -Verbose

Based on this everything looks right even the single quotes.  Maybe @jcolonfzenpr can address this.

Userlevel 7
Badge +20

As I told you I copied the example command and changed only the red parts thats why I am sure that it is the same. I spent more than 3 hours to figure it out but with no luck even I restarted the process from the beginning step by step also without luck.  

Sounds good.  Hopefully the OP will reply when he has time.

Comment