Install BackupProof
Install the dashboard on one machine. It protects that machine straight away, and every other server connects to it with one command.
Install the dashboard
Pick the machine that will run the dashboard: a small server, a NAS or a spare computer. It needs no database or other software.
Linux or macOS
curl -fsSL https://backupproof.dev/install.sh | sudo sh
Windows
Right-click Start, choose Terminal (Admin), then run:
irm https://backupproof.dev/install.ps1 | iex
Docker
docker run -d --name backupproof -p 8420:8420 -v backupproof-data:/data ghcr.io/chmuzamil/backupproof:latest
To let the dashboard protect folders on the Docker host, mount them read-only, for example -v /srv:/host/srv:ro. The setup code is printed in the container log: docker logs backupproof 2>&1 | grep "setup code".
When the installer finishes it shows the address to open, for example http://192.168.1.20:8420, and a one-time setup code. Open the address, create your admin account, and choose Protect something. The getting-started guide walks through the rest.
The setup code
Until an admin account exists, anyone who can reach the dashboard could create one. To stop that, creating the first account from another machine needs the setup code the installer printed. It’s also saved in setup-code.txt in the data folder, and it’s deleted once the account exists.
If you open the dashboard on the same machine it runs on, the code isn’t needed.
Connect other servers
In the dashboard, open Servers and choose Connect a server. Pick Linux, macOS or Windows and copy the command shown. Run it on the other server. It appears in the dashboard within a minute.
- The command contains a connection code that works once and expires after an hour.
- Servers only make outbound HTTPS connections to the dashboard, so you don’t need to open any ports on them.
- Backup data goes straight from each server to your storage. It never passes through the dashboard.
- For database restore tests, the server that runs them needs Docker. File backups don’t.
If the dashboard says other servers can’t reach it, enter the address they should use under Settings.
Use it over the internet (HTTPS)
Put the dashboard behind HTTPS before other servers connect to it over the internet, because their jobs carry storage passwords. On Linux the installer can do it for you.
- Point a domain name at the server. At your DNS provider, add an A record for a name like
backup.example.comwith the server’s IP address. It can take a few minutes to work. - Run the installer with
--domain. It checks the name points at this server, then sets up HTTPS with a free Let’s Encrypt certificate: through nginx and certbot if nginx is installed, through Caddy if Caddy is, and by installing Caddy if neither is. The dashboard then only listens on127.0.0.1, and its public address is set for you.
Install with HTTPS
curl -fsSL https://backupproof.dev/install.sh | sudo sh -s -- --domain backup.example.com --email you@example.com
Replace backup.example.com with your name. The email is optional; Let’s Encrypt uses it to warn you if a certificate isn’t renewing. Then open https://backup.example.com and create your admin account with the setup code. If the name doesn’t point at the server yet, the installer says so and changes nothing; fix the DNS and run the same command again.
Already have HTTPS in front of it
If your own proxy, load balancer or tunnel already provides HTTPS, tell BackupProof its public address with --public-url and keep the dashboard local:
curl -fsSL https://backupproof.dev/install.sh | sudo sh -s -- --public-url https://backup.example.com --listen 127.0.0.1:8420
Point the proxy at 127.0.0.1:8420. With Caddy, for example, that’s backup.example.com { reverse_proxy 127.0.0.1:8420 }. You can also change the address later under Settings.
Options go after sh -s --. Written as … | sudo sh --public-url …, the shell reads the option itself and stops with “Illegal option”.
Installer options
| Linux / macOS | Windows | What it does |
|---|---|---|
--domain NAME | Not available | Serve the dashboard at https://NAME and set up HTTPS (Linux). |
--email ADDR | Not available | Email for certificate expiry notices, with --domain. |
--version v0.1.1 | -Version v0.1.1 | Install a specific release instead of the latest. |
--listen 0.0.0.0:8420 | -Listen 0.0.0.0:8420 | The address and port the dashboard listens on. Default 0.0.0.0:8420, or 127.0.0.1:8420 with --domain. |
--public-url URL | -PublicUrl URL | The address other servers use to reach the dashboard. |
--uninstall | -Uninstall | Remove the service and program. Your data is kept. |
On Linux and macOS, pass options after sh -s --, for example:
curl -fsSL https://backupproof.dev/install.sh | sudo sh -s -- --domain backup.example.com
Upgrade or uninstall
To upgrade, run the same install command again. It replaces the program, restarts the service and keeps your data. On Linux and macOS it also keeps the dashboard’s address and listen settings, so you don’t need to repeat the options.
Data lives in /var/lib/backupproof on Linux, /Library/Application Support/BackupProof on macOS and C:\ProgramData\BackupProof\server on Windows. It holds the dashboard database and its keys, so include it in your own off-site backups.
Uninstall on Linux or macOS
curl -fsSL https://github.com/chmuzamil/BackupProof/releases/latest/download/install.sh | sudo sh -s -- --uninstall
Uninstall on Windows
In PowerShell as Administrator:
& ([scriptblock]::Create((irm https://github.com/chmuzamil/BackupProof/releases/latest/download/install.ps1))) -Uninstall
This removes the service and the program. Your data folder is kept, so reinstalling picks up where you left off; delete it to remove everything. Backups in your storage are never touched. If you installed with --domain, the web server site and its certificate stay in place: for nginx that’s backupproof-NAME.conf (remove it, then sudo certbot delete --cert-name NAME), for Caddy the block in /etc/caddy/Caddyfile.
What the installer does
- Detects your system and processor.
- Downloads the matching program and the published
SHA256SUMSfile from the release. - Checks the program against its checksum and stops if they don’t match.
- Installs it to
/usr/local/bin/backupproof(orC:\Program Files\BackupProof) and sets it up as a service that starts with the machine. - With
--domainon Linux: checks the name points at this server, then sets up nginx with certbot, or Caddy, for HTTPS. It never fails the install over HTTPS; it explains what to do instead. - Starts it and prints the address and setup code.
You can read both installers before running them: install.sh and install.ps1. Prefer to install by hand? See Download.
Build from source
You need Go 1.27 or later. The program is pure Go with no C dependencies, so it builds for every platform from any machine.
git clone https://github.com/chmuzamil/BackupProof.git
cd BackupProof
make build # bin/backupproof
./bin/backupproof server