Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    SD Cards do occasionally fail...

    Scheduled Pinned Locked Moved
    General Discussion
    5
    16
    777
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Kolbiundefined
      Kolbi
      last edited by

      It will happen if you use one long enough, or even if new-ish - it can still occur. Mine got scrammed this morning out of the blue, and because I wasn't prepared, it sucked royally.

      Luckily I had a spare (few actually) sd cards and was able to get back to operationally ready - had I been performing routine full-backups of the sd card in the controller, it would have been a lot quicker - easier. So lesson learned, power down, pull the sd card out, and do a full backup when you solidify and stable changes to include sys, macros, and like I forgot, filament.

      Cheers,
      Kolbi

      A Former User? 1 Reply Last reply Reply Quote 1
      • A Former User?
        A Former User @Kolbi
        last edited by

        @Kolbi said in SD Cards do occasionally fail...:

        and do a full backup

        i find this very usefull https://github.com/wilriker/rfm for backups without removing the card.

        but yes, sd card, and all other flash memory, is subject to wear in addition to the usual law of murphy.

        Leavundefined 1 Reply Last reply Reply Quote 0
        • Kolbiundefined
          Kolbi
          last edited by

          @bearer Nice, I'll have to give that a look later. I typically use 'dd'.

          🤔 Would be good to have a 'System Backup' button on DWC that would make a compressed download of everything except files within the gcode folder.

          1 Reply Last reply Reply Quote 0
          • A Former User?
            A Former User
            last edited by

            dd will work, but you still need to remove the board, and if you want to revision control the config you'll need to mount the dump etc. rfm + git = instant success.

            1 Reply Last reply Reply Quote 0
            • Kolbiundefined
              Kolbi
              last edited by Kolbi

              @bearer Yup, couple ways to skin the cat.

              Since I'm usually involved in multiple projects at one time, and bounce back and forth with month gaps sometimes, I made a private home forum several years ago to capture all my notes and associated files. This way each project, piece of gear, learning, or other has it's own topic and all my notes are organized under it. Along with that, I upload the files and comment on them so it is always easy to pick up where I left off.

              Funny enough I was doing all this for the sys and macro folders, but like I said - totally forgot about the filament directory😖 ...

              1 Reply Last reply Reply Quote 0
              • A Former User?
                A Former User
                last edited by A Former User

                I recently had more than a few brand new brand name SD cards failing, after a few recommendations from some users here, I have gone over to using Industrial SD cards, I bought 30 to replace what I have in machines this is my "spares pile" we will see how they perform.

                Industrial SD cards

                Kolbiundefined 1 Reply Last reply Reply Quote 2
                • Leavundefined
                  Leav @A Former User
                  last edited by

                  @bearer said in SD Cards do occasionally fail...:

                  i find this very usefull https://github.com/wilriker/rfm for backups without removing the card.

                  Would love to use this. Is this Linux only?

                  A Former User? 1 Reply Last reply Reply Quote 0
                  • A Former User?
                    A Former User @Leav
                    last edited by

                    @Leav said in SD Cards do occasionally fail...:

                    Is this Linux only?

                    afaik wilriker provides builds for win/mac/linux, and sources in go so you could built it for whatever go runs on

                    Kolbiundefined Leavundefined 2 Replies Last reply Reply Quote 0
                    • Kolbiundefined
                      Kolbi @A Former User
                      last edited by

                      @CaLviNx Nice, didn't cross my mind... Cheap too, seeing 5 for $40.

                      1 Reply Last reply Reply Quote 0
                      • Kolbiundefined
                        Kolbi @A Former User
                        last edited by

                        @bearer Good call on this script, messed around with it last night.

                        BUT - DWC should have a Backup-All and a Restore-All function.

                        A Former User? gnydickundefined 2 Replies Last reply Reply Quote 0
                        • A Former User?
                          A Former User @Kolbi
                          last edited by

                          @Kolbi said in SD Cards do occasionally fail...:

                          BUT - DWC should have a Backup-All and a Restore-All function.

                          I'm not gonna disagree, but the development team is pretty limited and when the community provides good alternatives I'm OK with other features given priority by the developers (but thats just my opinion)

                          1 Reply Last reply Reply Quote 0
                          • Leavundefined
                            Leav @A Former User
                            last edited by

                            @bearer

                            Yup! I'm just bad at navigating GitHub.

                            [Releases page](link url)

                            @Kolbi said in SD Cards do occasionally fail...:

                            BUT - DWC should have a Backup-All and a Restore-All function.

                            @bearer said in SD Cards do occasionally fail...:

                            I'm not gonna disagree, but the development team is pretty limited and when the community provides good alternatives I'm OK with other features given priority by the developers (but thats just my opinion)

                            I agree with both of you. Perhaps there is a middle ground? is it possible to contribute to the project?

                            Kolbiundefined A Former User? 2 Replies Last reply Reply Quote 0
                            • Kolbiundefined
                              Kolbi @Leav
                              last edited by

                              @Leav I've taken a look at the repository...
                              @bearer suggestion is solid, and it does work. I've combined that with cron on my home server and it is looking good.
                              I guess the way I see it is that the assumed mechanics to do a system backup, as suggested, are mostly existing but at this point in time it's a bit past my current skill set and available time to learn it.

                              1 Reply Last reply Reply Quote 0
                              • gnydickundefined
                                gnydick @Kolbi
                                last edited by

                                @Kolbi click "Select All" check mark on list of files. Right-click, choose download.

                                It's not one step for all, but at least it's one step for each area.

                                Kolbiundefined 1 Reply Last reply Reply Quote 2
                                • A Former User?
                                  A Former User @Leav
                                  last edited by

                                  @Leav said in SD Cards do occasionally fail...:

                                  is it possible to contribute to the project?

                                  "of course" most of the code is under various repositories under https://github.com/Duet3D/ and you can submit pull requests

                                  1 Reply Last reply Reply Quote 0
                                  • Kolbiundefined
                                    Kolbi @gnydick
                                    last edited by

                                    @gnydick Thanks much, this is what I normally do.

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Unless otherwise noted, all forum content is licensed under CC-BY-SA