StackPilot

Offsite Backup Provider for a One Person SaaS: Picks

By The StackPilot Team 7 min read

Some links on this page are affiliate links. If you sign up through them we may earn a commission at no extra cost to you. We only link to services we have actually used, and commission never decides what we recommend.

Your SaaS is a Postgres database, a directory of user uploads, and a git repo. If the VPS vanishes, you need those three back, and you need them back without asking the hosting company for permission. That means a provider with a different company, a different login, and a different billing relationship than the box your app runs on.

Quick verdict

Backblaze B2 with restic is the pick for most one-person SaaS operations: object storage billed per TB, an S3-compatible API, and free egress up to a multiple of your stored data, which is what keeps restores from being the expensive part. The tradeoff is that you own the backup software. restic is yours to schedule, monitor, and test, and nobody emails you when a nightly run fails silently.

If you would rather pay a premium to never touch a repository, use BorgBase. If you are past a terabyte and want a bill that does not move, use Wasabi. The rest of this article is about why those alternatives exist and when one of them is the better call than the default.

What you are actually choosing between

OptionCost shapeOps burden and lock-in
Backblaze B2 + resticCheapest tier per TB; egress free up to a daily multiple of stored dataYou run restic, cron, and monitoring; S3 API means you can swap providers later
Hetzner Storage BoxFlat monthly per-box, among the lowest for small datasetsSSH/SFTP/rsync/Borg over SSH; tied to Hetzner's EU locations
WasabiFlat per TB, no egress fees, but a minimum storage duration appliesS3-compatible; cheapest only if you keep data long enough to clear the minimum
BorgBaseMid to premium, priced per repo sizeManaged Borg endpoints; they run the server, you still run the client
Cloudflare R2Mid per TB, zero egress chargesS3-compatible; makes sense mainly if you already live in Cloudflare

Prices move. Check each provider's pricing page before you commit; treat the words above as relative position, not a quote.

The shortlist, ranked

1. Backblaze B2 with restic — the default

This is what I would set up for a solo SaaS today. B2 stores the bytes, restic does the encryption, deduplication, and retention. Your data is encrypted client-side, so the provider never holds a readable copy, and the repository is portable: restic can push the same repo format to S3, SFTP, or another B2 bucket if you migrate.

The setup is short enough to do in one sitting.

# restic reads these from the environment; keep the password file off the VPS
export RESTIC_REPOSITORY="b2:bucket-name:saas"
export RESTIC_PASSWORD_FILE=/root/.restic-pass
export B2_ACCOUNT_ID=...
export B2_ACCOUNT_KEY=...

restic init
restic backup /var/lib/postgresql /srv/app/uploads --exclude-caches
restic forget --keep-daily 7 --keep-weekly 4 --keep-monthly 6 --prune

Two things matter more than the command list. First, dump the database before you back it up — pg_dump -Fc to a file, then let restic pick up the file. Copying live Postgres data files gives you a torn backup that may not restore. Second, create the B2 application key scoped to that one bucket, not a master key. A leaked master key can delete every bucket on the account.

Schedule it with a systemd timer or cron, and make the job report failure somewhere you actually read — a healthcheck ping URL that alerts when the ping stops arriving is the cheapest reliable option.

2. Hetzner Storage Box — cheapest flat bill, EU data

If your users are in Europe and you want a fixed monthly number, a Storage Box is hard to beat at small sizes. It speaks SFTP, rsync, and Borg over SSH, so you can run restic against it over SFTP or switch to Borg without changing providers. There is no per-request billing and no egress meter to watch.

The catch is that it is a single provider in a single country. If your reason for offsite backup includes "what if the jurisdiction or the company is the problem," a Storage Box in the same legal region as your VPS weakens that argument. Pick it when cost and simplicity dominate, and pair it with a second copy if residency rules demand it.

3. Wasabi — flat billing, no egress line item

Wasabi's pitch is predictable: one rate per TB stored, no egress charges, no API request fees. For a SaaS past roughly a terabyte, that beats per-request object storage on both cost and mental overhead.

The reason it is not #1 is the minimum storage duration. Delete or overwrite objects before the minimum window and you are still billed for the remainder. That is fine for a backup repo with monthly retention and a --prune that runs on a sane schedule. It is a bad fit if you churn large objects constantly or want to experiment with retention policies.

4. BorgBase — you stop running the server

BorgBase exists for the person who has read this far and thought "I do not want to be paged about a repository lock." They host Borg repositories, you run Borg or Vorta locally, and the server side — compaction, consistency, storage — is their problem. Pricing is higher per GB than raw object storage, and that premium buys you a support address and a repo that someone else keeps healthy.

Pick this if you have already had one backup failure you did not notice for a month. The extra spend is cheaper than the incident.

5. Cloudflare R2 — only if you are already there

R2 is S3-compatible with no egress fees, and it works fine as a restic backend. It is last on the list because its advantage is contextual: if your DNS, Workers, and image delivery already sit on Cloudflare, one fewer vendor and one fewer invoice is worth something. If you are starting from zero, B2's pricing and maturity are the safer default.

Where this falls short

Every option above assumes you will test restores. If you will not, none of them work — an untested backup is a hope, not a backup. Put a monthly calendar entry to run restic check --read-data-subset=5% and restore one file to /tmp, and treat a missed month as an outage waiting to happen.

The failure modes to plan for:

  • Lost password. restic encryption is real. Lose the password file and the repository is noise. Keep it in a password manager and one offline copy.
  • Credential compromise. A backup job running on the VPS holds keys on the VPS. If the box is compromised, the attacker can delete the repo. Use a bucket-scoped key, enable object lock or versioning where the provider offers it, and keep a second copy of the repo password somewhere the VPS cannot reach.
  • Restore time. Pulling hundreds of gigabytes over the internet takes hours or days. Know your restore rate before you need it, and consider keeping the last week of database dumps on a second small volume for fast recovery.
  • Managed databases. If you are on a hosted Postgres, its point-in-time recovery is your first line, but it lives in the same account. Take a logical dump to your offsite provider anyway.

Do something else entirely if you have compliance obligations — HIPAA, SOC 2 with named controls, or a customer contract specifying retention and audit. Those need a provider with a signed BAA and documented controls, and usually a second copy in a second region. That is a budget conversation, not a cron job.

FAQ

How much should offsite backup cost for a one-person SaaS?

For a typical solo app — under a few hundred gigabytes of database and uploads — expect single-digit to low-double-digit dollars per month on object storage, more on a managed Borg host. The number that matters is the restore bill, so check egress terms before you choose.

Is Backblaze B2 reliable enough to be my only offsite copy?

B2 is durable object storage run by a company whose entire business is backups, and it is fine as your offsite copy. "Only copy" is the problem, not "only provider" — keep one local snapshot on separate hardware so a full restore is not your only recovery path.

Do I still need offsite backup if my VPS provider takes snapshots?

Yes. Snapshots live in the same account and the same company as the server. A billing dispute, a compromised account, or a provider-wide incident takes both. Snapshots are for fast rollback; offsite backups are for the case where the account itself is gone.

How often should I test a restore?

Monthly for a file-level restore, and a full repository check on the same schedule. Do one complete end-to-end restore — database dump plus uploads into a scratch VPS — every quarter, and time it. The result tells you whether your recovery plan is a plan or a wish.

Related reading: How to Test That a Backup Actually Restores, Not Just Runs, How to Back Up a Postgres Database to Object Storage

Bottom line

Backblaze B2 with restic is the right default for a one-person SaaS: cheap per TB, S3-compatible, encrypted before it leaves the box, and portable if you change your mind. Choose Hetzner for a flat EU bill, Wasabi for flat billing at volume, BorgBase if you want the repository off your plate, and R2 only if Cloudflare is already your platform.

Today's step: create a B2 bucket and a bucket-scoped application key, install restic on the VPS, run restic init, and take one manual backup of a pg_dump file. Confirm the snapshot lists before you write the cron entry — the first restore you do should not be the one that matters.