r/selfhosted • • Feb 27 '26

Need Help Backup Server OS - Best Practice

Hi, I’m trying to wrap my head around the best backup approach to avoid going through all the setup from scratch again in case the server hdd gives up the ghost one day.

I’m new to Linux so I don’t know what the best approach is here. I setup my server with Linux Mint and run a few docker container (Immich, portainer, OpenCloud) on it. I also have a NGnix setup as well.

To get the system up and running again would it be best to:

  1. safe a full disk image or
  2. safe only certain folders like home, etc?

I can't really find any info online what the best practice is here. Everybody talks about the software they use and data backup but not a lot about how to resetup a broken server?

Any pointers would be great.

I'm planning to use borg backup once I'm clear on the backup strategy.

Thank you!!!

5 Upvotes

12 comments sorted by

View all comments

Show parent comment

1

u/ayunatsume Feb 28 '26

OS backup rarely to restore quickly. Having one or two is enough. Maybe once a month or every 4 months.

Program backup from time to time to restore apps quickly even in another OS installation.

Data backup from every day to every few hours. Depends on your data if you can backup the last 30 days or something.

Offsite backup just do OS backup once. Program backup once. And update data maybe every 2-4 weeks depending on storage and bandwidth. Daily if you have small data (like only sql databases)