Mail Safehouse

Self-hosted backup for Microsoft 365: mail, calendars, contacts, tasks, OneDrive and Entra ID, kept on storage you control. It runs as a few Docker containers on one Linux server, on your own network.

Beta documentation

Mail Safehouse and these pages are in beta. Test it on a server you can rebuild, and keep your current backup running until you have restored from Mail Safehouse yourself. Found a problem? Open an issue.

Start here: Install, one command on Ubuntu 26.04:

curl -fsSL https://mailsafehouse.com/install.sh | bash

Design (planning documents)

Development