Self-hosted backup for servers, workstations, virtual machines, databases and Microsoft 365, managed from one web console. A free, open-source alternative to commercial backup products such as Veeam Backup & Replication or NAKIVO for Windows, Linux, macOS, Proxmox VE, VMware ESXi and Hyper-V.
BackupZit backs up Windows, Linux and macOS machines (files, or whole disks and systems on Windows and Linux), Proxmox VE, Hyper-V and VMware ESXi virtual machines, SQL Server, PostgreSQL and MySQL/MariaDB databases, NAS shares and Microsoft 365. It stores the backups deduplicated, compressed and encrypted on storage you choose, and restores anything from a single file to a whole machine on new hardware.
- Your own server, your own network. Every organization runs its own console. There is no cloud service and nothing has to be exposed to the internet.
- Free and open source under the AGPLv3. MaxZit offers commercial support.
- The console is available in 14 languages: English, German, French, Spanish, Italian, Portuguese, Dutch, Polish, Czech, Serbian, Turkish, Russian, Chinese and Japanese.
Download: latest release · Install: quick start · Website: backupzit.com (14 languages) · Step-by-step guides: backupzit.com/guides · Questions: Discussions
![]() |
![]() |
![]() |
| A finished backup: what was read, what was new, restore right from here | Calendar of runs | The built-in guide in 14 languages |
The console runs on a small Linux VM (2 vCPU, 2–4 GB RAM, 20 GB disk). The fastest ways:
- VM image: import backupzit-appliance.ova (VMware), .qcow2 (Proxmox/KVM) or .vhdx (Hyper-V) and start it; its screen shows the address and the initial password.
- Existing Linux server (Debian 12+, Ubuntu 22.04+, AlmaLinux/Rocky 9+), as root:
curl -fsSL https://github.com/Max-Zit/backupzit/releases/latest/download/install.sh | sudo sh - Docker: see Docker.
Then open https://<address>:8443, sign in as admin, add storage, enroll an agent and create a job — first steps. All five ways are described under Installation.
- Quick start
- What it can back up
- How it works
- Installation
- First steps
- Installing agents
- Updating
- Supported systems
- Agent CLI (standalone)
- Repository format
- How it compares
- Guides
- Project status and limits
- FAQ
- Community and support
- Development · License
| What | How | Restore |
|---|---|---|
| Files and folders (Windows, Linux, macOS) | incremental, from a VSS snapshot on Windows; {users} paths (e.g. the Documents of every user) and wildcards; one job can cover several or all agents; files that are only in the cloud (OneDrive online-only, iCloud Drive) are never downloaded |
single files from the browser (download), into a folder or to the original location |
| Macs (Apple silicon and Intel, macOS 13+) | files and folders from an APFS local snapshot, with owners, permissions, extended attributes, BSD file flags, creation times and sparse files; a menu bar app with a permission assistant for Full Disk Access | like other file backups, metadata included |
| Whole disks (Windows) | disk images of one, several or all disks, changed blocks only | bare metal from the recovery ISO (graphical, also without the console), onto different hardware or a smaller or larger disk, single partitions, GPT↔MBR, boot repair; single files from the image |
| Linux systems | all file systems and the disk layout | bare metal from the Linux recovery ISO, or as a new Proxmox VM (P2V) |
| Proxmox VE VMs and containers | agentless, changed blocks only (containers on ZFS file by file, changed files only); the node's own configuration (/etc/pve, config.db) with a files job |
new VM or in place, instant recovery (the VM runs from the backup in seconds), replication, automatic boot tests |
| VMware ESXi and vCenter VMs | agentless through a proxy agent (one per ESXi host under vCenter, all at once), changed block tracking, hot-add (no copy on the datastore); the console needs no route to the host when the proxy connects to it | new VM or in place, instant recovery over NFS |
| Hyper-V VMs, also failover clusters | agentless, resilient change tracking (also for VMs that are off); optionally application-consistent only (VSS in the guest, for AD and SQL Server); all VMs except chosen ones; data disks can be left out; a clustered VM keeps its history when it moves to another node, also during a backup | new VM on the same or another Hyper-V host, also onto a Cluster Shared Volume as a cluster role; the vTPM (BitLocker) is kept |
| Databases | SQL Server, PostgreSQL, MySQL/MariaDB with native tools; log backups | a single database to any point in time, under a new name or in place |
| NAS shares | SMB or NFS share read by any agent, nothing installed on the NAS | into a folder or back onto the share |
| Microsoft 365 | Exchange Online mail (.eml), calendars (.ics), contacts (.vcf), OneDrive and SharePoint through Microsoft Graph, read-only permissions | browse and download, or restore into a folder |
Single files and folders are restored straight from the disks of VM backups of all three hypervisors, without restoring the VM: NTFS, ext2/3/4, XFS and btrfs (subvolumes and snapshots as folders, zstd/LZO/zlib compression), also inside LVM.
Storage: SFTP, S3-compatible storage (AWS, Wasabi, Backblaze B2, MinIO, Google Cloud Storage), SMB shares, Azure Blob Storage, rotating USB disks, local disks, and the BackupZit hardened repository (a write-once Linux server). Backup copy jobs keep a second copy elsewhere (3-2-1) and show their progress, speed and time left while they run. VM backups on a storage target lists every VM with restore points there, marks VMs that no job backs up any more (also on the dashboard), and deletes their restore points: those that hold only one VM, and those of a deleted job with all their VMs. Find backups adds backups that are already on a storage target (for example after a reinstall of the console), so they can be restored. A target can be marked reachable by agents only (for example a NAS at a site the console cannot reach): the console then never connects to it, its connection test runs on an agent, and the files of its backups are browsed in the console through an agent that uses it (agents 0.61 and newer).
Protection against ransomware and mistakes:
- AES-256 encryption with a recovery key.
- Immutable backups: S3 Object Lock or the hardened repository.
- Detection of backups that look like ransomware or mass deletion; retention pauses automatically.
- Automatic restore tests, and a check (monthly by default) that reads and verifies all stored data. Proxmox VMs can also be booted from the backup, isolated from the network, with checks inside them (a service, a file, a port or a command of your own), also for the oldest backup kept; backups that pass are marked verified.
- Deleting backups, creating users, setting another user's password and turning on two-factor sign-in ask for your password (or two-factor code), so a stolen browser session is not enough.
- Optional four-eyes approval for destructive changes.
- Tamper-evident audit log.
Management:
- Schedules, job chains (run B after A), backup windows, RPO and retention per job.
- Email, Slack, Teams and webhook notifications.
- Reports (PDF and CSV, emailed on a schedule) and a calendar of runs; each run shows its compression ratio and how much data was already stored.
- The dashboard warns about computers without a backup job, agents whose clock is off, and two machines using one agent (for example a cloned VM).
- A Windows tray icon and a macOS menu bar app with the backup status and Back up now.
- Removing an agent can also uninstall it from the computer, keeping or deleting its backups.
- A diagnostics zip for support requests (without passwords or keys), and a light and dark theme.
- Roles (Administrator, Backup operator, Restore operator, Viewer).
- LDAP / Active Directory and single sign-on (SAML, OpenID Connect).
- Two-factor sign-in and a REST API with an OpenAPI specification (openapi.json): status, agents, jobs, runs, restores (also starting a file restore), reports, storage and Prometheus metrics; webhooks for finished runs.
- Signed self-updates of the console and of the agents.
- A backup of the console itself.
┌──────────────────────────────┐
your browser ───►│ BackupZit console │ web console, jobs, schedules,
(HTTPS 8443) │ (Linux VM + PostgreSQL) │ users, history, updates
└──────────────▲───────────────┘
│ agents ask for work (HTTPS 8443, outbound only)
┌──────────────────────────┼──────────────────────────┐
┌────┴─────┐ ┌─────┴─────┐ ┌──────┴──────┐
│ Windows │ │ Linux / │ │ Proxmox / │ ESXi hosts through
│ agent │ │ macOS │ │ Hyper-V │ a proxy agent,
└────┬─────┘ └─────┬─────┘ └──────┬──────┘ M365 through any agent
└──────────────────────────┼──────────────────────────┘
▼ agents write directly to the storage
SFTP · S3 · SMB · Azure · USB · hardened repository
- The console is a Linux server, usually a small VM (2 vCPU, 2–4 GB RAM, 20 GB disk). It does not store backup data.
- Agents run as a service on every protected machine. They connect to the console (no open ports on the clients), get their jobs, and write backups directly to the storage.
- Agents trust the console by its certificate fingerprint (pinned when they enroll), so no public certificate authority is needed.
Choose one of five ways. The first one is the fastest.
| Way | Best for | Needs |
|---|---|---|
| 1. Ready-made VM image (OVA, qcow2, VHDX) | import, start, sign in, in a few minutes | VMware, Proxmox/KVM or Hyper-V; no internet access |
| 2. Appliance ISO | a new VM or a physical server, unattended | internet access during installation |
| 3. Install script | an existing Debian, Ubuntu, AlmaLinux or Rocky Linux server | root and internet access |
| 4. Packages by hand | your own PostgreSQL, configuration management, offline servers | the server package from the release |
| 5. Docker | a Docker host, NAS or homelab you already run | Docker with the compose plugin |
Requirements:
- A VM or server with 2 vCPU, 2–4 GB RAM and a 16–20 GB disk.
- Agents must reach the console on TCP 8443, and the storage directly.
These links always point to the newest release:
| File | What |
|---|---|
| backupzit-appliance.ova | VM image for VMware ESXi, Workstation, VirtualBox |
| backupzit-appliance.qcow2 | VM image for Proxmox VE and KVM |
| backupzit-appliance-vhdx.zip | VM image for Hyper-V (generation 1) |
| backupzit-appliance.iso | appliance installer ISO |
| install.sh | install script for an existing Linux server |
| SHA256SUMS | checksums of the images and the ISO |
The agent installers (MSI, deb, rpm), the server packages and the Linux recovery ISO are listed on the release page.
- Import the image:
- VMware ESXi: in the Host Client choose Create / Register VM → Deploy a virtual machine from an OVF or OVA file and select
backupzit-appliance.ova. On vSphere use Deploy OVF Template. - Proxmox VE: create a VM without a disk (2 vCPU, 2–4 GB RAM, VirtIO network). Copy
backupzit-appliance.qcow2to the node, then run:Attach the imported disk as SCSI, make it the boot disk and enable the QEMU guest agent.qm importdisk <vmid> backupzit-appliance.qcow2 local-lvm - Hyper-V: unzip
backupzit-appliance-vhdx.zip. Create a generation 1 VM with 2–4 GB RAM and choose the VHDX as its disk.
- VMware ESXi: in the Host Client choose Create / Register VM → Deploy a virtual machine from an OVF or OVA file and select
- Start the VM. Its screen shows the address of the web console and the initial password of the user
admin. - Open
https://<address>:8443in a browser. The browser warns once about the self-signed certificate. Sign in asadminand change the password.
The appliance gets its address by DHCP. On the VM's own screen, sign in as bzadmin (the initial password is shown on that screen, a random one for each appliance; it must be changed). A setup menu opens, where you can set:
- a static address,
- the server name,
- the time zone (e.g.
Europe/Belgrade; the appliance starts in UTC), - SSH on or off.
The appliance is Debian with BackupZit and PostgreSQL, hardened SSH (no root sign-in, no forwarding, strong ciphers), hardened kernel settings and no answers to ICMP timestamp requests; each release image is checked with Trivy, Lynis, testssl.sh and Nuclei (see SECURITY.md).
- Create a VM or use a server with 2 vCPU, 2–4 GB RAM and a 16 GB or larger disk.
- Boot it from
backupzit-appliance.iso. After 5 seconds the installation starts by itself:- it erases the first disk;
- it installs Debian, PostgreSQL and the console;
- it takes about 10–20 minutes and needs internet access.
- After the restart, the screen shows the console's address and the initial
adminpassword, as with the VM image.
On Debian 12+, Ubuntu 22.04+, AlmaLinux or Rocky Linux 9+ (x86-64), as root:
curl -fsSL https://github.com/Max-Zit/backupzit/releases/latest/download/install.sh | sudo sh
The script:
- installs PostgreSQL;
- downloads the newest release and verifies its signature and checksum;
- installs the console and creates the database with a random password;
- turns on automatic security updates;
- opens port 8443 in the firewall;
- prints the console's address and the initial
adminpassword.
Options go after sh -s --:
| Option | Effect |
|---|---|
--version 0.50.0 |
install this release instead of the newest |
--source URL |
download from a mirror laid out like https://github.com/Max-Zit/backupzit/releases (the default), or from a local folder with the release files |
--db postgres://user:pw@host:5432/db |
use an existing PostgreSQL database |
--hosts backup.example.local,10.0.0.10 |
names and addresses for the console's certificate |
--no-auto-updates |
leave automatic security updates as they are |
Running the script again updates BackupZit and keeps the configuration and data. To read the script before running it, use curl -fsSLO …/install.sh; less install.sh; sudo sh install.sh.
Debian / Ubuntu
apt install postgresql
apt install ./backupzit-server_*.deb
AlmaLinux / Rocky Linux
dnf install postgresql-server && postgresql-setup --initdb && systemctl enable --now postgresql
dnf install ./backupzit-server-*.rpm
On AlmaLinux and Rocky Linux, PostgreSQL must accept password sign-in:
- In
/var/lib/pgsql/data/pg_hba.conf, changeidenttoscram-sha-256on the127.0.0.1and::1lines. - Restart PostgreSQL.
Create the database and start the console:
sudo -u postgres psql -c "SET password_encryption = 'scram-sha-256'; CREATE USER backupzit WITH PASSWORD 'choose-a-strong-password'"
sudo -u postgres psql -c "CREATE DATABASE backupzit OWNER backupzit"
Write the settings into /etc/backupzit/server.env:
BACKUPZIT_DB=postgres://backupzit:choose-a-strong-password@localhost:5432/backupzit?sslmode=disable
BACKUPZIT_PUBLIC_URL=https://backup.example.local:8443
BACKUPZIT_TLS_HOSTS=backup.example.local,10.0.0.10
Then start the console:
systemctl start backupzit-server
The initial admin password is in /var/lib/backupzit/initial-admin-password.txt. To reset a forgotten password, run on the server:
set -a; . /etc/backupzit/server.env; set +a
backupzit-server --set-admin-password 'NEW-PASSWORD'
Lost the authenticator app and the recovery codes? backupzit-server --reset-two-factor USER (same environment) turns two-factor sign-in off for that user and signs the user out; it is recorded in the audit log.
Just trying it out? This runs a private PostgreSQL in the data folder and serves the console over plain HTTP on localhost (Windows or Linux, no installation):
backupzit-server --dev-embedded-db --data-dir ./bzdata --dev-http 127.0.0.1:8080
The console is also published as a container image, ghcr.io/max-zit/backupzit, built from the same signed server package. Put docker-compose.yml and .env.example into a folder, copy .env.example to .env, set the database password and the console's address, then:
docker compose up -d
docker compose exec backupzit backupzit-server --initial-password
Open https://<host>:8443 and sign in as admin. To update: docker compose pull && docker compose up -d — the console shows when a new version is available, and keeps a copy of itself before the new version changes the database. Tags: latest (official releases), testing (release candidates) or a version. Details are in the guide under Installation → Docker.
- Sign in at
https://<console>:8443asadminand change the password (My account). - Add storage: open Storage → Add storage target and choose, for example, an SFTP server, S3 bucket, SMB share or hardened repository. The connection is tested when you save, by the console or by an agent of your choice. Write down the recovery key it shows: with it, backups can be restored even without the console.
- Enroll agents: on Agents click Create enrollment token and install the agent on each machine with the code (see Installing agents). Machines appear within a minute.
- Create a backup job under Backup jobs: choose the agent, what to back up, the storage, a schedule (e.g. daily at 22:00) and the retention (e.g. 14 daily, 8 weekly, 12 monthly, 5 yearly).
- Optionally:
- email notifications under Settings → Email;
- a trusted HTTPS certificate under Settings → Certificate (upload or Let's Encrypt);
- the time zone under Settings → Network.
The complete guide (all job kinds, restores, bare-metal recovery, security, troubleshooting) is built into the console under Documentation.
On the console's Agents page, Create enrollment token shows an enrollment code (BZ1-…). One code is valid for 7 days and works for any number of machines.
Windows (10, 11, Server 2016 and newer; Windows 7 / 2008 R2 / 2012 R2 use the -legacy.msi):
- Run the MSI and paste the code when the installer asks for it.
- Silent install (GPO, Intune, RMM):
msiexec /i backupzit-agent-<version>-x64.msi /qn ENROLLCODE="BZ1-..."
Linux (Debian, Ubuntu, AlmaLinux, Rocky Linux, Proxmox VE nodes):
apt install ./backupzit-agent_*.deb # or: dnf install ./backupzit-agent-*.rpm
backupzit-agent enroll --code "BZ1-..."
systemctl enable --now backupzit-agent
macOS (Macs with Apple silicon or Intel, macOS 13 and newer):
- Download
backupzit-agent_<version>_darwin_universal.pkgfrom the Agents page, open it and follow the installer. It installs the agent service (a LaunchDaemon, running as root from boot) and the BackupZit menu bar app, which then asks for the enrollment code. - Paste the code into the menu bar app (later: Enroll this Mac… in its menu); macOS asks for an administrator's password. In Terminal it works too:
sudo /Library/BackupZit/bin/backupzit-agent enroll --code "BZ1-..."
- Full Disk Access: only the user of the Mac can grant it, in System Settings → Privacy & Security → Full Disk Access (add
/Library/BackupZit/bin/backupzit-agent). The installer's last page and the menu bar app's permission assistant guide through it; without it, protected folders (Mail, Messages, Safari, Desktop, Documents, other apps' data) are skipped and backups warn. - MDM (Jamf, Intune, ...): write the code to
/Library/Application Support/BackupZit/enroll-code(owned by root, readable by root only: the code enrolls any number of Macs for 7 days) before installing the package; the installation enrolls the Mac and deletes the file, also when enrolling fails:Aecho "BZ1-..." | sudo sh -c 'umask 077; mkdir -p "/Library/Application Support/BackupZit"; cat > "/Library/Application Support/BackupZit/enroll-code"'backupzit-enroll.txtnext to the.pkgon the Mac's startup disk (e.g. in/Users/Shared; not on a USB stick or a network share, where any file can claim to belong to root) also works for a Mac that is not enrolled yet, if it belongs to root or an administrator and nobody else may change it. - Uninstall:
sudo /Library/BackupZit/uninstall.sh(--purgealso deletes the configuration and the log).
From the console: under Agents → Install on a machine from here, the console installs the agent itself, over SSH (Linux) or WinRM (Windows).
VMware ESXi: nothing is installed on the host. Add it under Agents → VMware ESXi hosts and choose an agent as its proxy. With Connect through the proxy agent, only the proxy needs to reach the host (customer networks behind NAT or with overlapping addresses).
Snapshots and checkpoints a backup creates on a hypervisor are recorded before they are made and removed with a check afterwards; what an interrupted backup leaves is cleaned up by the agent and listed on the dashboard until it is gone.
Console. It checks the official releases every day; Settings → Updates → Install updates it:
- every release is signed, and the console verifies the signature;
- the database is backed up first;
- if the new version does not start, the previous version and database are restored automatically.
Without internet access, upload the release files on the same page. Updating with the package manager or by running the install script again also works.
Agents are updated by the console, automatically after a console update or with Update all agents. Macs too: the agent installs the new .pkg itself. A running backup is never interrupted. Agents install only an installer named in the list signed with the release key, which they check themselves, and never go back to an older version; update the console first.
Operating system updates of the appliance are shown and installed under Settings → Updates as well.
| Component | Systems |
|---|---|
| Console | Debian 12+, Ubuntu 22.04+, AlmaLinux / Rocky Linux 9+ (x86-64), PostgreSQL 13+; or the ready-made appliance |
| Windows agent | Windows 10, 11, Server 2016 and newer (MSI); Windows 7 SP1, Server 2008 R2 SP1, 2012 R2 (legacy MSI) |
| Linux agent | Debian, Ubuntu, AlmaLinux, Rocky Linux (64-bit), Proxmox VE 7, 8 and 9 |
| macOS agent | macOS 13 and newer on Apple silicon and Intel (one universal package): files and folders. Not on a Mac: system / bare-metal backups (the sealed system volume is reinstalled), disk images, hypervisor hosts and the VMware proxy, NAS share jobs |
| Hypervisors | Proxmox VE 7/8/9, Hyper-V (Windows Server 2016+ including failover clusters, Windows 10/11), VMware ESXi 6.7, 7, 8 (also with the free license), vCenter Server 7, 8 |
| Microsoft 365 | any tenant with an app registration (application permissions, read-only) |
Planned: instant recovery for Hyper-V, restore directly into Microsoft 365 mailboxes, Teams chats.
The agent also works without a console, from the command line:
backupzit-agent init --repo <location>
backupzit-agent backup --repo <location> [--exclude PATTERN] [--tag TAG] <path>...
backupzit-agent snapshots --repo <location>
backupzit-agent ls --repo <location> <snapshot|latest>
backupzit-agent restore --repo <location> (--target DIR | --original) [--include PATH] [--verify] <snapshot|latest>
backupzit-agent check --repo <location> [--read-data]
backupzit-agent repair --repo <location> [--dry-run]
Repository locations:
D:\backups\repoor/srv/backups/repo— local directorysftp://user@host[:port]/path— SFTP (/~/pathfor a path relative to the home directory)smb://[domain;]user@host/share[/path]— SMB 2/3 share (Windows server, NAS, Samba); password viaBACKUPZIT_SMB_PASSWORDs3://endpoint[:port]/bucket[/prefix]— S3 compatible storage (AWS, Wasabi, Backblaze B2, MinIO, …); add?tls=falsefor plain HTTP. Credentials viaBACKUPZIT_S3_ACCESS_KEY/BACKUPZIT_S3_SECRET_KEYusb://LABEL/path— removable disk found by its volume label (wildcards:usb://BZBACKUP*/BackupZit)azure://account/container[/path]— Azure Blob Storage; key viaBACKUPZIT_AZURE_KEYor SAS token viaBACKUPZIT_AZURE_SAS;?endpoint=URLfor Azure Stack/sovereign clouds/Azuritehardened://host[:port]/path— BackupZit hardened repository (port 8500 by default); access key viaBACKUPZIT_HARDENED_KEY, certificate pin viaBACKUPZIT_HARDENED_FINGERPRINT
SFTP authentication: --sftp-password (or BACKUPZIT_SFTP_PASSWORD) and/or
--sftp-key. The server host key must be pinned with --sftp-hostkey SHA256:...;
on first connect without it, the agent prints the fingerprint the server presented.
Create the bucket with Object Lock enabled (e.g. mc mb --with-lock, or the
"Object Lock" option on AWS / Wasabi / Backblaze B2) and enable Immutable backups
on the storage target (CLI: --s3-lock-days N). Every object except repository
lock files is written in compliance mode for N days (+1 day margin): nobody,
not even an attacker holding the storage keys or the bucket owner, can delete or
overwrite it before then. After each backup the agent extends the lock of all data
that the job's retention still keeps (also old data the new backup reuses through
deduplication), so every kept restore point stays locked, e.g. a monthly backup
kept for a year. Also give the bucket a default retention in compliance mode of at
least N days (mc retention set --default COMPLIANCE 30d): the bucket then locks
new objects itself, even ones a compromised computer writes without a lock. The
console's connection test warns when it is missing.
Deleting (retention, prune, an attacker) only adds delete markers. Add a lifecycle
rule that expires noncurrent versions (e.g. mc ilm rule add --noncurrent-expire-days 1 --expire-delete-marker) so space is freed once locks end.
If backups were deleted or overwritten, read the repository as it was before: (also works for the hardened repository)
backupzit-agent snapshots --repo s3://... --as-of 2026-10-01T14:30
backupzit-agent restore --repo s3://... --as-of 2026-10-01T14:30 --target D:\Restore latest
The point-in-time view is read-only and uses object versions, so nothing on the storage changes.
An immutable, write-once backup server for a Linux machine (Veeam-style
"hardened repository"), installed from the backupzit-repo deb/rpm package:
apt install ./backupzit-repo_*.deb # or dnf install ./backupzit-repo-*.rpm
vi /etc/backupzit-repo/repo.env # immutability period, storage directory
systemctl start backupzit-repo
backupzit-repo add-key office-console # access key (shown once)
backupzit-repo fingerprint # certificate fingerprint
Add a Hardened repository storage target in the console with the server address, access key and fingerprint.
- Files are write-once: existing files are never overwritten.
- Every file gets the filesystem immutable attribute (
chattr +i) for the period configured on the repository server (+1 day). Not even root can delete or change it without removing the attribute first. The service runs as an unprivileged user whose only capability isCAP_LINUX_IMMUTABLE. - Deletes from clients (retention, prune — or an attacker with the access key)
only hide files until their period ends; then they are removed.
backupzit-repo statusshows hidden data,backupzit-repo undelete --since TIMEbrings it back, and--as-of TIMEon the agent CLI reads the state before. - Access keys can be bound to one repository path and limited, so a
compromised computer reaches only its own backups and cannot fill the disk:
backupzit-repo add-key pc-anna --path office/pc-anna --quota 500G --daily 100G --rate 600(change withset-key). Limits only refuse new uploads; they never delete anything and never slow down restores. - With
BACKUPZIT_REPO_METRICS_TOKENset,https://<server>:8500/metricsserves Prometheus metrics per access key (new data, deletes, refused requests, used space), measured by the server rather than reported by the agents. - After setup, disable SSH and other remote access to the server and protect its console (iDRAC/iLO/hypervisor) — the immutability is only as strong as the root account of that machine.
Encrypted repositories (default for new storage targets in the console) seal every
blob, pack header, index and snapshot with AES-256-GCM under a random master key; the
master key and chunker polynomial are stored in keys/<id>, sealed with a key derived
from the recovery key via Argon2id. The plaintext config only states the scheme.
With the recovery key (console: Storage → Recovery key) backups can be restored with
the CLI alone: BACKUPZIT_PASSWORD=<key> backupzit-agent restore --repo ....
config repository id, format version, chunker polynomial
data/<xx>/<pack-id> pack files holding blobs
index/<index-id> blob -> pack/offset map (accelerator; rebuildable)
snapshots/<id> one JSON document per backup run
- Files are split with content-defined chunking (Rabin, 512 KiB – 8 MiB, ~1 MiB average). A chunk is identified by the SHA-256 of its content, so identical data is stored once across all files, snapshots and machines that share the repository.
- Directories are stored as JSON tree blobs (names, types, sizes, mtimes,
Windows attributes, chunk lists). On Unix each node also has a
unixobject: owner (uid,gid,user,group),rdev/charof device nodes,xattrsand thelink_keyof hard links. macOS agents add two optional fields, absent everywhere else:flags, the BSD file flags as read (st_flags: hidden, nodump, immutable, append-only, ...), andbirthtime, the creation time. A restore sets again only the flags a user may set (andSF_*ones as root), after the times and, for immutable or append-only files, after the file has its name; neverUF_COMPRESSED: the backup holds the decompressed content, and the kernel hides the compressed data (com.apple.decmpfs) from the backup. A later restore over locked files, folders (Finder's "Locked"), links or named pipes clears their immutable and append-only flags first (owner or root only;SF_*ones cannot be cleared outside single-user mode) and sets the stored ones again. - A macOS backup of a folder keeps some system folders below it as empty
folders: other volumes (
/Volumes), swap (/System/Volumes/VM,/private/var/vm), the support volumes in/System/Volumes,/dev, temporary files (/private/tmp,/private/var/folders), caches (/Library/Caches,/System/Library/Caches,~/Library/Caches), the Trash (~/.Trash,.Trashes), Spotlight, FSEvents, document versions, local and HFS+ Time Machine backups, on/, on the data volume/System/Volumes/Dataand at the root of other volumes. With/as a source, the data volume's folders that/already shows through their firmlinks (/Users,/Applications, ...) are not read twice. A folder named as a source of the job is always read (/Volumes/USB,~/.Trash). - Blobs are zstd-compressed when that makes them smaller and grouped into ~16 MiB pack files. Each pack ends with a header listing its blobs, so the index can always be rebuilt from the packs themselves.
- Every object is named by its SHA-256; every read is verified against it.
- Writes are atomic (temp file + rename). Order: packs → index → snapshot, so an interrupted backup never produces a snapshot that references missing data.
- Incremental backups skip files whose size and mtime are unchanged since the parent snapshot; changed files are re-read but only new chunks are uploaded. Every snapshot is a full, independent restore point.
BackupZit is meant for organizations that want one free backup product for a mixed environment, on their own server. A short, honest comparison:
| BackupZit | Veeam Backup & Replication, NAKIVO | Proxmox Backup Server | |
|---|---|---|---|
| License | AGPLv3, free without limits on machines or storage | commercial; Veeam Community Edition is free for up to 10 workloads | AGPLv3, free |
| What it backs up | Windows, Linux and macOS (preview) machines, Proxmox VE, VMware ESXi, Hyper-V, SQL Server, PostgreSQL, MySQL, NAS shares, Microsoft 365 | a very wide range of platforms and applications | Proxmox VE VMs and containers, Linux hosts |
| Maturity | young project (first release October 2026) | established for many years, certified support | established, backed by Proxmox |
Where the others are the better choice:
- Veeam or NAKIVO if you need their wider range of platforms and applications, a long track record or certified vendor support.
- Proxmox Backup Server if you run only Proxmox VE and Linux: it is built into Proxmox and very efficient there.
Where BackupZit fits: Windows servers and PCs with bare-metal recovery, VMs on Proxmox VE, VMware ESXi and Hyper-V side by side, databases and Microsoft 365 — in one console, with no license limits, and running on a small Linux VM.
Step-by-step guides on backupzit.com/guides, each in all 14 languages:
- Proxmox VE VM backup
- VMware ESXi backup, also with the free license
- Free Hyper-V backup
- Microsoft 365 backup on your own server
- Bare-metal restore of a Windows server
- 3-2-1 backup with immutable copies
The complete reference is the guide built into the console (Documentation).
BackupZit is a young project: the first public release was 4 October 2026, and new versions come out often. Every release is tested in a lab with Proxmox VE, VMware ESXi, Hyper-V, Windows and Linux machines (the macOS agent by its contributor on Macs and in our build pipeline on macOS) before it is published; release candidates are offered on a separate testing update channel first. Please report anything that does not work for you.
Not supported yet (see Not yet included in each chapter of the built-in guide):
- macOS: the agent is new. NAS share jobs are not available on a Mac yet (use a Windows or Linux agent), PostgreSQL and MySQL jobs have not been validated on macOS, and packages signed with an Apple Developer ID (which keep Full Disk Access across updates) have not been tested in the field yet; unsigned builds lose Full Disk Access with each update.
- Proxmox VE: container volumes that are directories on non-ZFS storage, and replicas of containers on ZFS; raw disks on directory/NFS/CIFS storage and thick LVM only while the guest is stopped.
- VMware: a vCenter with several datacenters (add the hosts of the others directly), raw device mappings and independent disks, VMs with snapshots of their own, instant recovery through a Windows proxy agent.
- Hyper-V: shared VHDX, VHD Set and pass-through disks.
- XCP-ng.
Is BackupZit free? Yes. It is free and open source under the GNU AGPLv3, with no limits on machines, VMs or storage. MaxZit offers optional commercial support.
How do I back up Proxmox VE virtual machines? Install the agent on a Proxmox node and create a Proxmox VE job: VMs and containers are backed up agentless with changed blocks only, can be restored as new guests and started directly from the backup (instant recovery).
Can it back up VMware ESXi with the free ESXi license? Yes, through a proxy agent; changed block tracking keeps incremental backups small, and VMs can be restored as new VMs, in place, or started over NFS (instant recovery).
How do I back up Hyper-V? Install the Windows agent on the Hyper-V host and create a Hyper-V job; VMs are backed up agentless with resilient change tracking. For a failover cluster, install the agent on every node and choose the cluster: one job covers all clustered VMs, wherever they run.
Can I restore a whole Windows or Linux server onto new hardware (bare-metal recovery)?
Yes. Boot the Windows recovery ISO (built with build-winpe.ps1) or the Linux recovery ISO, pick the backup in the console and restore the disks; drivers for different hardware are handled.
Does BackupZit back up Microsoft 365? Yes: Exchange Online mail (.eml), calendars, contacts, OneDrive and SharePoint through Microsoft Graph with read-only application permissions.
Where are backups stored, and are they safe from ransomware? On SFTP/NAS, S3-compatible storage, SMB, Azure Blob Storage, USB or local disks, encrypted with AES-256 and deduplicated. Immutable backups (S3 Object Lock or the write-once hardened repository), detection of ransomware-like changes and automatic restore tests protect them.
Does it need the cloud or internet access? No. The console runs on your own server in your own network; nothing has to be exposed to the internet.
- Questions and ideas: GitHub Discussions.
- Bugs: open an issue — the console's Report a bug link fills in the version for you.
- Security problems: report them privately, see SECURITY.md.
- Contributing: see CONTRIBUTING.md.
- Commercial support (in English): plans on the MaxZit portal.
If BackupZit is useful to you, a ⭐ on GitHub helps other administrators find it.
go test ./... # end-to-end tests (local + in-memory SFTP, server + embedded PostgreSQL)
go build -o bin/ ./cmd/... # agent + server
.\packaging\windows\build-msi.ps1 -Version X.Y.Z # Windows MSI (WiX 5)
sh packaging/macos/build-pkg.sh X.Y.Z # macOS .pkg (universal: Apple silicon and Intel), on a Mac (Go, Xcode command line tools)
sh packaging/linux/build-packages.sh X.Y.Z # .deb/.rpm (nfpm); carries the .pkg from dist/ (NO_PKG=1: without it)
sh packaging/appliance/build-iso.sh dist/backupzit-server_X.Y.Z_amd64.deb # appliance ISO (on Debian: xorriso, isolinux)
sh packaging/appliance/build-images.sh dist/backupzit-server_X.Y.Z_amd64.deb # OVA, qcow2, VHDX (on a Proxmox VE host)
sh packaging/publish-release.sh X.Y.Z /path/to/release.key notes.txt # sign and publish as GitHub release (consoles update from it)
go run ./tools/release sign -key release.key -version X.Y.Z -dir <release folder> # signed update manifest
build-pkg.sh writes dist/backupzit-agent_X.Y.Z_darwin_universal.pkg. Without signing variables its
programs are signed ad hoc, and macOS drops their Full Disk Access after each update. To sign
with an Apple Developer ID, set BACKUPZIT_MAC_APP_IDENTITY ("Developer ID Application: ...")
and BACKUPZIT_MAC_INSTALLER_IDENTITY ("Developer ID Installer: ..."), and to notarize,
BACKUPZIT_MAC_NOTARY_PROFILE (a keychain profile of xcrun notarytool), as
BACKUPZIT_SIGN_THUMBPRINT does for the MSI. tools/release puts the package in the signed
lists, and CI builds and tests on macOS too. BACKUPZIT_REPORT_OS overrides the system a macOS agent
reports to the console (a development aid, ignored on Windows and Linux).
Releases for the console's self-update are signed with the Ed25519 release key; its public
key is built into internal/update (TrustedKeys). Keep release.key offline and backed up:
without it no update can be published to existing consoles.
GNU Affero General Public License v3.0 — see LICENSE. BackupZit is free to install and use; MaxZit offers commercial support.
Third-party components keep their own licenses (MIT, BSD, Apache 2.0, ISC, MPL 2.0, zlib, public domain — all compatible with the AGPL). Their texts are in THIRD_PARTY_LICENSES.txt, which every package installs; regenerate it with go run ./tools/licenses > THIRD_PARTY_LICENSES.txt (it fails on a license that is not known to be compatible). internal/vss/vss_windows.go is adapted from restic under the BSD 2-Clause License; its header keeps the original copyright.
The appliance images and the Linux recovery ISO also contain Debian packages under their own licenses (GPL and others); where to get their source code is in SOURCE-CODE.txt, which is included in every image and attached to every release.
The Windows agent installer (MSI) also carries unmodified parts of the WiX Toolset 5 (its standard dialogs and a custom action library) under the Microsoft Reciprocal License; THIRD_PARTY_LICENSES.txt names them, with the license text and where their source code is.
Veeam, NAKIVO, VMware, ESXi, Hyper-V, Microsoft 365, SQL Server and Proxmox are trademarks of their respective owners; BackupZit is not affiliated with them.



