Repository navigation
Replies: 6 comments 4 replies
|
Hi, thank you for the kind words and for this detailed write-up — your observations are correct. How it works today: for a running VM, BackupZit takes a snapshot, then copies each disk as of that snapshot to a temporary thin VMDK in What we plan: a hot-add mode. The agent runs in a small Linux proxy VM on a host that sees the datastore; during the backup the VM's snapshot base disks are attached to the proxy read-only, the agent reads only the blocks CBT reports as changed, then detaches them and removes the snapshot. No temporary copy, no extra datastore space beyond the snapshot delta, and an incremental of a 2 TB VM with 20 GB of changes reads 20 GB. Where a proxy cannot reach a datastore, the current method stays as the fallback. Existing jobs keep working exactly as today; hot-add is used only where a proxy is set up. We don't plan VDDK itself: its license does not fit an AGPL project, and hot-add needs only the standard vSphere API. It is planned for 0.54. Would you be willing to test a candidate from the testing update channel on your environment when it is ready? It would help to know: vCenter or standalone ESXi (version), the datastore type (VMFS on local SAS, iSCSI, NFS?), and whether a small Linux VM (2 vCPU, 2 GB) on the same host would be fine for you. And if BackupZit is useful to you, a ⭐ on the repository would mean a lot to us — it helps others find the project. |
|
Hot-add is out in BackupZit 0.54.0, released today: https://github.com/Max-Zit/backupzit/releases/tag/v0.54.0 How to use it:
What it does: while the snapshot exists, each disk is attached to the proxy's VM independent-nonpersistent (read-only), the proxy reads only the blocks CBT reports, detaches it, and then the snapshot is removed — no temporary copy, no extra datastore space. In our lab (ESXi 8.0.3) an 8 GiB disk was read in 23 s and the next incremental (221 MiB) in 5 s. The guide is under Documentation → VMware ESXi → Hot-add in the console, and here: https://backupzit.com/guides/vmware-esxi-backup/#hot-add It would be great if you could try it on your 2–3 TB VMs on the SAS datastore and share how long the backups take now (and anything that looks odd). Thanks! |
|
Hi @stefanzeljkic , Thanks for the super fast response with patched. I just try the existing VM, yes it is works as you described. appreciate. If we have 3 hosts associate to one vcenter, each host has own datastore, which means I need to deploy agent in each host, am I correct? currently I deploy to one agent in one of the VM in of the ESXi host, and I add VMware ESXi vcenter into backupzit. vcenter.domain.com associate 3 hosts when I try to backup VM that is under host3, backup which like you describe, no copy operation. 20 GB in 20s (incremental backup). host1 - deploy one agents in one VM. I guest backupzit agents that sit under host 3, which connect through vcenter can't read host2 and host1 datastore. I guess need to add host by host to backupzit, in order to choose agent that sit under the host? I remove vcenter, and add 3 ESXi hosts manually with it own agents, backup was fine. and one thing, If I cancel backup that is running. in vcenter, the copy operation is still in progress, and backupzit is remove snapshot without cancel copy operation. another question, once backup job created, I can't change storage target (as I treat it as new backup), is that normal behavior? Thank you. |
|
Thanks for testing, and for the numbers. A 20 GB incremental in 20 s is exactly what hot-add is meant for.
Thanks for the star, too. |
|
BackupZit 0.55.0 is out with both things from this thread: https://github.com/Max-Zit/backupzit/releases/tag/v0.55.0 1. Several proxies per vCenter connection. For your 3 hosts:
Every backup of the job is then split by host. Each VM is read by the proxy on its own host through hot-add, and all hosts run at the same time. VMs on a host without a proxy go to the connection's proxy. The job still shows one start: it is failed if one part failed, and chained jobs and copies follow once, after the last part. Retention keeps the job's number of backups per proxy. A few rules:
Details: the guide, VMware → Several proxies (vCenter). 2. Cancelling during the datastore copy now cancels the vCenter task and deletes the half-written copy, instead of leaving it on the datastore. If you can try it on the 3 hosts, I'd be glad to hear the timings, or anything that does not work as described. |
|
Hi @stefanzeljkic, I haven't update to 0.55.0 yet. I have scheduled two backup, one is yesterday Friday backup start from 9pm, another backup is start today 1am. both are failed in halfway backing up. Friday scheduled backup @ 9pm, 4 VM, with error below: vm1: remove snapshot backupzit_1795179619: ServerFaultCode: The session is not authenticated. Duration 15h14m39s vm1 is 1.5 TB, it is failed at 1.2 TB. another backup scheduled today 1am, 11 VM, with error below: vm1: scsi0:0: [ds10165] vm1/vm1-000002.vmdk is a snapshot delta disk; delete or consolidate the VM's own snapshots before backing it up Duration 9h31m22s not sure where is the issue. thank you for your assistance. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
First of all, I would like to thank the BackupZit team for creating such a great backup solution. I really appreciate the work and effort that has gone into developing this software. It is great to see an alternative backup solution for VMware environments, and I look forward to seeing how it continues to improve.
I would like to share some feedback and raise a discussion regarding VMware backup performance, particularly when backing up large VMs.
My observations
Currently, when BackupZit performs a backup of a running VMware VM, I notice that vCenter performs a temporary disk-copy operation on the original VMware datastore before the actual backup processing starts.
My understanding is that BackupZit creates a temporary thin-provisioned VMDK, reads the required data using CBT (Changed Block Tracking), and then transfers the backup data to the configured backup repository.
While I understand that this may be necessary due to VMware's disk-access and snapshot mechanisms, I have a few concerns regarding backup duration and storage performance.
1. Additional datastore capacity requirements
The temporary disk-copy operation introduces additional storage requirements on the production VMware datastore.
This could become a concern for environments where:
2. Backup duration and storage performance
My VMware datastore is running on SAS 7.2K RPM hard drives.
When backing up large VMs, for example, a VM with 2 TB or 3 TB of virtual disk capacity, the temporary disk-copy operation could take a considerable amount of time.
For example, if I schedule backups every Monday night, I am concerned that the available backup window may not be sufficient to complete all the backups, especially when several large VMs need to be backed up.
This also introduces additional disk I/O on the production datastore, potentially affecting production VM performance while backups are running.
Even for subsequent incremental backups, I would like to understand whether this temporary disk-copy operation still requires reading or copying the entire virtual disk before CBT is applied.
Possible areas for improvement
I would like to hear whether there are opportunities to improve this process, particularly in the following areas:
More efficient incremental backup: Could VMware CBT be leveraged to read only changed blocks directly, avoiding unnecessary full disk-copy operations?
Alternative temporary storage location: Could administrators select a dedicated datastore or backup proxy storage for temporary VMDK operations instead of using the original production datastore?
Reduced backup processing time: Could the temporary disk-copy process be optimized to reduce unnecessary disk I/O, especially for large VMs?
Improved backup scheduling: Could the backup process be made more efficient so that environments with large VMs can complete their scheduled backups within a limited overnight backup window?
can add option to use Direct VDDK Block Stream?
Overall, I really appreciate BackupZit and the work of its developers. I hope this feedback can contribute to making an already great product even better.
Thank you, BackupZit Team!
All reactions