About Zerobyte
Zerobyte is an AGPL-3.0 web interface on top of Restic. Volumes are what you back up (local folders or NFS, SMB, WebDAV and SFTP shares), repositories hold the encrypted, deduplicated snapshots, and backup jobs link the two on a schedule.
Read the security note first: the project discourages running Zerobyte on a server reachable from the internet. On a VPS, have it listen on 127.0.0.1:4096 only and connect over an SSH tunnel. It is still at 0.x, so upgrades can bring breaking changes.
After deploy the interface listens on port 4096. Mounting remote shares needs the SYS_ADMIN capability and /dev/fuse, which the default compose file grants.
What you get with Zerobyte
- Scheduled backup jobs with retention policies
- Encryption, compression and deduplication by Restic
- Sources: local folders, NFS, SMB, WebDAV and SFTP
- Targets: S3, Google Cloud Storage, Azure Blob and rclone
- Notifications and OIDC single sign-on
Zerobyte use cases
- Pull backups of remote SFTP or SMB shares into off-site storage
- Keep versioned copies of app data from other servers
- Follow a 3-2-1 backup plan with an off-site repository
After you deploy Zerobyte
- Once the console shows Running, tunnel in with
ssh -L 4096:127.0.0.1:4096 root@<server IP>and loadhttp://localhost:4096. - Create the admin user on the onboarding screen, then download the recovery key and store it in a password manager.
- Add a volume, create a repository and set up your first backup job.
- Leave
APP_SECRETunchanged once set: it encrypts sensitive data in Zerobyte's database.
Zerobyte ports
Open these in your firewall if you use one: 4096/tcp web interface and API (bind to localhost).
Zerobyte FAQ
What if I lose the recovery key?
Guard it: the file contains the Restic password. If you lose both server access and that password, the backups cannot be recovered.
Why use an SSH tunnel?
Zerobyte's README discourages exposing it to the internet. A tunnel, or a VPN with authentication, keeps the interface private while jobs run on schedule.
Disclaimer. The Zerobyte project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.