Backing-up Single Board Computer - eviltoast

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 !

  • bartolomeo@suppo.fi
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    That sounds really good but is that safe to do? I thought you shouldn’t dd a disk if there was some activity going on on it.

    So is the output image saved to the SD card or do you save it to an external drive?

    • Darkassassin07@lemmy.ca
      link
      fedilink
      English
      arrow-up
      2
      ·
      11 months ago

      Been working fine for me for several years.

      You can have it written to an external drive, or you can use tools like sshfs and ftpfs to mount remote servers as local drives then write to those. I use the sshfs route.

      This will create an .img that you can just write directly to an sd card and boot from.