VMware Cloud Community
oliver_g
Enthusiast
Enthusiast
Jump to solution

Copy ESXI host configuration to New ESXI host

Hello Members,

I am going to migrate/upgrade as esxi host running Esxi 6.0 U3., VMware Essentials

I will have new hardware that supports Esxi 6.7 U3 (do not have license yet, not sure which version we can buy)

I see where it is possible to use powerCLI or some other method to copy a host's configuration.

I would like ot copy the configuration from old host to new host. The old host as a somewhat extensive

network configuration - it would be nice to not have to edit new host from scratch.

Are there methods that will allow me to do this? Templating, etc.

This would not be a host that is hosting a vCenter Server appliance.

Thanks

Oliver G

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
NathanosBlightc
Commander
Commander
Jump to solution

Hi Oliver

Run the following commands in SSH/Shell access:

To synchronize last changes: vim-cmd hostsvc/firmware/sync_config

For backup generating:vim-cmd hostsvc/firmware/backup_config

For restore the backup: vim-cmd hostsvc/firmware/restore_config /scratch/downloads/configBundle.tgz (default path for the config backup)

you should put the host into the maintenance mode before running the restore operation: vim-cmd hostsvc/maintenance_mode_enter

However it's nice to check the following link (all other possible methods like PowerCLI are described there)

VMware Knowledge Base

Please mark my comment as the Correct Answer if this solution resolved your problem

View solution in original post

3 Replies
batuhandemirdal
Enthusiast
Enthusiast
Jump to solution

Hi,

İs for the transition to enterprise and enterprise plus products. You can also link to link apps that help you.

Licensing for Products in vSphere

Best Regards

0 Kudos
NathanosBlightc
Commander
Commander
Jump to solution

Hi Oliver

Run the following commands in SSH/Shell access:

To synchronize last changes: vim-cmd hostsvc/firmware/sync_config

For backup generating:vim-cmd hostsvc/firmware/backup_config

For restore the backup: vim-cmd hostsvc/firmware/restore_config /scratch/downloads/configBundle.tgz (default path for the config backup)

you should put the host into the maintenance mode before running the restore operation: vim-cmd hostsvc/maintenance_mode_enter

However it's nice to check the following link (all other possible methods like PowerCLI are described there)

VMware Knowledge Base

Please mark my comment as the Correct Answer if this solution resolved your problem
oliver_g
Enthusiast
Enthusiast
Jump to solution

Hello Guys,

Thanks, both replies were helpful and correct.

I will check the link for more information, and test the command line samples

as well.

Thanks,

Oliver G

0 Kudos