• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

SD Card Backup

Scheduled Pinned Locked Moved General Discussion
15 Posts 10 Posters 10.6k Views 11 Watching
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.
  • C Offline
    cruunnerr
    last edited by Oct 1, 2016, 12:56 PM

    Hi guys,

    would like to know how you guys do a backup of the SD card. When i put the card into my win 10 pc it show me two partitions. And with the win32diskimager i only can choose one letter (e: or f:).
    So how do you make your backups?

    thank you

    1 Reply Last reply Reply Quote 0
    • K Offline
      KirAsh4 Moderator
      last edited by Oct 2, 2016, 6:15 AM

      You can’t put it in a Win machine and “see” it. Those partitions are unix specific, and Windows can not read them, at least one of them it can not read. Different filesystem. If you need a backup, your question should be: what do I want to back up?

      • The file system can be recovered simply by burning a new image on the SD card and reconfiguring
      • MagicMirror can be reinstalled by doing a 'git pull'

      As far as MM is concerned, what’s user configurable is your config.js. Any modules you’ve installed can be reinstalled with a simple 'git pull' to the repository. So you can cut and paste your config.js into Notepad. You can use FTP to transfer it …

      For the other, system specific configurations, you can copy all of those config files over to a Win machine.

      Honestly, I don’t backup my MM. I don’t see a need to. It’s easy enough to recover, unlike a Windows machine and all the applications on it. I can wipe the card, and start from scratch and have it back up and running within 15 minutes. Try doing that with a Win machine … unless you’re doing a full system image restore, which still takes longer.

      And I’ve been running computers, servers, all types of systems for decades … an rpi running MM isn’t worth doing a backup on. And mine even contains copies of my own code that I’ve written. But since that stuff is also on github, again I don’t see a need to bother. A simple 'git pull' and 30 seconds later I have it all again.

      A Life? Cool! Where can I download one of those from?

      J 1 Reply Last reply Oct 2, 2016, 7:19 AM Reply Quote 1
      • J Offline
        Jopyth Moderator @KirAsh4
        last edited by Jopyth Oct 2, 2016, 7:19 AM Oct 2, 2016, 7:19 AM

        @KirAsh4 Thats how I think, too, except that you technically need git clone ... instead of git pull. :)

        Helpful sticky: How to troubleshoot

        1 Reply Last reply Reply Quote 0
        • Y Offline
          yawns Moderator
          last edited by yawns Oct 2, 2016, 8:37 AM Oct 2, 2016, 8:35 AM

          If you still want to backup your sd card you could read this: https://www.linux-tips-and-tricks.de/en/backup

          I don’t entirely agree with the guys above me. I don’t want to compile and reinstall additional libraries, setup the pi again, do the hassle with the tv screen, …

          1 Reply Last reply Reply Quote 2
          • C Offline
            cruunnerr
            last edited by Oct 2, 2016, 8:53 AM

            Well, i was asking because on my raspberry pi there are running more services then just the MM. Airplay, OwnCloud, webserver and a little bit smarthome… so i am a big fan of doing backups, cause the time i spent is “unpayable” :P
            i am not the “linux-junkie” so when the sd card will crash in about one year it will take me much time too make a new one running, cause i will have forgotten very much ^^
            The link above looks pretty interesting. a “live-backup” while the rpi is running sounds good. will take a look at it.

            1 Reply Last reply Reply Quote 0
            • G Offline
              gismo2006
              last edited by Oct 2, 2016, 9:35 AM

              Hi,

              I´m a little bit scared. Just yesterday I think about backup my sd card. and how I will do it. I use quickly google and found the webpage @yawns linked too. I like to test it if I had some more time. But maybe someone can share her/his experience about useing it.

              greets gismo

              1 Reply Last reply Reply Quote 0
              • N Offline
                nuckinfutz
                last edited by Oct 2, 2016, 3:18 PM

                This is what I use https://www.thefanclub.co.za/how-to/dd-utility-write-and-backup-operating-system-img-and-iso-files-memory-card-or-disk

                This runs on Linux though. Look for free ghost or disk clone software if you want to stick to windows. They shoulnt care what is on the disk (sd card)

                1 Reply Last reply Reply Quote 0
                • M Offline
                  maesterjay
                  last edited by Oct 2, 2016, 4:10 PM

                  I was wondering this same thing myself. I wanted to backup my raspberry pi sd card to another card that I have which is alot faster. Turns out the raspberry pi site has instructions on how to do this

                  1 Reply Last reply Reply Quote 3
                  • K Offline
                    KirAsh4 Moderator
                    last edited by KirAsh4 Oct 2, 2016, 6:21 PM Oct 2, 2016, 6:19 PM

                    In your predicted year that your rpi will crash, everything would have been upgraded anyway, libraries, OS, other programs. It makes more sense to redo it from scratch rather than reloading old (and in some cases, obsolete) software back on. What’s the point in doing that, and then spend another several hours upgrading, and recompiling anyway? Even Raspberry Pi’s OS gets upgraded a few times a year …

                    Honestly, this is how people get themselves in trouble with security patches that are never applied. They have a device running, in their mind it’s fine, and yet it has gaping security holes that are addressed in future upgrades. Seriously folks, stay ontop of updates, upgrades, and what not. Don’t juse assume a backup from a year ago, or even 3 months ago, is “just fine”. None of my OS (I said OS, not config files) backups are more than a few days old.

                    A Life? Cool! Where can I download one of those from?

                    F 1 Reply Last reply Oct 3, 2016, 10:09 AM Reply Quote 1
                    • F Offline
                      framp @KirAsh4
                      last edited by framp Oct 3, 2016, 10:46 AM Oct 3, 2016, 10:09 AM

                      @KirAsh4 In general I agree with you. Systems with an outdated level of security patches shouldn’t be used at all. They are welcome by botnets.

                      But if you create a backup on a regular base - let’s say every week - your backup will not be seriously vulnerable. If you have to restore the backup for any reasons the first activity has to be to update the OS to the latest security level and everything is fine. Even if the backup is a couple of months old this works. If the backup is older than one year the OS most probably is out of service and shouldn’t be used any more. So as long as you create a regular backup every month and keep only some older backup versions (e.g. 3) you’ll be fine.

                      But I also agree with you that depending on your OS experience you have you also can just save version.js on a regular base via rsync and setup the system from scratch to recover. But people with less OS experience who are happy they managed to setup and configured their box will be happy to just kick off the restore followed by ‘sudo apt-get update; sudo apt-get upgrade’ in order to recover.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        3/15
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy