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.

    Restore script cannot create Backup folder?

    Scheduled Pinned Locked Moved Solved Troubleshooting
    13 Posts 2 Posters 474 Views 2 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
      rkorell @rkorell
      last edited by rkorell

      @sdetweil
      sorry, still another question…
      Your backup-script has stored the famous MMM-Pir (bugsounet’s) on my git-repository.
      The restore script does not restore this directory (I guess because the origin git repo doesn’t exist anymore - which makes sense).
      But I would at least try to get this up and running again…

      Can I restore this directory manually?
      And if possible is this done with a fully qualified path or somehow different?
      (meaning “https://github.com/rkorell/MagicMirror/tree/main/MMM-Pir”)

      so would my command be:

      git clone https://github.com/rkorell/MagicMirror/tree/main/MMM-Pir 
      

      or

      git clone https://github.com/rkorell/MagicMirror/MMM-Pir
      

      Or do I have to transfer my tar file to the new raspi and unpack it there?

      Thanks for guidance!

      Ralf

      S 1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @rkorell
        last edited by sdetweil

        @rkorell said in Restore script cannot create Backup folder?:

        Can I restore this directory manually?
        And if possible is this done with a fully qualified path or somehow different?
        (meaning “https://github.com/rkorell/MagicMirror/tree/main/MMM-Pir”)

        you could edit the MM_backup/module_list file and change the url
        and then restore from the local MM_backup to test

        if good then do another backup to make a new tag of the updated state (with the corrected url)

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          rkorell @sdetweil
          last edited by

          @sdetweil Thanks.
          IN the meantime I’ve figured out that the MM-Pir directorry in github repo (backup) only contains four files, so is useless for restoring…

          1 Reply Last reply Reply Quote 0
          • S Away
            sdetweil @rkorell
            last edited by

            @rkorell said in Restore script cannot create Backup folder?:

            Some local modifications are not catched

            oh my…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            S 1 Reply Last reply Reply Quote 1
            • R rkorell has marked this topic as solved on
            • S Away
              sdetweil @sdetweil
              last edited by

              @rkorell

              thanks so much for the trouble report… fixed
              next execution will handle it correctly and that revision of the backup will be more accurate. I noticed that I also did not preserve the file attributes (date/time, owner, permissions) , and that is corrected too…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                rkorell @sdetweil
                last edited by

                @sdetweil said in Restore script cannot create Backup folder?:

                thanks so much for the trouble report… fixed

                Dear Sam, you’re REALLY (!) welcome!

                Thanks to YOU for all of your effort!

                Ralf

                1 Reply Last reply Reply Quote 0
                • 1
                • 2
                • 2 / 2
                • 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