One VPS, one disk, one copy of everything. That is how most small servers start, and it is also how most small servers lose data. An offsite backup strategy for a single vps does not need enterprise tools or a second data centre. It needs a clear rule for what gets copied, where the copies live, and how often they move. The 3-2-1 rule gives you that shape, and a single VPS is enough hardware to follow it.
The rule is simple: keep three copies of your data, on two different kinds of storage, with one copy offsite. A 3-2-1 backup rule vps owners follow starts with this shape. Three copies sounds like a lot until you count what you already have. The live data on the VPS is copy one. A backup on the same VPS, or on an attached volume, is copy two. A backup on a different server or a storage service is copy three, and it is the one that saves you when the VPS itself disappears. Two different media matters because a single failure mode should never take all three copies at once.
Offsite Backup Strategy: The 3-2-1 Rule Explained
For a single VPS, the rule maps neatly onto hardware you already understand. Copy one is the live website, database, and configuration on the VPS. Copy two is a nightly backup stored on the same VPS or on an attached block volume: fast to restore, useful for the everyday accidents like a deleted file or a bad update. Copy three is the offsite copy, stored on a second VPS, a storage bucket, or a drive at home, and it exists for the failures copy two cannot survive: a dead disk, a suspended account, or a provider outage.
What to Back Up on a Single VPS
Start by listing what you would need to rebuild the server from nothing. The list is usually short: the database, the website files, and the configuration. The database holds the content, the files hold the uploads and themes, and the configuration holds the server blocks, the SSL settings, and the firewall rules. Everything else can be reinstalled from packages.
Back up the database with its own tool, such as mysqldump for MySQL or pg_dump for PostgreSQL, because a file copy of a running database is unreliable. Back up the files with a tool that handles incremental copies, so only changed files move each night. Back up /etc in full: it is small, and it holds every configuration file you would otherwise reconstruct from memory. Skip caches, logs, and package files. They are large, change constantly, and add nothing to a restore.
Write the list down and keep it with the backup script. A backup plan that lives only in your head is a plan that drifts every time you install something new. When you add a new site or a new service to the VPS, add its data to the list in the same change. The list is part of the server, not an afterthought.
Choosing the Offsite Destination
For one VPS, three offsite destinations make sense, and the right one depends on your budget and your patience. A second cheap VPS is the most flexible: you control both ends, rsync or BorgBackup moves the data over SSH, and restores are a single command. It costs the price of the cheapest VPS you can find, and it doubles as a spare server if the first one dies. The rsync backup tutorial for a second VPS walks through that setup step by step.
Object storage is the second option. Services that speak the S3 API store your backups in a bucket you access over HTTPS, and you pay for what you store rather than for a whole server. It is a good fit when you want a destination that never needs patching or rebooting. Compare the options first: the comparison of offsite backup storage pricing for S3, B2, and R2 explains how storage, egress, and retention charges differ, and why egress matters most if you restore often. Check official pricing before you commit, because tiers and terms change.
A drive at home is the third option, and it is the cheapest in cash, though not in effort. A small NAS or an old computer running rsync over SSH gives you a copy that no provider can suspend. The trade-off is your home internet: uploads are slow on most residential connections, and the drive is only as safe as your house. For many single-VPS owners, the second VPS wins on balance: cheap, fast, and fully under your control.
How Often Should Each Copy Move?
Frequency follows the cost of losing data. The database changes every time a visitor does anything, so back it up daily at minimum, and hourly if the site takes orders. Website files change when you update content or code, so a daily file backup is usually enough. Configuration changes rarely, so a backup after each change, plus a weekly schedule, covers it. Match the schedule to the data, not the other way round.
Retention matters as much as frequency. Keep seven daily copies and four weekly copies as a starting point. That gives you a month of history, which covers the two restores you will actually need: yesterday’s data after a bad update, and last week’s data after a problem that took days to notice. Longer history is nice, but on a single VPS the disk is the limit. If you want a year of history, keep the monthly copies offsite and let the local copies stay short.
Automate all of it. A single vps backup strategy that depends on you remembering to run a command is a strategy that fails the week you get busy. Cron runs the backup script, the script copies the result offsite, and a log file records what happened. Your only recurring job is reading that log once a week and confirming fresh files exist at the destination.
Encrypting the Offsite Copy
An offsite copy sits on hardware you do not control, so encrypt it before it leaves the VPS. Tools like Restic and BorgBackup encrypt by default, which is one reason they suit this job. If you use plain rsync, encrypt the files first or use a destination you fully control, such as your own second VPS. An unencrypted backup on a shared storage service is a copy of your database sitting on someone else’s disk, readable by anyone who gets access to that bucket.
Keep the encryption passphrase outside the VPS. A passphrase stored only on the server it protects is useless the day the server is gone. A password manager works, and so does a sealed envelope. Test the passphrase every few months by decrypting a single file from the offsite copy. A backup you cannot decrypt is the same as no backup, and you want to learn that from a test, not from a disaster.
Testing the Restore: The Part That Proves the Strategy
A backup strategy is a claim until a restore proves it. Test a full restore twice a year, and a single-file restore monthly. The full test rebuilds the site on a spare VPS from the offsite copy alone: database, files, and configuration. Time it, write down the steps, and fix whatever breaks. The first test always finds something: a missing config file, a database user that was never backed up, a script that assumed the old server’s paths.
The monthly file test is quicker: pick a random file from the offsite backup, restore it to a scratch folder, and confirm it opens. That test catches silent failures, like a cron job that stopped running three weeks ago or a destination that filled up and started rejecting uploads. Five minutes a month buys you certainty that the offsite copy is real. The Restic tutorial for encrypted backups to S3-compatible storage includes restore steps you can adapt to this test.
What a Single VPS Cannot Cover
The strategy also assumes you notice failures. A backup job that fails silently for a month leaves you with a month-old offsite copy and a false sense of safety. Add a simple check: a weekly cron job that lists the newest file at the offsite destination and emails you if it is older than two days. That check costs nothing and closes the most common gap in single-server backup plans.
Set it up in this order for your offsite backup vps setup: list what to back up, pick the offsite destination, automate the nightly copy, encrypt it, and test a restore. An offsite backup strategy for a single vps is not a product you buy. It is a routine you run, and a single VPS is enough hardware to run it well.