CosmolinkOS Board now

How to back up a home server: the 3-2-1 rule

FOR BEGINNERS4 MIN READ
COSMO
COSMO'S SHORT ANSWER

Keep three copies of anything you can't replace, on two kinds of storage, with one copy away from home. That is the 3-2-1 rule. Then test it: a backup only counts once you have got a file back from it.

A home server ends up holding things you can't replace, such as family photos and the settings of every app you set up. This guide shows how to back up a home server with the 3-2-1 rule, in plain words.

A storage box and a stack of drives on a floating platform, with one more drive on a small island to the side.
Three copies, two kinds of storage, one away from home.

01What is the 3-2-1 backup rule?

  • 3 COPIESThe one you use every day, plus two more.
  • 2 KINDS OF STORAGEFor example the server's drives and a USB drive. One fault should not take out both.
  • 1 AWAY FROM HOMEAt a relative's house or with an online backup service. This one survives fire, flood and theft.

02What should you back up?

What to back up first
WhatBack it up?Why
Photos and documentsYes, alwaysYou can't get them again.
App settings and app dataYesHours of setup live here.
Compose files and notesYesThey are tiny and let you rebuild quickly.
Films and music you can get againUp to youThey are big and can be replaced.
Local AI modelsNo needYou can download them again.

If you use Docker, the things to save are your compose files and the folders or volumes your apps keep their data in. Docker Compose for beginners shows where those are set.

03A mirror, a snapshot and a sync are not backups

  • A MIRRORTwo drives hold the same files. It saves you when a drive fails. Delete a file by mistake and it is gone from both.
  • A SNAPSHOTA saved moment on the same drives. Handy for undoing a mistake, but it dies with the drives.
  • A SYNCIt copies every change, mistakes included.
COSMO'S TIP

All three are useful. They work next to a backup, not in place of one.

04A simple backup plan for a home lab

  1. Pick what matters. Start with photos, documents and app data.
  2. Make the local copy. Back up to a second drive or another computer at home, on a schedule.
  3. Make the away copy. Use an online backup service, or a drive you keep somewhere else and swap now and then.
  4. Lock the away copy. Turn on encryption, and keep the password where you can find it without the server.
  5. Let it run by itself. A backup you have to remember is a backup you will forget.

05How to test a backup

Twice a year, get something back:

  1. Pick one photo and one app's settings.
  2. Restore them to a new folder, not over the originals.
  3. Open them and check they work.
PING'S TIP

Check the date of your last backup too. Backups often stop quietly, for example when a drive fills up.

06What this means for CosmolinkOS

GOOD TO KNOW

CosmolinkOS runs in Docker on your own hardware, and your files and data stay on your server. That also means the backup is yours to keep, like for any app you host yourself.

07Questions people ask

What is the 3-2-1 backup rule?

Keep three copies of your files, on two kinds of storage, with one copy away from home.

Is RAID or a mirror a backup?

No. A mirror protects you when one drive fails. It doesn't protect you from deleting a file by mistake, or from fire and theft.

How often should I back up a home server?

Every night is a good start for files that change, such as photos and app data. Let it run on a schedule so you don't have to remember.

What should I back up on a home server?

Start with what you can't replace: photos, documents, app settings and app data. Films and AI models you can download again matter less.

How do I know my backup works?

Restore something from it. Get one file and one app's settings back, and check that they open.

WAITLIST OPENBe first to hear when CosmolinkOS is ready to try.

▸Keep going