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
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year 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.

      • Darkassassin07
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year 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.