<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Restore script cannot create Backup folder?]]></title><description><![CDATA[<p dir="auto">Dear Sam (<a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> ),<br />
Just trying to restore my config from github but the restore fails because it cannot create the MM_backup folder?<br />
Must I create this directory upfront?</p>
<p dir="auto">screen output as follows:</p>
<pre><code>pi@MagicMirrorPi5:~/MagicMirror $ bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror-backup-restore/main/mm_restore.sh)" -r https://github.com/rkorell/MagicMirror -f
restoring MM configuration from /home/pi/MM_backup to /home/pi/MagicMirror

trying to fetch MagicMirror from github
folder /home/pi/MM_backup does not exist, will clone it from github
unable to create backup folder /home/pi/MM_backup
</code></pre>
<p dir="auto">Thanks,<br />
Ralf</p>
]]></description><link>https://forum.magicmirror.builders/topic/19569/restore-script-cannot-create-backup-folder</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 03:10:15 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/19569.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 25 Mar 2025 19:41:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Restore script cannot create Backup folder? on Wed, 26 Mar 2025 03:40:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rkorell" aria-label="Profile: rkorell">@<bdi>rkorell</bdi></a> oops bug, rerun</p>
]]></description><link>https://forum.magicmirror.builders/post/125305</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125305</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 26 Mar 2025 03:40:24 GMT</pubDate></item><item><title><![CDATA[Reply to Restore script cannot create Backup folder? on Fri, 28 Mar 2025 10:17:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> said in <a href="/post/125364">Restore script cannot create Backup folder?</a>:</p>
<blockquote>
<p dir="auto">thanks so much for the trouble report… fixed</p>
</blockquote>
<p dir="auto">Dear Sam, you’re REALLY (!) welcome!</p>
<p dir="auto">Thanks to YOU for all of your effort!</p>
<p dir="auto">Ralf</p>
]]></description><link>https://forum.magicmirror.builders/post/125367</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125367</guid><dc:creator><![CDATA[rkorell]]></dc:creator><pubDate>Fri, 28 Mar 2025 10:17:01 GMT</pubDate></item><item><title><![CDATA[Reply to Restore script cannot create Backup folder? on Fri, 28 Mar 2025 04:20:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rkorell" aria-label="Profile: rkorell">@<bdi>rkorell</bdi></a></p>
<p dir="auto">thanks so much for the trouble report… fixed<br />
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…</p>
]]></description><link>https://forum.magicmirror.builders/post/125364</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125364</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 28 Mar 2025 04:20:51 GMT</pubDate></item><item><title><![CDATA[Reply to Restore script cannot create Backup folder? on Wed, 26 Mar 2025 14:39:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rkorell" aria-label="Profile: rkorell">@<bdi>rkorell</bdi></a> said in <a href="/post/125309">Restore script cannot create Backup folder?</a>:</p>
<blockquote>
<p dir="auto">Some local modifications are not catched</p>
</blockquote>
<p dir="auto">oh my…</p>
]]></description><link>https://forum.magicmirror.builders/post/125334</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125334</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 26 Mar 2025 14:39:56 GMT</pubDate></item><item><title><![CDATA[Reply to Restore script cannot create Backup folder? on Wed, 26 Mar 2025 14:39:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> Thanks.<br />
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…</p>
]]></description><link>https://forum.magicmirror.builders/post/125332</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125332</guid><dc:creator><![CDATA[rkorell]]></dc:creator><pubDate>Wed, 26 Mar 2025 14:39:25 GMT</pubDate></item><item><title><![CDATA[Reply to Restore script cannot create Backup folder? on Wed, 26 Mar 2025 14:38:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rkorell" aria-label="Profile: rkorell">@<bdi>rkorell</bdi></a> said in <a href="/post/125310">Restore script cannot create Backup folder?</a>:</p>
<blockquote>
<p dir="auto">Can I restore this directory manually?<br />
And if possible is this done with a fully qualified path or somehow different?<br />
(meaning “<a href="https://github.com/rkorell/MagicMirror/tree/main/MMM-Pir%E2%80%9D" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/rkorell/MagicMirror/tree/main/MMM-Pir”</a>)</p>
</blockquote>
<p dir="auto">you could edit the MM_backup/module_list  file and change the url<br />
and then restore from the local MM_backup to test</p>
<p dir="auto">if good then do another backup to make a new tag of the updated state (with the corrected url)</p>
]]></description><link>https://forum.magicmirror.builders/post/125331</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125331</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 26 Mar 2025 14:38:06 GMT</pubDate></item><item><title><![CDATA[Reply to Restore script cannot create Backup folder? on Wed, 26 Mar 2025 10:03:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a><br />
sorry, still another question…<br />
Your backup-script has stored the famous MMM-Pir (bugsounet’s) on my git-repository.<br />
The restore script does not restore this directory (I guess because the origin git repo doesn’t exist anymore - which makes sense).<br />
But I would at least try to get this up and running again…</p>
<p dir="auto">Can I restore this directory manually?<br />
And if possible is this done with a fully qualified path or somehow different?<br />
(meaning “<a href="https://github.com/rkorell/MagicMirror/tree/main/MMM-Pir" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/rkorell/MagicMirror/tree/main/MMM-Pir</a>”)</p>
<p dir="auto">so would my command be:</p>
<pre><code>git clone https://github.com/rkorell/MagicMirror/tree/main/MMM-Pir 
</code></pre>
<p dir="auto">or</p>
<pre><code>git clone https://github.com/rkorell/MagicMirror/MMM-Pir
</code></pre>
<p dir="auto">Or do I have to transfer my tar file to the new raspi and unpack it there?</p>
<p dir="auto">Thanks for guidance!</p>
<p dir="auto">Ralf</p>
]]></description><link>https://forum.magicmirror.builders/post/125310</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125310</guid><dc:creator><![CDATA[rkorell]]></dc:creator><pubDate>Wed, 26 Mar 2025 10:03:22 GMT</pubDate></item><item><title><![CDATA[Reply to Restore script cannot create Backup folder? on Wed, 26 Mar 2025 09:28:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a>  WOW!</p>
<p dir="auto">nearly all is working!</p>
<p dir="auto">Some local modifications are not catched (e.g. datafile for birthdaylist (to illustrate what I mean - you are somewhat familiar with birthdaylist :-) ) ).</p>
<p dir="auto">For unknown reasons “MMM-CalendarExt3Agenda” is not showing up - I may have to apply the fix I had seen somehow (have NOT to use this fix on my Pi4 with same mirror version  (2.30.0))<br />
Calendar fetches are present (checked log) so it seems an error in C3A …</p>
<p dir="auto">By checking log I found a never seen error:</p>
<pre><code>0|MagicMir |     at node:internal/deps/undici/undici:13392:13
0|MagicMir |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
0|MagicMir |   [cause]: ConnectTimeoutError: Connect Timeout Error (attempted addresses: 151.101.193.164:443, 151.101.65.164:443, 151.101.129.164:443, 151.101.1.164:443, timeout: 30000ms)
0|MagicMir |       at onConnectTimeout (/home/pi/MagicMirror/node_modules/undici/lib/core/connect.js:237:24)
0|MagicMir |       at Immediate._onImmediate (/home/pi/MagicMirror/node_modules/undici/lib/core/connect.js:206:11)
0|MagicMir |       at process.processImmediate (node:internal/timers:483:21) {
0|MagicMir |     code: 'UND_ERR_CONNECT_TIMEOUT'
0|MagicMir |   }
0|MagicMir | } 
0|MagicMir | [2025-03-26 04:50:09.238] [ERROR] Failed to retrieve repo info for MagicMirror: Error: Command failed: cd /home/pi/MagicMirror/ &amp;&amp; git fetch -n --dry-run
0|MagicMir | fatal: unable to access 'https://github.com/MagicMirrorOrg/MagicMirror.git/': Failed to connect to github.com port 443 after 133356 ms: Couldn't connect to server

</code></pre>
<p dir="auto">is this related to auto-update?</p>
<p dir="auto">And another question: On my other Mirror a restart happens when I write config.js back to raspi - this doesn’t happen on new system - can I enable this with a parameter somehow I have missed?</p>
<p dir="auto">Thanks a LOT for your great script and your effort behind!</p>
<p dir="auto">Ralf</p>
]]></description><link>https://forum.magicmirror.builders/post/125309</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125309</guid><dc:creator><![CDATA[rkorell]]></dc:creator><pubDate>Wed, 26 Mar 2025 09:28:51 GMT</pubDate></item><item><title><![CDATA[Reply to Restore script cannot create Backup folder? on Wed, 26 Mar 2025 09:06:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> has worked :-)</p>
<pre><code>
pi@MagicMirrorPi5:~/MagicMirror $ bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror-backup-restore/main/mm_restore.sh)" -r https://github.com/rkorell/MagicMirror -f
restoring MM configuration from /home/pi/MM_backup to /home/pi/MagicMirror

trying to fetch MagicMirror from github
folder /home/pi/MM_backup does not exist, will clone it from github
Username for 'https://github.com': rkorell
Password for 'https://rkorell@github.com': 
created git branch from last tag = 10
restored config.js and custom.css
restoring birthdaylist
module birthdaylist contains package.json, doing npm install

restoring internet-monitor
module internet-monitor contains package.json, doing npm install

restoring MMM-Bring
module MMM-Bring contains package.json, doing npm install
there were files saved for this module , restoring

restoring MMM-CalendarExt3Agenda

restoring MMM-Config
module MMM-Config contains package.json, doing npm install
there were files saved for this module , restoring

restoring MMM-EventHorizon
module MMM-EventHorizon DOES NOT contain package.json

restoring MMM-FrameLight

restoring MMM-FRITZ-Box-Callmonitor-py3
module MMM-FRITZ-Box-Callmonitor-py3 contains package.json, doing npm install

restoring MMM-Fuel
module MMM-Fuel contains package.json, doing npm install

restoring MMM-Globe

restoring MMM-JsonValue
module MMM-JsonValue contains package.json, doing npm install

restoring MMM-LogExt
module MMM-LogExt DOES NOT contain package.json

restoring MMM-Logging
module MMM-Logging contains package.json, doing npm install

restoring MMM-MagicMover

restoring MMM-MoonPhase

restoring MMM-MPlayer

restoring MMM-MyGarbage
module MMM-MyGarbage contains package.json, doing npm install

restoring MMM-NotificationTrigger
module MMM-NotificationTrigger DOES NOT contain package.json

restoring MMM-NowPlayingOnSpotify
module MMM-NowPlayingOnSpotify contains package.json, doing npm install

restoring MMM-Profilepicture
module MMM-Profilepicture DOES NOT contain package.json

restoring MMM-Remote-Control
module MMM-Remote-Control contains package.json, doing npm install
there were files saved for this module , restoring

restoring MMM-Strava
module MMM-Strava contains package.json, doing npm install
there were files saved for this module , restoring

restoring MMM-SweepClock

restoring MMM-SystemInfo
module MMM-SystemInfo DOES NOT contain package.json

restoring MMM-SystemStats
module MMM-SystemStats contains package.json, doing npm install

restoring MMM-Temp2IOT
module MMM-Temp2IOT DOES NOT contain package.json

restoring MMM-Todoist
module MMM-Todoist contains package.json, doing npm install

restoring MMM-ViewNotifications
module MMM-ViewNotifications DOES NOT contain package.json

restoring MMM-WiFiPassword
module MMM-WiFiPassword DOES NOT contain package.json

Checking for modules with removed libraries
grep: MMM-LogExt
MMM-Strava
MMM-JsonValue
MMM-Remote-Control
MMM-FRITZ-Box-Callmonitor-py3
MMM-MyGarbage
MMM-Bring
MMM-SystemStats
internet-monitor
MMM-Config
MMM-MoonPhase
MMM-Temp2IOT
MMM-Todoist
MMM-Fuel
MMM-SystemInfo
MMM-NotificationTrigger
birthdaylist
MMM-Logging
MMM-MPlayer
MMM-FrameLight
MMM-NowPlayingOnSpotify/node_helper.js: File name too long

restore completed, you can start MagicMirror now

</code></pre>
<p dir="auto">Now have to check what is working, what not …</p>
]]></description><link>https://forum.magicmirror.builders/post/125308</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125308</guid><dc:creator><![CDATA[rkorell]]></dc:creator><pubDate>Wed, 26 Mar 2025 09:06:09 GMT</pubDate></item><item><title><![CDATA[Reply to Restore script cannot create Backup folder? on Wed, 26 Mar 2025 09:03:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> cool, THANKS!</p>
<p dir="auto">script now is doing something :-)</p>
<p dir="auto">I’m really curious…</p>
<p dir="auto">Ralf</p>
]]></description><link>https://forum.magicmirror.builders/post/125307</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125307</guid><dc:creator><![CDATA[rkorell]]></dc:creator><pubDate>Wed, 26 Mar 2025 09:03:16 GMT</pubDate></item><item><title><![CDATA[Reply to Restore script cannot create Backup folder? on Wed, 26 Mar 2025 03:40:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rkorell" aria-label="Profile: rkorell">@<bdi>rkorell</bdi></a> oops bug, rerun</p>
]]></description><link>https://forum.magicmirror.builders/post/125305</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125305</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 26 Mar 2025 03:40:24 GMT</pubDate></item><item><title><![CDATA[Reply to Restore script cannot create Backup folder? on Tue, 25 Mar 2025 20:21:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> Don’t worry!<br />
Have fun with your family!</p>
<p dir="auto">Will stop then until tomorrow -take your time!!!</p>
]]></description><link>https://forum.magicmirror.builders/post/125281</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125281</guid><dc:creator><![CDATA[rkorell]]></dc:creator><pubDate>Tue, 25 Mar 2025 20:21:45 GMT</pubDate></item><item><title><![CDATA[Reply to Restore script cannot create Backup folder? on Tue, 25 Mar 2025 20:09:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rkorell" aria-label="Profile: rkorell">@<bdi>rkorell</bdi></a> hmmmmm .  out w family til later</p>
]]></description><link>https://forum.magicmirror.builders/post/125277</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125277</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 25 Mar 2025 20:09:50 GMT</pubDate></item></channel></rss>