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.

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 | Back it up? | Why |
|---|---|---|
| Photos and documents | Yes, always | You can't get them again. |
| App settings and app data | Yes | Hours of setup live here. |
| Compose files and notes | Yes | They are tiny and let you rebuild quickly. |
| Films and music you can get again | Up to you | They are big and can be replaced. |
| Local AI models | No need | You 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.
All three are useful. They work next to a backup, not in place of one.
04A simple backup plan for a home lab
- Pick what matters. Start with photos, documents and app data.
- Make the local copy. Back up to a second drive or another computer at home, on a schedule.
- Make the away copy. Use an online backup service, or a drive you keep somewhere else and swap now and then.
- Lock the away copy. Turn on encryption, and keep the password where you can find it without the server.
- 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:
- Pick one photo and one app's settings.
- Restore them to a new folder, not over the originals.
- Open them and check they work.
Check the date of your last backup too. Backups often stop quietly, for example when a drive fills up.
06What this means for CosmolinkOS
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.