How to Export VPG Settings with Zerto PowerShell Cmdlets

KB Number:
00000054

Solution:

Purpose


The Zerto Virtual Replication PowerShell Cmdlets allow for expanded functionality and interaction with the Zerto Virtual Replication environment via Windows PowerShell.

 

The 'Export-Settings' cmdlet is used to export VPG settings for the specified ZVM and its peer sites. 

Affected Versions


All Versions

Complexity


Medium

 

Prerequisites


The Zerto Virtual Replication PowerShell Cmdlets for the currently installed version must be installed on a machine that has network access to the ZVM.

Solution


  1. Install the Zerto Virtual Replication Cmdlets - this installer can be downloaded from the Zerto Customer Portal.
  2. From a machine that has network access to the ZVM, open Windows PowerShell.
  3. Load the Zerto Virtual Replication cmdlets with the following command:
    • Add-PSSnapin Zerto.PS.Commands

        4.   Use the Export-Settings cmdlet to pipe the VPG settings for the specified ZVM and its peers to XML

    • For versions up to 1.0 update 9:
      • Syntax:
        • Export-Settings <ZVMIP> <ZVM-Port> 
      • Example:
        • Export-Settings -ZVMIP 192.168.10.10 -ZVMPort 9080 > C:Zerto-SettingsMy-Exported-Settings-File.xml
    • For Zerto versions 2.0 and higher:
      • Syntax:
        • Export-Settings <ZVMIP> <ZVM-Port> <Username> <Password>
      • Example:
        • Export-Settings -ZVMIP 192.168.10.10 -ZVMPort 9080 -Username Administrator -Password Password > C:Zerto-SettingsMy-Exported-Settings-File.xml
        • Note: the default username and password on a Zerto Virtual Replication installation is administrator and password - if this has not been changed, the defaults can be used, or they can be changed in the following file: C:Program Files (x86)ZertoZerto Virtual Replicationusers.txt

 


1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 1.75 out of 5)
Loading...