TarballVault

Every site on your server, backed up every night.

TarballVault finds the web applications on a Linux server, dumps their databases, archives their files and uploads them to your own S3-compatible bucket. When something breaks, you restore it from a web page.

Self-hosted · your bucket, your keys · next run 02:30

s3://backups/web-01/run #128 · 3 of 3 apps backed up
shop-example-com/2026/11/25/
  shop-example-com_db-shop_20261125-023000.sql.gz.gpg      41.2 MB
  shop-example-com_files_20261125-023000.tar.gz.gpg       612 MB
blog-example-org/2026/11/25/
  blog-example-org_db-wordpress_20261125-023412.sql.gz.gpg 18.9 MB
  blog-example-org_files_20261125-023412.tar.gz.gpg       204 MB
intranet-example-net/2026/11/25/
  intranet-example-net_db-default_20261125-023655.sql.gz.gpg 7.4 MB
  intranet-example-net_files_20261125-023655.tar.gz.gpg   96 MB
_manifests/2026/11/
  20261125-023000-run128.json   sha256 ✓ for every archive
retention: 2 older snapshots deleted 
No list to keep

It reads your web server and finds the sites itself

TarballVault scans the nginx and Apache virtual hosts, works out what each site is, and reads the database settings from the application's own config. A newly found site waits, switched off, until you have looked at it, so nothing is backed up before you choose its settings.

Laravel

artisan + .env

MySQL, MariaDB, PostgreSQL or SQLite, read from DB_* or DB_URL.

Drupal

core/lib/Drupal.php

Every sites/*/settings.php, multisite included, read as the file's owner and never as root.

WordPress

wp-config.php

DB_NAME, DB_USER, DB_PASSWORD and DB_HOST.

Anything else

other PHP or static

Files only, and you can add a database by hand on the site's page.

A site that disappears from the web server config is marked Missing, and its backups are kept.

One night

What happens while you sleep

Root's scheduler starts the run at the time you set. The web interface can only queue requests and read the records, so it never runs a backup itself.

  1. RescanNew, changed and missing sites are picked up before anything is copied.
  2. Dump each databasemysqldump, pg_dump or a consistent SQLite .backup. Passwords go through a temporary file only root can read, never on the command line.
  3. Archive the filesThe application folder as a .tar.gz, leaving out node_modules, caches, sessions and compiled views.
  4. EncryptWith encryption on, every archive is encrypted to your gpg public key. If the key doesn't work, the run uploads nothing.
  5. Upload and checkEach archive goes to your bucket with its SHA-256, and a run manifest records what was made.
  6. Prune and reportOld snapshots beyond your retention are deleted. A failed or partial run emails you.
Retention

Seven days, four weeks, six months

For each site, TarballVault keeps the newest good backup of each of the last 7 days, the newest of each of the last 4 weeks, and the newest of each of the last 6 months. Only successful backups count, so if a site starts failing its last good snapshots stay in the weekly and monthly slots.

All three numbers can be changed. Everything outside them is deleted from the bucket, so you only pay to store what you would actually restore.

Restore

Two ways back, both from the browser

Pick a snapshot, choose the databases, the files or both, and decide whether the live site is touched.

Restore as a copy

Look before you swap

The live site is left alone. The files land next to the original with owners and permissions kept, and each database goes into a new database the application's own user can read.

/var/www/shop.restore-20261125
shop_restore_20261125

Use it to pull back a single record, or to check a snapshot before you trust it.

Roll back the live site

Put it back the way it was

Asks for your password, a fresh authenticator code and the site's name typed in. Then, in order:

  1. Checks every archive's SHA-256 and trial-loads each database. If anything is wrong it stops with nothing changed.
  2. Takes a safety backup of the site as it is now.
  3. Puts the site into maintenance mode.
  4. Replaces the databases and swaps the folder, keeping the replaced one for 7 days.
  5. Clears caches and brings the site back.

Encrypted snapshot? Paste the private key into the restore form. It is used in a throwaway keyring that is deleted when the restore ends, so the key never has to live on the server.

Security

Built for the server that holds everything

Two-factor for everyone

Every account sets up an authenticator app before it can do anything else. Passkeys are supported too.

Your keys, your bucket

Turn on encryption and archives are encrypted on the server with your public key. The private key stays with you, so a leaked bucket gives nothing away.

Short-lived downloads

Download links are pre-signed and expire after 10 minutes. Every download is logged.

A web page that can't run root

The interface only queues requests. Root's worker carries them out, and an added site must sit inside the folders you allow.

Readable without us

Plain .sql.gz and .tar.gz files plus a manifest per run. If this server is lost, the bucket still makes sense on its own.

A health page that tells you

Storage, scheduler, dump tools, disk space, alerts and two-factor are checked, and anything not green comes with the steps to fix it.

Storage

Any S3-compatible bucket

Use an access key that can only reach that one bucket. Several servers can share a bucket, each in its own folder.

AWS S3DigitalOcean SpacesHetzner Object StorageBackblaze B2WasabiCloudflare R2MinIO
# on the server, as root
sudo ./install.sh --url=https://backups.example.com \
                  [email protected]
✓ PHP, extensions and dump tools checked
✓ database created and migrated
✓ /etc/cron.d/tarballvault added
✓ first account created
✓ virtual hosts scanned: 3 applications found
  • Linux with root access, PHP 8.4 and Composer
  • tar, gzip and the dump tools for your databases; gpg for encryption
  • Updates arrive as approved releases you deploy with one button
Early access

Sleep through the night your server dies.

TarballVault is in early access. Tell us how many servers and sites you run and where your backups go today, and we'll be in touch.

[email protected]