ESXi

 View Only
Expand all | Collapse all

What is the best way the backup my VMs?

  • 1.  What is the best way the backup my VMs?

    Posted Aug 24, 2022 08:44 AM

    Hello

    I have inherited this VMware ESXi 6 (I think, thats what it says in the Licensing tab) but Im not sure how should I proceed with backing up the 2 VMs installed on it

    I know that you can save the ESXi configuration file but does that save the VMs installed on it with all its stuff as well?

    I know I can export an ovf file of the VMs when they are turned off but is there a way to automate this task without me having to manually turn off the VMs and export them every time?

    Thanks



  • 2.  RE: What is the best way the backup my VMs?

    Posted Aug 24, 2022 11:42 AM

    Hey  ,

     

    If you don't want to use any external tools like NetApp or veeam, the best option would be to use the ESXi command line.

    ESXi configuration is saved every hour automatically to the /bootblank/state.tgz file.

    Sync config first:

    vim-cmd hostsvc/firmware/sync_config

     

    Back up ESXi configuration:

    vim-cmd hostsvc/firmware/backup_config

    As a result, you’ll receive a link to download the configBundle.tgz archive from the ESXi host

    You can write a script to automate the process. 

     



  • 3.  RE: What is the best way the backup my VMs?

    Posted Aug 24, 2022 02:54 PM

    Hello, I know of this methot but does the backup file hold all the info and configuration of the VMs installed on ESXi ? Is there I way can create a virtual environment and restore a machine using this backup file?



  • 4.  RE: What is the best way the backup my VMs?

    Posted Aug 24, 2022 03:50 PM

     wrote:

    Hello, I know of this methot but does the backup file hold all the info and configuration of the VMs installed on ESXi ? Is there I way can create a virtual environment and restore a machine using this backup file?


    Yes, that is what backups are for.  Depending on the method of backup, the process will be different. 

     

     



  • 5.  RE: What is the best way the backup my VMs?

    Posted Aug 25, 2022 05:48 AM

    The backup file "configBundle.tgz" does not contains any VM (Data/Config).  You need a 3rd. Party product to backup your VMs.

    Regards,
    Joerg



  • 6.  RE: What is the best way the backup my VMs?

    Posted Aug 24, 2022 12:52 PM

    Hello.
    For Vms backup, I recommend Veeam Backup & Replication Community Edition, which is an easy and free tool ((up to 10 workloads).
    The server backup can be installed on a PC or server (external) with enough disk space (even with an external USB disk).

    https://www.veeam.com/virtual-machine-backup-solution-free.html

    With Veeam B&R you can schedule backups, receive alerts, define retention times and much more.

     

     

     



  • 7.  RE: What is the best way the backup my VMs?

    Posted Aug 26, 2022 07:23 AM

    So how does this work? Can I install the Veem client on any pc with access to the ESXi server and it will save the backup on the pc?



  • 8.  RE: What is the best way the backup my VMs?

    Posted Aug 26, 2022 07:50 AM

    In general when speaking about the programs which backup VMs they all leverage the vsphere api for data protection which is available on any payed vSphere ESXi (not in the free vSphere Hypervisor product). This API offer several way how to backup(NBD, HotAdd, SAN..) and often the backup vendor put something special on top of these.

    Most of them have their management on a windows system(VM or Phys) and you tell them where to store the backups (NAS(CIFS,NFS) , Storage, Local Disk, S3 and so on).  Some of them use Linux and coming as appliance (VM or Phys.). In all cases they connect to the ESXi or vCenter.

    If the VADP cant be used than you can install an Agent within the Guest OS and use the old school method.

    Veeam B&R Comunity can be used for free and up to 10 "Objects" (VM, Agent, ...).  You might be able to install Veeam on your PC and yes you can store the backup on that PC. Check the Veeam requirements. We never use a Windows Desktop OS for Veeam because we have the need to perform a File Level Restore from Windows Server VMs which have windows deduplication/compression in use. When Veeam runs on a Win pro this cant be used. But i have customers where Veeam runs on a Windows 10 PC.

    Regards,
    Joerg



  • 9.  RE: What is the best way the backup my VMs?

    Broadcom Employee
    Posted Aug 24, 2022 01:20 PM

    Your post needs moving, so I have reported it.

     



  • 10.  RE: What is the best way the backup my VMs?

    Posted Nov 22, 2022 02:36 AM

    Hi StefanMedelin, we are using Vinchin Backup & Recovery as our backup solution and it makes us satisfied. It also has free version for licensed ESXi so you can try it.



  • 11.  RE: What is the best way the backup my VMs?

    Posted Mar 21, 2024 10:00 AM

    I also vote for Vinchin Backup & Recovery! Its backup function is really good and its recovery is very fast. https://www.vinchin.com/?s=ctadlwh8r8 



  • 12.  RE: What is the best way the backup my VMs?

    Posted Mar 21, 2024 10:29 AM

     

    Pretty sure that you vote for this backup solution, as you are working for this company.
    Please don't use the communities for product promotion, or at least add a note to your replies that you are working for the company.

    André



  • 13.  RE: What is the best way the backup my VMs?

    Posted Mar 21, 2024 03:46 PM

    There are multiple products and ways to backup your VM's. Finding the one that works for you would depend on your skill level, your environment and your budget. Veem is very popular, there are free utilities that can do backups that require some technical expertise, I personally use Unitrends as I was using it prior to having VMWare so it was easy to incorporate VM backups into my schedules.

    --Alan--