What this guide covers
BackupZit is free and open source under the GNU AGPLv3, with no per-user licences and no limits on accounts or storage. It is self-hosted: you run the console on your own server, an agent downloads the tenant's data, and the backups go to storage you choose. MaxZit, the company behind BackupZit, offers optional paid support. This guide is for readers who search for a Veeam Backup for Microsoft 365 alternative or compare a backup on their own server with a backup bought as a service; it does not compare prices or features of other products and describes BackupZit only. The setup itself, step by step, is in the Microsoft 365 backup guide.
- At a glance
- Own server or a service
- What is covered
- Where the data lives
- Retention and history
- Restores
- Permissions and access
- First backup and later runs
- How to test it
- Limits
Veeam and Veeam Backup for Microsoft 365 are trademarks of their owner; Microsoft 365, Exchange Online, OneDrive, SharePoint and Teams are trademarks of Microsoft. BackupZit and MaxZit are not affiliated with, endorsed by or connected to Veeam or Microsoft. The names are used here only because many people search for them.
At a glance
| Question | BackupZit |
|---|---|
| What is backed up | Exchange Online mail, calendars and contacts, OneDrive, SharePoint document libraries (with the files of Teams) |
| What is not | Teams chats and channel messages, SharePoint lists and pages, shared mailboxes without a user account, and a few details (below) |
| Where the data lives | On your storage: SFTP, S3-compatible, SMB, Azure Blob, USB or local disks, hardened repository; encrypted on the agent |
| Retention | Per job: most recent, daily, weekly, monthly and yearly backups; a copy job can keep a longer history elsewhere |
| Restore | Browse and download, or restore into a folder on an agent, as .eml, .ics, .vcf and the original files |
| Not yet | Restoring directly into a mailbox or OneDrive (planned) |
| Permissions | An app registration with read-only Microsoft Graph application permissions; nothing in the tenant is changed |
Own server or a service
A Microsoft 365 backup bought as a service runs the backup software and keeps the copies for you. With BackupZit both stay with you: the console runs on your server, an agent you choose downloads the data, and the backups land on storage you own, encrypted with a key only you have. That gives you control over where the copies are and who can reach them, and the only running cost is the storage.
It also means you take on the work a service would do:
- a small Linux VM for the console (2 vCPU, 2–4 GB RAM, 20 GB disk) — the appliance image is the quickest way;
- an agent with HTTPS access to
login.microsoftonline.com,graph.microsoft.comand*.sharepoint.com; the agent on the console machine is enough; - storage with room for the tenant's mail and files, and ideally a second copy in another place;
- keeping the app's client secret valid (it has a lifetime you choose) and keeping console and agents current — the console installs signed updates under Settings → Updates and then updates the agents;
- watching the runs: failures, warnings and missed RPOs are on the dashboard and can be sent by email, Slack, Microsoft Teams or webhooks.
The same console also backs up servers, PCs, virtual machines and databases, so a Microsoft 365 job can share storage, alerts and reports with them.
What is covered
A job of the kind Microsoft 365 reads one tenant through Microsoft Graph. You tick Mail, OneDrive, Calendars and contacts and SharePoint sites in any combination, and choose All accounts with a mailbox or OneDrive (accounts added later are included, with exceptions) or Only these accounts; sites the same way. Choose from the list reads the tenant's accounts and sites so you can tick them.
| Data | Covered | Stored as |
|---|---|---|
| yes — all mail folders and subfolders, messages with attachments | .eml per message | |
| Calendars | yes — every calendar of the account, events with attendees, reminder and recurrence | .ics per event, times in UTC |
| Contacts | yes — contacts and contact folders | .vcf per contact |
| OneDrive | yes — all files and folders | the files, with their modification time |
| SharePoint | document libraries of each site (Documents, Site Assets, your own libraries) | the files and folders |
| Teams | Teams files (they are stored in SharePoint and backed up with it); not chats or channel messages | with SharePoint |
Not included: attachments of calendar events, contact photos, single changed occurrences of a series, SharePoint lists and pages, Teams chats and channel messages, and shared mailboxes without a user account. Accounts without a licence have no mailbox or OneDrive and are skipped. If one of these matters to you, keep the tool that covers it for that part.
Where the data lives
- Path: the agent downloads straight from Microsoft and writes to the storage target; the console stores no backup data.
- Storage: SFTP, S3-compatible storage (AWS, Wasabi, Backblaze B2, MinIO, Google Cloud Storage), SMB shares, Azure Blob Storage, rotating USB disks, local disks or the BackupZit hardened repository. MaxZit hosts no storage.
- Encryption: with Encrypt backups (AES-256) on (the default) mail and files are encrypted on the agent before they leave it. Keep the Recovery key away from the backups; without it nobody can read them.
- Layout: each tenant has its own repository on the target (folder
m365-<tenant ID>), deduplicated and compressed, so the downloading agent can be replaced without starting over. - Second copy: a Backup copy job copies the Microsoft 365 backups to another target, for example S3 with Object Lock, where nobody can delete them before the lock ends. Copied backups are restored like the originals. The 3-2-1 guide shows a complete setup.
Retention and history
Every backup is a complete picture of the chosen data at that moment; unchanged messages and files are taken from the previous backup, so they are stored only once. A message or file deleted in the tenant is missing from later backups but stays in the older ones until retention removes them — the retention you set decides how far back you can go.
- Keep backups per job: Most recent, Daily, Weekly, Monthly and Yearly, combined. 3 recent, 7 daily, 4 weekly and 6 monthly keep about half a year with around 20 restore points; Yearly keeps the newest backup of each of the last N years (agents 0.62 or newer).
- A copy job has its own retention, for example 7 daily on the NAS and 12 monthly off-site.
- With Four-eyes approval on, shortening a retention waits for a second user.
- Automatic restore tests (weekly by default) restore a random sample and verify it against the stored checksums; a monthly check reads all stored data.
Restores
- Browse files on a backup run opens an account's mail folders, OneDrive, calendars or contacts, or a SharePoint site. Tick messages, events, files or folders and Download them — one file as it is, several as a ZIP. Open
.emlfiles in Outlook or drag them into a mailbox; import.icsand.vcffiles into Outlook, Google Calendar or Thunderbird. - Restore on agent writes the selection into a folder on any agent:
<folder>/<account>/…and<folder>/SharePoint/…, OneDrive and SharePoint files as they were.
What this means in practice: a deleted message, a calendar or a folder of files comes back in minutes, but it goes back into Microsoft 365 by hand — a mail program for messages, an upload for files. Restoring directly into a mailbox or OneDrive is planned; it will write only into a new folder and never overwrite or delete. If your recovery plan depends on putting whole mailboxes back into the tenant, test this step first.
Permissions and access
- In the tenant: a Global Administrator registers an app once in Microsoft Entra ID and grants admin consent to Microsoft Graph application permissions:
User.Read.All,Mail.Read,Files.Read.All, plusCalendars.ReadandContacts.Readfor calendars and contacts andSites.Read.Allfor SharePoint. All of them only read; BackupZit asks for no write permission. - Fewer mailboxes: an Exchange administrator can limit the app with an application access policy or RBAC for Applications; accounts outside it are reported as not readable.
- The secret: the Client secret is stored encrypted. When it expires, backups fail with
AADSTS7000215; create a new one and enter it in the job before that date. - In the console: four roles — Administrator, Backup operator, Restore operator and Viewer. Roles apply to the whole console, not per job or mailbox: whoever may restore can open every backed-up mailbox, so give the restore roles only to people who may read that mail. Sign-in through LDAP / Active Directory, SAML or OpenID Connect, two-factor sign-in and an Audit log are available.
First backup and later runs
The first backup downloads everything. Microsoft limits how fast an app may read; BackupZit waits when Microsoft asks it to and continues, so a first backup of large mailboxes can take hours. Later backups list the folders again but download only messages and files that are new or changed (read, flagged, moved or edited messages count as changed).
When a job is saved, the console signs in as the app and checks the permissions, accounts and sites, so a wrong secret or missing consent shows at once. A run with warnings lists what could not be read, for example a OneNote notebook; the rest of the backup is complete. An agent that runs several jobs can be allowed up to 8 at once (Jobs at once on the Agents page).
How to test it next to your current backup
- Leave your current backup as it is. BackupZit only reads, so both can run against the same tenant. Give it its own app registration, so the test can be removed again cleanly, and its own storage target.
- Start small: with Choose from the list pick a few accounts, including a large mailbox, and one SharePoint site with Teams files.
- Let the first backup finish and read the run page: the number of messages and files, the warnings and what could not be read.
- Restore, not just back up: download a message and open it in Outlook, import a calendar event, restore a OneDrive folder and a SharePoint library on an agent, and compare them with the originals.
- Check the history: delete a test message in the mailbox and restore it from an older backup; set the retention you would really use.
- Go through the coverage list and the limits below against what your organization needs, and ask in GitHub Discussions if something is unclear.
BackupZit is a young project: the first public release was on 4 October 2026, and new versions come out often. Release candidates go to a separate testing update channel first.
Limits to know
- No restore directly into a mailbox or OneDrive yet (planned); restores are downloads or files in a folder.
- Not backed up: Teams chats and channel messages, SharePoint lists and pages, attachments of calendar events, contact photos, single changed occurrences of a series, shared mailboxes without a user account.
- Calendar times are stored in UTC.
- The first backup of large mailboxes can take hours because Microsoft limits how fast an app may read.
- Roles apply to the whole console; there is no access per mailbox. One organization per console.
- You run the console and bring the storage; MaxZit hosts neither.
- The console and its guide come in 14 languages; paid support is provided in English only.
Next steps
Set it up with the Microsoft 365 backup guide, download BackupZit, see the Microsoft 365 features, or read the chapter Microsoft 365 in the user guide in the console. For a second, immutable copy see the 3-2-1 guide; for everything else the same console covers, the open-source Veeam alternative guide. Questions are welcome in GitHub Discussions; companies can get commercial support from MaxZit (in English).
Veeam and Veeam Backup for Microsoft 365 are trademarks of their owner; Microsoft 365, Exchange Online, OneDrive, SharePoint and Teams are trademarks of Microsoft. BackupZit and MaxZit are not affiliated with, endorsed by or connected to Veeam or Microsoft.