Skip to main content

Hello,

 

As you may know I have been working for some time with several tools to document or diagram the Veeam Backup & Replica Infrastructure.

 

In the latest version of Veeam.Diagrammer the ability to generate a diagram of the infrastructure has been added.

 

Here is the link:

https://techmyth.blog/posts/veeam-diagraming-infra/

 

Greetings from the Caribbean :)

 

Could you run these cmdlet and send me the logs again?

update-Module Diagrammer.core -force    

update-Module Veeam.Diagrammer -force

Import-Module Diagrammer.Core -Force 

Import-Module Veeam.Diagrammer -Force

 Enable powershell debugging:

$global:VerbosePreference = 'Continue'
$global:DebugPreference = 'Continue'
Start-Transcript -Path .\Output.log
New-VeeamDiagram -Target <-- change this part -->
Stop-Transcript

The commands generate the Output.log file which you can send to me at:

jcolonf@zenprsolutions.com

After saving the log, reset powershell to default settings:

$global:VerbosePreference = 'SilentlyContinue'
$global:DebugPreference = 'SilentlyContinue'

 


Could you run these cmdlet and send me the logs again?

update-Module Diagrammer.core -force    

update-Module Veeam.Diagrammer -force

Import-Module Diagrammer.Core -Force 

Import-Module Veeam.Diagrammer -Force

 Enable powershell debugging:

$global:VerbosePreference = 'Continue'
$global:DebugPreference = 'Continue'
Start-Transcript -Path .\Output.log
New-VeeamDiagram -Target <-- change this part -->
Stop-Transcript

The commands generate the Output.log file which you can send to me at:

jcolonf@zenprsolutions.com

After saving the log, reset powershell to default settings:

$global:VerbosePreference = 'SilentlyContinue'
$global:DebugPreference = 'SilentlyContinue'

 

Ran those commands and created a new log which was emailed.  The report seem to generate this time but there was still a message in the log.  Let me know if there is anything else required.  @jcolonfzenpr 


Could you run these cmdlet and send me the logs again?

update-Module Diagrammer.core -force    

update-Module Veeam.Diagrammer -force

Import-Module Diagrammer.Core -Force 

Import-Module Veeam.Diagrammer -Force

 Enable powershell debugging:

$global:VerbosePreference = 'Continue'
$global:DebugPreference = 'Continue'
Start-Transcript -Path .\Output.log
New-VeeamDiagram -Target <-- change this part -->
Stop-Transcript

The commands generate the Output.log file which you can send to me at:

jcolonf@zenprsolutions.com

After saving the log, reset powershell to default settings:

$global:VerbosePreference = 'SilentlyContinue'
$global:DebugPreference = 'SilentlyContinue'

 

Ran those commands and created a new log which was emailed.  The report seem to generate this time but there was still a message in the log.  Let me know if there is anything else required.  @jcolonfzenpr 

So, no diagram was generated?

If you run this cmdlet in your lab does it produce any results?

Get-VBRBackupRepository -ScaleOut | Sort-Object -Property Name

 


@jcolonfzenpr - no the Backup-Infrastructure diagram worked this time after doing the update commands.  I have a PDF that was generated showing my VBR in my lab.  Sorry for the confusion.


Could you run these cmdlet and send me the logs again?

update-Module Diagrammer.core -force    

update-Module Veeam.Diagrammer -force

Import-Module Diagrammer.Core -Force 

Import-Module Veeam.Diagrammer -Force

 Enable powershell debugging:

$global:VerbosePreference = 'Continue'
$global:DebugPreference = 'Continue'
Start-Transcript -Path .\Output.log
New-VeeamDiagram -Target <-- change this part -->
Stop-Transcript

The commands generate the Output.log file which you can send to me at:

jcolonf@zenprsolutions.com

After saving the log, reset powershell to default settings:

$global:VerbosePreference = 'SilentlyContinue'
$global:DebugPreference = 'SilentlyContinue'

 

 

after updating the modules and run New-VeeamDiagram -Target srv-veeam-01 -Username Administrator -DiagramType Backup-Infrastructure -Format pdf,png -OutputFolderPath 'C:\Users\administrator\Downloads' again, the result with Backup-Infrastructure is now working as expected. 

Wow, thanks 😍 Do you still need some logs from my side?

 


@jcolonfzenpr - no the Backup-Infrastructure diagram worked this time after doing the update commands.  I have a PDF that was generated showing my VBR in my lab.  Sorry for the confusion.

I wonder why you get this error in the SOBR section?

TerminatingError(ForEach-Object): "You cannot call a method on a null-valued expression."

Get-VBRBackupRepository -ScaleOut | Sort-Object -Property Name

Did you get any output from this command?


@jcolonfzenpr - no the Backup-Infrastructure diagram worked this time after doing the update commands.  I have a PDF that was generated showing my VBR in my lab.  Sorry for the confusion.

I wonder why you get this error in the SOBR section?

TerminatingError(ForEach-Object): "You cannot call a method on a null-valued expression."

Get-VBRBackupRepository -ScaleOut | Sort-Object -Property Name

Did you get any output from this command?

Yeah I get output from that command. @jcolonfzenpr 

PolicyType                     : DataLocality
Extent : {Wasabi-4, Wasabi-5}
UsePerVMBackupFiles : True
PerformFullWhenExtentOffline : False
EnableCapacityTier : False
OperationalRestorePeriod : 14
OverridePolicyEnabled : False
OverrideSpaceThreshold : 90
OffloadWindowOptions : 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
CapacityExtent :
CapacityExtents : {}
EncryptionEnabled : False
EncryptionKey :
CapacityTierCopyPolicyEnabled : False
CapacityTierMovePolicyEnabled : True
CapacityTierHealthCheckOptions : Veeam.Backup.PowerShell.Infos.VBRHealthCheckOptions
ArchiveTierEnabled : False
ArchiveExtent :
ArchivePeriod : 90
CostOptimizedArchiveEnabled : True
ArchiveFullBackupModeEnabled : False
PluginBackupsOffloadEnabled : True
CopyAllPluginBackupsEnabled : True
CopyAllMachineBackupsEnabled : True
ForceStrictPlacementPolicy : False
Id : 8dc1a1ce-bd57-4ce7-85fa-f7b4a4a64d37
Name : Direct to Object SOBR
Description : Wasabi Storage for SOBR

PolicyType : DataLocality
Extent : {Win2022 ReFS - Std Repo 2B, Win2022 ReFS-1}
UsePerVMBackupFiles : True
PerformFullWhenExtentOffline : False
EnableCapacityTier : False
OperationalRestorePeriod : 14
OverridePolicyEnabled : False
OverrideSpaceThreshold : 90
OffloadWindowOptions : 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
CapacityExtent :
CapacityExtents : {}
EncryptionEnabled : False
EncryptionKey :
CapacityTierCopyPolicyEnabled : False
CapacityTierMovePolicyEnabled : True
CapacityTierHealthCheckOptions : Veeam.Backup.PowerShell.Infos.VBRHealthCheckOptions
ArchiveTierEnabled : False
ArchiveExtent :
ArchivePeriod : 90
CostOptimizedArchiveEnabled : True
ArchiveFullBackupModeEnabled : False
PluginBackupsOffloadEnabled : True
CopyAllPluginBackupsEnabled : True
CopyAllMachineBackupsEnabled : True
ForceStrictPlacementPolicy : False
Id : be303f09-fec8-4eee-af70-9a6a6a3b4236
Name : Scale-out Backup Repository 2
Description : Created by HOME\administrator at 2023-05-18 9:20 AM.

PolicyType : DataLocality
Extent : {Win2022 ReFS-B}
UsePerVMBackupFiles : True
PerformFullWhenExtentOffline : False
EnableCapacityTier : True
OperationalRestorePeriod : 14
OverridePolicyEnabled : False
OverrideSpaceThreshold : 90
OffloadWindowOptions : 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
CapacityExtent : Wasabi - Non-Immutable
CapacityExtents : {Wasabi - Non-Immutable}
EncryptionEnabled : True
EncryptionKey : b120df39-8697-4c3e-befe-d79376833f68
CapacityTierCopyPolicyEnabled : True
CapacityTierMovePolicyEnabled : True
CapacityTierHealthCheckOptions : Veeam.Backup.PowerShell.Infos.VBRHealthCheckOptions
ArchiveTierEnabled : False
ArchiveExtent :
ArchivePeriod : 90
CostOptimizedArchiveEnabled : True
ArchiveFullBackupModeEnabled : False
PluginBackupsOffloadEnabled : True
CopyAllPluginBackupsEnabled : True
CopyAllMachineBackupsEnabled : True
ForceStrictPlacementPolicy : False
Id : 6526f135-9f8a-4988-b00d-b02740b91e21
Name : SOBR - Win2022 ReFS - 2
Description : Created by HOME\administrator at 2023-05-18 9:21 AM.

PolicyType : DataLocality
Extent : {Linux Hardened Repo 2}
UsePerVMBackupFiles : True
PerformFullWhenExtentOffline : False
EnableCapacityTier : True
OperationalRestorePeriod : 14
OverridePolicyEnabled : False
OverrideSpaceThreshold : 90
OffloadWindowOptions : 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
CapacityExtent : Wasabi - Immutable 3
CapacityExtents : {Wasabi - Immutable 3}
EncryptionEnabled : True
EncryptionKey : b120df39-8697-4c3e-befe-d79376833f68
CapacityTierCopyPolicyEnabled : True
CapacityTierMovePolicyEnabled : True
CapacityTierHealthCheckOptions : Veeam.Backup.PowerShell.Infos.VBRHealthCheckOptions
ArchiveTierEnabled : False
ArchiveExtent :
ArchivePeriod : 90
CostOptimizedArchiveEnabled : True
ArchiveFullBackupModeEnabled : False
PluginBackupsOffloadEnabled : True
CopyAllPluginBackupsEnabled : True
CopyAllMachineBackupsEnabled : True
ForceStrictPlacementPolicy : False
Id : 1560e006-59d5-4e0f-908b-9036a08a2994
Name : SOBR-VHR-ISO
Description : Created by HOME\administrator at 2023-11-08 2:11 PM.

PolicyType : DataLocality
Extent : {Wasabi-1, Wasabi-2}
UsePerVMBackupFiles : True
PerformFullWhenExtentOffline : False
EnableCapacityTier : False
OperationalRestorePeriod : 14
OverridePolicyEnabled : False
OverrideSpaceThreshold : 90
OffloadWindowOptions : 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
CapacityExtent :
CapacityExtents : {}
EncryptionEnabled : False
EncryptionKey :
CapacityTierCopyPolicyEnabled : False
CapacityTierMovePolicyEnabled : True
CapacityTierHealthCheckOptions : Veeam.Backup.PowerShell.Infos.VBRHealthCheckOptions
ArchiveTierEnabled : False
ArchiveExtent :
ArchivePeriod : 90
CostOptimizedArchiveEnabled : True
ArchiveFullBackupModeEnabled : False
PluginBackupsOffloadEnabled : True
CopyAllPluginBackupsEnabled : True
CopyAllMachineBackupsEnabled : True
ForceStrictPlacementPolicy : False
Id : 66e29fe4-5c9e-4f01-ad69-068de70855ec
Name : Wasabi-SOBR
Description : Created by HOME\administrator at 2023-01-18 3:21 PM.

 


Hello,

Thanks for the tools.

I m going to test it for sure :)

 


  1. @jcolonfzenpr First for this work, it’s really helpfull :)
  2. I would like to know why I have this symbol on my script execution ? 
  3. I don’t find a way to generate all graph in 1 command. It’s an improvement idea with something like -DiagramType All to get them all with different export file name ^^ .


  1. @jcolonfzenpr First for this work, it’s really helpfull :)
  2. I would like to know why I have this symbol on my script execution ? 
  3. I don’t find a way to generate all graph in 1 command. It’s an improvement idea with something like -DiagramType All to get them all with different export file name ^^ .

 

regarding your 3rd point, try -DiagramType Backup-Infrastructure :-)


  1. @jcolonfzenpr First for this work, it’s really helpfull :)
  2. I would like to know why I have this symbol on my script execution ? 
  3. I don’t find a way to generate all graph in 1 command. It’s an improvement idea with something like -DiagramType All to get them all with different export file name ^^ .

 

regarding your 3rd point, try -DiagramType Backup-Infrastructure :-)

Thanks for your answer.
I already tried it but this doesn’t do this ^^


maybe you have the same issues like @Chris.Childerhose and me.
Please check some posts earlier. We’ve already sent @jcolonfzenpr some logs and he could solve it →

 


maybe you have the same issues like @Chris.Childerhose and me.
Please check some posts earlier. We’ve already sent @jcolonfzenpr some logs and he could solve it →

 

I understand your error was diagramme was not générateur ? 

Mine is generated fine but I don t have file proxy in the infrastructure type. I have repository, vmware proxy and object storage.

Is it the error you have ?


  1. @jcolonfzenpr First for this work, it’s really helpfull :)
  2. I would like to know why I have this symbol on my script execution ? 
  3. I don’t find a way to generate all graph in 1 command. It’s an improvement idea with something like -DiagramType All to get them all with different export file name ^^ .

1. The backup infrastructure diagram does not yet have file proxy server objects.

 

2. I wonder why the backup server section shows the Enterprise Manager and not the Backup Server object. Do you happen to have all those services installed on the same server?


  1. @jcolonfzenpr First for this work, it’s really helpfull :)
  2. I would like to know why I have this symbol on my script execution ? 
  3. I don’t find a way to generate all graph in 1 command. It’s an improvement idea with something like -DiagramType All to get them all with different export file name ^^ .

1. The backup infrastructure diagram does not yet have file proxy server objects.

 

2. I wonder why the backup server section shows the Enterprise Manager and not the Backup Server object. Do you happen to have all those services installed on the same server?

Thanks for your answer !

1) OK, that means today I need to execute several cmdlet to get all the schema :)

2)Yes both are installed on the same server in my homelab.

 

 


Thank you @jcolonfzenpr for sharing such great script :-)


I have made several improvements to the module, if any of you can help me with the tests I would appreciate it, I will improve this tool little by little!

https://techmyth.blog/posts/veeam-diagrammer-0_6_8/

update-Module Diagrammer.core -force    

update-Module Veeam.Diagrammer -force

Import-Module Diagrammer.Core -Force

Import-Module Veeam.Diagrammer -Force

¡Hasta la Próxima!


I have made several improvements to the module, if any of you can help me with the tests I would appreciate it, I will improve this tool little by little!

https://techmyth.blog/posts/veeam-diagrammer-0_6_8/

update-Module Diagrammer.core -force    

update-Module Veeam.Diagrammer -force

Import-Module Diagrammer.Core -Force

Import-Module Veeam.Diagrammer -Force

¡Hasta la Próxima!

Great to hear.  I will give it a test tomorrow Jonathan. 👍


@jcolonfzenpr -- ran the updates.  Everything good and reports work very well.  No issues so far.


@jcolonfzenpr -- ran the updates.  Everything good and reports work very well.  No issues so far.

I'm glad everything ran smoothly.
Thank you for your help!


@jcolonfzenpr -- ran the updates.  Everything good and reports work very well.  No issues so far.

I'm glad everything ran smoothly.
Thank you for your help!

Not a problem at all.  Always here to help and test things out. 😎

 
 
 

Wow, I’ve just discovered this project. Going to put it on my todo list of things to get running!


@jcolonfzenpr -- ran the updates.  Everything good and reports work very well.  No issues so far.

from my side as well, update -> works like a charm. 
Great work <3 

 


@jcolonfzenpr -- ran the updates.  Everything good and reports work very well.  No issues so far.

from my side as well, update -> works like a charm. 
Great work <3 

 

Thanks for your help!


Hello @jcolonfzenpr,

I’ve tryed to made update, but 'Backup-Infrastructure’ result with error and don’t create output.

Thanks for your reply.


Comment