Guest User

Untitled

a guest
Feb 14th, 2019
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. standard_init_linux.go:190: exec user process caused "exec format error"
  2.  
  3. docker run --rm -it -v /home/user/DockerData/esx:/esx vmware/powerclicore /esx/backup2.ps1
  4.  
  5. Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false | Out-Null
  6. Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP $false
  7. $VI_SERVER = "192.168.1.1"
  8. $VI_USERNAME = "backupuser"
  9. $VI_PASSWORD = "password"
  10. $FOLDER = "/esx/Backups/"
  11. $DATE = Get-Date -f "dd-MM-yyyy"
  12. Connect-VIServer -Server $VI_SERVER -User $VI_USERNAME -password $VI_PASSWORD | Out-Null
  13. Get-VMHost | Get-VMHostFirmware -BackupConfiguration -DestinationPath $FOLDER
  14. Rename-Item -Force $FOLDER/configBundle-$VI_SERVER.tgz -newName $FOLDER$DATE--$VI_SERVER.tgz
  15. Disconnect-VIServer * -Confirm:$false
Add Comment
Please, Sign In to add comment