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.

    Backup Magic Mirror..?

    Scheduled Pinned Locked Moved Troubleshooting
    backupback up
    3 Posts 3 Posters 2.2k Views 3 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.
    • R Offline
      roxx
      last edited by roxx

      hello friends…
      i am just wondering, is there a way to backup all modules, custom files, i mean all the changes we make & new files we add on Rpi just after a fresh install of Magic Mirror…? … like a module? or a command? to backup to google drive or so? i mean like it happens on whatsapp…!!

      we could copy the files from memory card but what about files on Rpi…?

      if something goes wrong, we could install fresh new Magic Mirror, then download backup, place it on Rpi & memory card… and its good to run again…!!!

      Only a biker knows why dogs stick their head outside the window of a moving vehicle!!

      bheplerB 1 Reply Last reply Reply Quote 1
      • J Offline
        jasondreher
        last edited by

        I just have samba set up on my pi, so then I can access the MM folder on my windows PC. Then backup the MM folder from there.

        Works well, I have restored many times. Just reinstall MM and copy the files to the new pi.

        1 Reply Last reply Reply Quote 0
        • bheplerB Offline
          bhepler Module Developer @roxx
          last edited by

          @roxx - You can always create an ISO file of your SD card. You can restore from that if your SD card becomes corrupted.

          I find that copying the config.js file is 90% of the way there. It will list the modules that you have installed, which you can download fresh from GitHub with little problem. The config file will contain the API keys, so that’s the part that individual to your mirror in most cases.

          Having a copy of the Raspbian image on hand is probably another 5%.

          Spinning up a new Pi with a given config.js isn’t that hard.

          1. Flash the Raspian image to SD card and boot to it.
          2. Remove unwanted features (Wolfram Alpha, Minecraft, LibreOffice, etc.)
          3. Update, upgrade, distro upgrade.
          4. Install Node, Electron & XScreenSaver. Configure screensaver to never save the screen.
          5. Clone Magic Mirror & npm install
          6. Restoreconfig.js from backup.
          7. Clone & npm install the modules listed in the config.js file.
          8. enjoy!
          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            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