this post was submitted on 13 Jan 2024
32 points (97.1% liked)

Selfhosted

60482 readers
839 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

Hello everyone!

I have a small OrangePi running some small services on it (some with Docker and some without Docker).

And I'd love to know how do you backup your single-board computers.

Do you just rsync the system to a storage server ? Do you plug in a USB drive and rsync on it ? Do you save only the important data or the whole system ?

For now my SBC is not backed-up and I'd like to get a good backup solution up and running quickly! (I don't trust SD cards to last long...)

I have access to USB drives and disks and also another big server with 20TB of storage which I can make the backup to if needed!

Thanks for your help !

you are viewing a single comment's thread
view the rest of the comments
[–] Kalcifer@sh.itjust.works 5 points 2 years ago (1 children)

The fact that it's a "single board" computer, specifically, is mildly irrelevant, imo; just follow standard backup practices. The only way the type of computer really comes into question is whether or not it has adequate resources to run whatever backup solution that you choose. For my usecase, Borg works great, but choose whatever solution fits your requirements. The "simplest", and lightest solution is probably rsync, but that may leave a lot to be desired.

[–] bartolomeo@suppo.fi 3 points 2 years ago (1 children)

SBCs often run on sd cards or emmc modules so there are other possibilities than a standard desktop computer.

[–] Kalcifer@sh.itjust.works 1 points 2 years ago (2 children)

[...] so there are other possibilities than a standard desktop computer.

Would you mind elaborating? I'm curious to know what you're referring to.

[–] Darkassassin07@lemmy.ca 3 points 2 years ago* (last edited 2 years ago) (1 children)

Copying the entire drive into a bootable backup using tools like dd is more feasible when you're whole fs is only 8-16gb.

Larger systems often require more selectivity or more sophisticated methods to reduce output size.

You can also pull the card occasionally and backup via another system easier. Some people like this route.

[–] Kalcifer@sh.itjust.works 1 points 2 years ago

Fair points! I hadn't considered these nuances.

[–] bartolomeo@suppo.fi 0 points 2 years ago (1 children)

Re:

The fact that it's a "single board" computer, specifically, is mildly irrelevant

[–] Kalcifer@sh.itjust.works 1 points 2 years ago (1 children)

Did you forget to complete your reply, or did it perhaps glitch out?

[–] bartolomeo@suppo.fi 1 points 2 years ago

Haha sorry mate I must have assumed you had your mind reading hat on. Basically what darkassasin said above.