For those of you who use Raspberry Pi’s in your home environment, I’m curious as to what you use them for. What applications are you running on them? Do you have your Pi’s setup in a cluster?

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

    I’ve had a few issues with sd card corruption over the years, so I wrote a script to mount a local ssh server then backup the whole sd card to it as an .img each day.

    Then whenever I have an issue (even just my own stupidity) all I’ve gotta do is pull the sd card and write the latest .img to it.

    • Konstant@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      9 months ago

      I had a backup in a USB hdd attached to the Pi. Can’t remember why it wasn’t resolved with that at the time. Maybe I tried restoring but it didn’t solve the problem, not sure.

      • Darkassassin07@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 months ago

        Single backup? Ie overwriting the previous backup? Maybe you didn’t get to restoring it until after it had backed up the broken files.

        Multiple backups over days helps. I keep a weeks worth of daily backups in case I miss the issue for a while. The script appends the date to the filename.

        • Konstant@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          9 months ago

          That’s probably what happened. It was only a single backup. I think it was the default for the backup feature for the DietPi OS.