Skip to main content

Diagramming the Veeam Backup & Replication Infrastructure


Show first post

61 comments

jcolonfzenpr
  • Author
  • Experienced User
  • 65 comments
  • September 12, 2024

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'

 


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 8492 comments
  • September 12, 2024
jcolonfzenpr wrote:

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 


jcolonfzenpr
  • Author
  • Experienced User
  • 65 comments
  • September 12, 2024
Chris.Childerhose wrote:
jcolonfzenpr wrote:

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

 


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 8492 comments
  • September 12, 2024

@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.


Dynamic
Forum|alt.badge.img+9
  • Veeam Vanguard
  • 381 comments
  • September 12, 2024
jcolonfzenpr wrote:

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
  • Author
  • Experienced User
  • 65 comments
  • September 12, 2024
Chris.Childerhose wrote:

@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?


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 8492 comments
  • September 12, 2024
jcolonfzenpr wrote:
Chris.Childerhose wrote:

@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.

 


damien commenge
Forum|alt.badge.img+5

Hello,

Thanks for the tools.

I m going to test it for sure :)

 


damien commenge
Forum|alt.badge.img+5
  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 ^^ .


Dynamic
Forum|alt.badge.img+9
  • Veeam Vanguard
  • 381 comments
  • September 12, 2024
damien commenge wrote:
  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 :-)


damien commenge
Forum|alt.badge.img+5
Dynamic wrote:
damien commenge wrote:
  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 ^^


Dynamic
Forum|alt.badge.img+9
  • Veeam Vanguard
  • 381 comments
  • September 12, 2024

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 →

 


damien commenge
Forum|alt.badge.img+5
Dynamic wrote:

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 ?


jcolonfzenpr
  • Author
  • Experienced User
  • 65 comments
  • September 13, 2024
damien commenge wrote:
  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?


damien commenge
Forum|alt.badge.img+5
jcolonfzenpr wrote:
damien commenge wrote:
  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.

 

 


vAdmin
Forum|alt.badge.img+2
  • Influencer
  • 168 comments
  • September 16, 2024

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


jcolonfzenpr
  • Author
  • Experienced User
  • 65 comments
  • September 25, 2024

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!


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 8492 comments
  • September 25, 2024
jcolonfzenpr wrote:

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. 👍


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 8492 comments
  • September 25, 2024

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


jcolonfzenpr
  • Author
  • Experienced User
  • 65 comments
  • September 25, 2024
Chris.Childerhose wrote:

@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!


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 8492 comments
  • September 25, 2024
jcolonfzenpr wrote:
Chris.Childerhose wrote:

@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. 😎

 
 
 

TylerJurgens
Forum|alt.badge.img+7
  • Influencer
  • 161 comments
  • September 26, 2024

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


Dynamic
Forum|alt.badge.img+9
  • Veeam Vanguard
  • 381 comments
  • September 27, 2024
Chris.Childerhose wrote:

@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
  • Author
  • Experienced User
  • 65 comments
  • September 27, 2024
Dynamic wrote:
Chris.Childerhose wrote:

@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!


MarcoLuvisi
Forum|alt.badge.img+5
  • Influencer
  • 271 comments
  • October 9, 2024

Hello @jcolonfzenpr,

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

Thanks for your reply.


Comment