Export VMware VM Machine and Server

Hello Experts,

Can someone please tell me if its possible to migrate / export my entire VMware environment, e.g vswitch, vm's from the ESXi 5.5 server shown in image to another ESXi Server? It's important that if it is possible that I know what I would lose should I decide to migrate/export?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Zephyr ICTCloud ArchitectCommented:
If the purpose is to have the exact same configuration on new hardware then you can use PowerCLI (or via vMA) to backup/restore your ESXi host, this is not something to use to clone your ESXi host and deploy multiple hosts from the backup because everything is copied, this includes MAC-addresses.

PowerCLI backup:
Get-VMHostFirmware -VMHost $host -BackupConfiguration -DestinationPath <drive>:\ESXiBackups

Open in new window

PowerCLI restore:
Set-VMHostFirmware -VMHost $Host -Restore -SourcePath <drive>:\ESXIBackups\backup.tgz -HostUser user -HostPassword password

Open in new window

This doesn't backup your Virtual Machines or their information, those will need to be taken care of separately.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Using the vSphere CLI for Windows


vicfg-cfgbackup.pl --server= --username=root -s ESXi_test1_backup.txt

Open in new window


vicfg-cfgbackup.pl --server=ESXi_host_IP_address --username=root -l backup_file

Open in new window

see here also


We've had issues with using this of late with 5.5, with invalid state files, and we are still working to find a cure. So I woul;d test!

If you have the state.tgz file, you can search and find the information.

BUT documentation is good to have, it should only take you 5 minutes to recover.
cpatte7372Author Commented:
Thanks fore responding,

So, all that I would be gaining is configuration backup, correct? Not backing up VMs?
SolarWinds® IP Control Bundle (IPCB)

Combines SolarWinds IP Address Manager and User Device Tracker to help detect IP conflicts, quickly identify affected systems, and help your team take near instantaneous action. Help improve visibility and enhance reliability with SolarWinds IP Control Bundle.

Zephyr ICTCloud ArchitectCommented:
Indeed, backup of VM's is separate ... You can use something like Veeam for this for example.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cpatte7372Author Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.