Forum Discussion

simon_cobner's avatar
simon_cobner
Novice I
3 years ago

Looking for a tool / script that will take a vmware snapshot

Looking for help. I have looked around but cant find it. Looking for a tool / script that will take a vmware snapshot, then a pure snap shot and then delete the vmware snapshot. I started writing a script but thought I would ask the question first. Thanks

4 Replies

  • Nothing that fits that exactly, but a lot of the commands you would need may be in https://github.com/PureStorage-OpenConnect/VMware-Scripts Restore-VmFromFlashArrayVmfsSnapshot.ps1
  • For most of the new-pfarestoperations, there are direct cmdlets for in the PureStoragePowershellSDK. Two ways to accomplish the same. https://support.purestorage.com/Solutions/Microsoft_Platform_Guide/a_Windows_PowerShell/How-To%3A_Working_with_Snapshots_and_the_Powershell_SDK_v2
  • Great, thanks for the pointers. I’m new to Pure so still finding my way around. It was a very handy function in a previous life (Netapp) and I’m already missing it.
  • Explore the cmdlets in https://github.com/PureStorage-OpenConnect/PureStorage.FlashArray.VMware|https://github.com/PureStorage-OpenConnect/PureStorage.FlashArray.VMware They are great and a big time saver depending on what you are doing. And it’s all open source which is awesome too. I just don’t think it has that specific use case in there. Lots of good things for RDM or vVol work though.