Local backups do not survive hardware failure, ransomware, accidental deletion, provider outages or a fire. Linux servers at home, on a VPS or in a data center need a copy somewhere else.
The 3-2-1 rule means three copies, on two media types, one offsite. ServerCrate is the offsite copy: Restic snapshots in an encrypted vault in a different physical location.
If you would rather not run your own backup VPS, backup server hosting gives you a private Restic vault on ZFS.
This guide works with any restic REST server.
Ours is zero-knowledge and ready in a minute: Starter $3/mo for 250 GB, or $30 a year with yearly billing. With code BF2026 until Dec 1, 23:59 PT, the first year on yearly billing is $21, then $30 a year. 30-day money-back on every paid plan.
Use a systemd service and timer pair: precise scheduling, logging via journald, and dependency management.
/etc/systemd/system/restic-backup.timer
[Unit]
Description=Daily Restic backup to ServerCrate
[Timer]
OnCalendar=daily
RandomizedDelaySec=1h
Persistent=true
[Install]
WantedBy=timers.target
What to back up on a Linux server
Back up what is hard to rebuild:
/homeUser data, dotfiles, SSH keys, and project files
/etcSystem configuration, cron jobs, hosts, sudoers, and service configs
/var/wwwWeb application code and static assets
/optThird-party applications and self-hosted services
/var/lib/docker/volumesDocker persistent volumes
Database dumpsPre-backup dumps from PostgreSQL, MySQL, or SQLite
Skip /usr, /bin, /lib and other OS directories; a reinstall brings them back.
Restic retention policies
Restic's forget command prunes old snapshots based on your retention policy. A sensible default for most Linux servers:
Keep the last 7 daily snapshots
Keep the last 4 weekly snapshots
Keep the last 6 monthly snapshots
Run forget with --prune to drop old snapshots and reclaim space in one step, using your cleanup key from one trusted machine, never from the hosts you back up. See retention on ServerCrate vaults.
Pricing for Linux Server Backup
Flat monthly pricing, and restores are always free.
Standard ($9/mo):1 TB, 25 devices, 60-day retention
Pro ($17/mo):2 TB, 50 devices, 90-day retention
Business ($45/mo):5 TB, 100 devices, 180-day retention
Linux distributions supported
Restic is in the official repos of every major distro. Debian/Ubuntu: apt install restic. Fedora/RHEL: dnf install restic. Arch: pacman -S restic. Alpine: apk add restic.
Backing up Linux database servers
For PostgreSQL, MySQL or MariaDB, dump the database to a file first and back up the dump; live database files risk an inconsistent state.
For PostgreSQL: pg_dumpall > /var/backups/postgres/dump.sql as the postgres user, then include /var/backups in your Restic paths. The systemd timer guide covers chaining pre-backup hooks.
Next step: your first offsite backup
On a Linux server, our installer does the setup in one line: it installs restic, creates your encryption password on your machine, takes a first snapshot and schedules a daily backup. The Vault page in your portal shows this line with your vault filled in.
Linux, one-line installer
curl -fsSL https://servercrate.net/install.sh | sudo sh -s -- --repo "rest:https://vaultuser:YOUR_TOKEN@a1b2c3d4.vault.servercrate.net/"
Add --dry-run to see what it would do without changing anything. On macOS or Windows, or to do it by hand, follow the setup guide.
Starter fits most single servers and small homelabs.
Starter $3/mo for 250 GB, or $30 a year with yearly billing. With code BF2026 until Dec 1, 23:59 PT, the first year on yearly billing is $21, then $30 a year. 30-day money-back on every paid plan. Or start with 10 GB free, no card.
Yes. Any Linux distribution that can run Restic works with ServerCrate. Restic is available in official repos for Debian, Ubuntu, Fedora, RHEL, Arch, and Alpine. For others, install the static binary from GitHub.
Yes. Every plan supports multiple devices (25 on Standard, 50 on Pro), all deduplicating to the same vault. Each server backs up to its own path within the repository. Files shared across servers are stored only once.
Use restic backup /home --exclude /home/user/.cache --exclude /home/user/Downloads. You can also use an exclude file with --exclude-file. Common excludes: /proc, /sys, /dev, /run, /tmp, and package manager caches.
Yes, it is one of the most common use cases. A VPS can back up /etc, /var/www, /opt, and database dumps to a ServerCrate vault nightly. This protects against provider outages, accidental deletions, and misconfiguration disasters. See the VPS backup service page.
Related guides
Start backing up your Linux servers
Free plan, no credit card, vault ready in seconds. Works with every major Linux distro.