The idea
A backup in your own house does not survive a fire, a flood or a burglary. Cloud storage costs money every month and keeps your data with a company. Most people already know someone with a spare disk.
Backup With Friends pairs two small boxes, one at your home and one at your friend's, over an encrypted tunnel. Each side offers the other some space. Your backups go to their box; theirs go to yours.
How it works
- Run the box. One program,
bwfd, on a computer that stays on: a home server, a NAS or a Raspberry Pi. - Exchange one invite. You create an invite string and send it to your friend. They paste it in and choose how much space to offer. You both check a six-word phrase.
- Back up with restic. Your box shows a repository address. Point restic at it, and your backups land on your friend's box.
What your friend can and cannot see
- restic encrypts your data on your own machine before it leaves. Your friend stores files they cannot read.
- Storage is append-only, so ransomware on your computer cannot delete the backups on your friend's box. Removing old snapshots needs your friend to open a 24-hour pruning window.
- Each friend gets their own space with a quota, and can reach only that space.
- The boxes talk over WireGuard, directly to each other. No port forwarding is needed on most home connections.
This server
rv.backupwithfriends.com is the public meeting point. It helps two boxes find each other: it holds small encrypted messages (pairing messages for a day, each box's current address for up to 30 days, in memory only) and tells each box what address the internet sees it at. It never sees your backups, your keys or what is inside the messages.
You do not have to trust it: the meeting point is a single small program that anyone can run, and an invite names the server it uses.
Open source
Backup With Friends is free software under the MIT licence. The source code, the protocol description and the threat model will be published before the first release.