Automation

 View Only
  • 1.  Backup and restore inventory on another vCenter

    Posted Nov 05, 2019 09:27 AM

    Hi, I need to backup an restore the inventory and folder structure of avCenter on another virtual center

    I've found those scripts

    1) InventorySnapshot | VMware Flings

    2) https://vm.knutsson.it/2017/04/migrate-folder-structure-from-old-to-new-vsphere-vcenter/

    but maybe are too old, i've an 6.0 VC

    I.E. When I launch createinventory.ps1 with real passwords and after authenticated with powerCLI to VC i get a bunch of errors that I'm not able to debug.

    Can you help me? Thanks



  • 2.  RE: Backup and restore inventory on another vCenter

    Posted Nov 05, 2019 02:58 PM

    I'm not sure which CreateInventory.ps1 script you are running (I cannot find that in the Fling).
    The problem seems to be the quoting that you have in there.
    Can you attach the script that you are using?