Guide to Installing Veeam Backup & Replication Community Edition: A Professional VMware ESXi Backup Solution (Free)

VMware tutorial - IT technology blog
VMware tutorial - IT technology blog

When RAID 5 “Betrays” You and a Hard-Learned Lesson in Backup

When I first started my career, I managed a cluster of VMware virtual machines running internal services for a company. Due to a tight budget, I only used Snapshots for risk prevention. I firmly believed Snapshots were enough, until two drives in a RAID 5 array died simultaneously. All the data evaporated. That was when I truly understood: a Snapshot is only a temporary state, never a true backup solution.

Pulling an all-nighter to rebuild every service from scratch was a terrible experience. After that incident, I was determined to find a professional backup tool—it had to be easy to use, but most importantly, it had to be free since my boss wouldn’t approve a budget.

Barriers to Backing Up on the Free Version of VMware ESXi

If you are using VMware ESXi Free (vSphere Hypervisor), you will hit a major wall: Data Recovery API is locked. Professional backup software usually uses this API to extract VM data without hanging the system. When the API is closed, most third-party tools become useless.

There are three main reasons why VMware backup becomes a headache:

  • Free Version Limitations: VMware locks vStorage APIs to encourage users to buy a License (at least the Essentials kit, which costs about $500 – $600).
  • Licensing Costs: Names like Commvault or Veritas often have quotes in the thousands of dollars, which is out of reach for startups or individuals running personal Labs.
  • Complexity: Open-source tools often require proficiency in Scripting and Linux. One wrong command and your data could be gone.

Common “Workaround” Solutions

Before discovering Veeam, IT folks often shared several manual methods:

  1. GhettoVCB Script: A “tried and true” solution running directly on the ESXi shell. It is free but extremely difficult to troubleshoot if you are not familiar with the Command Line Interface (CLI).
  2. Export OVF/OVA: The simplest but most manual way. You have to shut down the VM to ensure data integrity, which means service downtime.
  3. Installing Agents Directly: Installing backup software directly into the VM’s Windows/Linux OS. This bypasses the Hypervisor layer and avoids the API lock, but managing dozens of Agents is a nightmare.

Veeam Backup & Replication Community Edition – A True “Lifesaver”

After many trials and errors, I can confirm that Veeam Community Edition is the #1 choice. This version allows you to protect up to 10 Workloads (VMs, physical machines, or Cloud) completely free. You get to experience almost every premium feature of the Enterprise edition without spending a dime.

Technical Note: To perform backups at the Hypervisor level (Agentless), your ESXi needs a License. If you are using a completely Free ESXi, you can still use Veeam but must install it as an Agent inside the VM.

Step 1: Prepare Installation Resources

Veeam needs a clean Windows environment to operate. You should prepare a virtual machine or physical server running Windows Server 2016 or higher with the following recommended configuration:

  • CPU: Minimum 4 Cores (Veeam compresses data heavily, so it needs a strong CPU).
  • RAM: 8GB – 16GB (The system runs SQL Server underneath, so it is quite RAM-hungry).
  • Disk: About 100GB for the OS and software. The backup storage (Repository) should be on a separate drive or NAS.

Step 2: Download and Install

Visit the Veeam homepage, register an account, and download the ISO file (about 12GB). While waiting for the download, you might want to grab a cup of coffee since the file is quite large.

  1. Mount the ISO file in Windows and run Setup.exe.
  2. Select Install under the Veeam Backup & Replication section.
  3. Click Next through the terms. Veeam will automatically scan and install missing components like .NET Framework or SQL Express. Just click Install and wait about 15-20 minutes.

Step 3: Connect the VMware ESXi Server

Open the Veeam Console. Now we need to tell Veeam where the virtualization server is located.

  • Go to the Managed Servers tab, select Add Server.
  • Select VMware vSphere and enter the IP or Domain of the ESXi server.
  • In the Credentials section, enter the root account of the ESXi.

If you encounter an API license error message, double-check your ESXi License. If you are using the Free version, switch to the Agent installation method to continue.

# Command to check ESXi License via SSH if needed
esxcli system settings advanced list -o /Config/Defaults/UserVars/LicenseKey

Step 4: Set Up Storage (Repository)

Never save backup files to the Windows C: drive. If Windows fails, you lose everything. Use a separate drive or NAS (SMB/NFS).

  • Go to Backup Infrastructure -> Backup Repositories.
  • Select Add Repository. If using a direct-attached drive, select Direct attached storage.
  • Point the path to the folder you have prepared.

Step 5: Create Your First Backup

This is when you set up an automated schedule so you can sleep peacefully.

  1. In the Home tab, select Backup Job -> Virtual Machine.
  2. Name: Set a name like Daily_Backup_FileServer for easy management.
  3. Virtual Machines: Select the VMs you want to protect.
  4. Share: