<?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[BackitUP Restore von NAS (root&#x2F;sudo)]]></title><description><![CDATA[<p dir="auto">Hallo!</p>
<p dir="auto">Mein Backup funktioniert prima vom iobroker, grafana, influx, javascripte.<br />
Damit er den mount ausführen kann, musste ich "Als root-Benutzer mounten (sudo)" aktivieren, sonst bekomme ich folgenden Fehler:</p>
<pre><code>Error: Command failed: mount -t cifs -o username=user,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.0.2/.../iobrokerBackup /opt/iobroker/backupsmount: only root can use "--options" option
</code></pre>
<p dir="auto">So weit so gut.</p>
<p dir="auto">Jetzt möchte ich auf eine andere Hardware umziehen und kann influx und grafana nicht wiederherstellen, da der mount als root gemountet ist.<br />
Deaktiviere ich die option, gehört das /opt/iobroker/backups/ Verzeichnis iobroker:iobroker.<br />
Während der Wiederherstellung kommen folgende Meldungen:</p>
<pre><code>[DEBUG] [grafana] - Grafana tmp directory created: /opt/iobroker/backups/grafana_tmp
[DEBUG] [grafana] - start decompress
[ERROR] [grafana] - Grafana restore not completed
[ERROR] [grafana] - Error: EPERM: operation not permitted, utime '/opt/iobroker/backups/grafana_tmp/'
[EXIT] 0
</code></pre>
<p dir="auto">Er kann aufgrund von fehlender Berechtigungen (ja logisch, ist ja nicht root) den Ordnern nicht anlegen.<br />
Könnte man das Entpacken auf einen lokalen Ordner verschieben, wenn die Option gewählt ist?</p>
]]></description><link>https://forum.iobroker.net/topic/44868/backitup-restore-von-nas-root-sudo</link><generator>RSS for Node</generator><lastBuildDate>Sun, 24 May 2026 14:31:43 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/44868.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 08 May 2021 08:37:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to BackitUP Restore von NAS (root&#x2F;sudo) on Sun, 16 May 2021 20:26:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/simatec" aria-label="Profile: simatec">@<bdi>simatec</bdi></a><br />
Habe mein Problem mit manuellem Kopieren umgehen können und der Restore hat gut funktioniert</p>
<p dir="auto">Was hältst du davon statt nach /opt/iobroker/backups/archivname/ nach /opt/iobroker/backups_tmp/archivname/ zu entpacken? Der gesamte Ordner kann dann wie jetzt auch schon danach gelöscht werden.</p>
]]></description><link>https://forum.iobroker.net/post/630296</link><guid isPermaLink="true">https://forum.iobroker.net/post/630296</guid><dc:creator><![CDATA[h07d0q]]></dc:creator><pubDate>Sun, 16 May 2021 20:26:12 GMT</pubDate></item><item><title><![CDATA[Reply to BackitUP Restore von NAS (root&#x2F;sudo) on Sat, 15 May 2021 09:27:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/h07d0q" aria-label="Profile: h07d0q">@<bdi>h07d0q</bdi></a><br />
NFS ist weniger ressourcenhungig als SMB.</p>
]]></description><link>https://forum.iobroker.net/post/629300</link><guid isPermaLink="true">https://forum.iobroker.net/post/629300</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Sat, 15 May 2021 09:27:58 GMT</pubDate></item><item><title><![CDATA[Reply to BackitUP Restore von NAS (root&#x2F;sudo) on Sat, 15 May 2021 09:23:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thomas-braun" aria-label="Profile: thomas-braun">@<bdi>thomas-braun</bdi></a> Neues Backup mit noserverino bringt beim restore leider immer noch die gleiche Fehlermeldung :(<br />
NFS oder FTP wäre natürlich auch ne Lösung, wollte ich aber aus Ressourcengründen nicht nur für iobroker laufen haben.</p>
<p dir="auto">Nach dem Umzug auf die virtualisierte Maschine werde ich die Backups vermutlich sowieso auf lokal umstellen und die ganze Maschine sichern.</p>
]]></description><link>https://forum.iobroker.net/post/629297</link><guid isPermaLink="true">https://forum.iobroker.net/post/629297</guid><dc:creator><![CDATA[h07d0q]]></dc:creator><pubDate>Sat, 15 May 2021 09:23:34 GMT</pubDate></item><item><title><![CDATA[Reply to BackitUP Restore von NAS (root&#x2F;sudo) on Sat, 15 May 2021 09:22:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/h07d0q" aria-label="Profile: h07d0q">@<bdi>h07d0q</bdi></a> Die Backups waren aber noch nicht mit gesetzem noserverino angelegt. Mach das mal so.</p>
<p dir="auto"><a href="https://linux.die.net/man/2/utime" rel="nofollow ugc">https://linux.die.net/man/2/utime</a></p>
<p dir="auto">Wenn die Synology NFS spricht würde ich auch darauf setzen, nicht auf CIFS/SMB. NFS ist in einer reinen Linux-Umgebung immer die bessere Wahl.</p>
]]></description><link>https://forum.iobroker.net/post/629281</link><guid isPermaLink="true">https://forum.iobroker.net/post/629281</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Sat, 15 May 2021 09:22:24 GMT</pubDate></item><item><title><![CDATA[Reply to BackitUP Restore von NAS (root&#x2F;sudo) on Sat, 15 May 2021 08:50:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thomas-braun" aria-label="Profile: thomas-braun">@<bdi>thomas-braun</bdi></a> Ja, habe eben root und noserverino gesetzt und einen restore versucht.</p>
<p dir="auto">Der Entpacken Fehler tritt bei mir mit grafana und influx auf - nicht jedoch mit javascript und iobroker.</p>
]]></description><link>https://forum.iobroker.net/post/629280</link><guid isPermaLink="true">https://forum.iobroker.net/post/629280</guid><dc:creator><![CDATA[h07d0q]]></dc:creator><pubDate>Sat, 15 May 2021 08:50:24 GMT</pubDate></item><item><title><![CDATA[Reply to BackitUP Restore von NAS (root&#x2F;sudo) on Sat, 15 May 2021 08:48:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/h07d0q" aria-label="Profile: h07d0q">@<bdi>h07d0q</bdi></a> sagte in <a href="/post/629277">BackitUP Restore von NAS (root/sudo)</a>:</p>
<blockquote>
<p dir="auto">utime</p>
</blockquote>
<p dir="auto">Auch mit gesetztem 'noserverino'-Flag?</p>
]]></description><link>https://forum.iobroker.net/post/629278</link><guid isPermaLink="true">https://forum.iobroker.net/post/629278</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Sat, 15 May 2021 08:48:01 GMT</pubDate></item><item><title><![CDATA[Reply to BackitUP Restore von NAS (root&#x2F;sudo) on Sat, 15 May 2021 08:46:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thomas-braun" aria-label="Profile: thomas-braun">@<bdi>thomas-braun</bdi></a> Hatte ich zwar schon:<br />
Der mount funktioniert ja (als root).</p>
<p dir="auto">Beim restore kommt das Problem aufgrund fehlender Schreibrechte für den user iobroker:</p>
<pre><code>Started restore ...
[DEBUG] [grafana] - Start Grafana Restore ...
[DEBUG] [grafana] - filename for restore: /opt/iobroker/backups/grafana_2021_05_15-05_21_06_backupiobroker.tar.gz
[DEBUG] [grafana] - old Grafana tmp directory was successfully deleted
[DEBUG] [grafana] - Grafana tmp directory created: /opt/iobroker/backups/grafana_tmp
[DEBUG] [grafana] - start decompress
[ERROR] [grafana] - Grafana restore not completed
[ERROR] [grafana] - Error: EPERM: operation not permitted, utime '/opt/iobroker/backups/grafana_tmp/'
[EXIT] 0
</code></pre>
]]></description><link>https://forum.iobroker.net/post/629277</link><guid isPermaLink="true">https://forum.iobroker.net/post/629277</guid><dc:creator><![CDATA[h07d0q]]></dc:creator><pubDate>Sat, 15 May 2021 08:46:41 GMT</pubDate></item><item><title><![CDATA[Reply to BackitUP Restore von NAS (root&#x2F;sudo) on Sat, 15 May 2021 08:37:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/h07d0q" aria-label="Profile: h07d0q">@<bdi>h07d0q</bdi></a><br />
Versuch mal die Option noserverino zu aktivieren.<br />
Und mounten als root/sudo muss auch aktiv sein.</p>
]]></description><link>https://forum.iobroker.net/post/629269</link><guid isPermaLink="true">https://forum.iobroker.net/post/629269</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Sat, 15 May 2021 08:37:17 GMT</pubDate></item><item><title><![CDATA[Reply to BackitUP Restore von NAS (root&#x2F;sudo) on Sat, 15 May 2021 08:35:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/simatec" aria-label="Profile: simatec">@<bdi>simatec</bdi></a> <img src="/assets/uploads/files/1621067720441-9188fd7b-6cee-4680-8862-9cc57546cf0a-image-resized.png" alt="9188fd7b-6cee-4680-8862-9cc57546cf0a-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.iobroker.net/post/629265</link><guid isPermaLink="true">https://forum.iobroker.net/post/629265</guid><dc:creator><![CDATA[h07d0q]]></dc:creator><pubDate>Sat, 15 May 2021 08:35:23 GMT</pubDate></item><item><title><![CDATA[Reply to BackitUP Restore von NAS (root&#x2F;sudo) on Sat, 15 May 2021 08:18:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/h07d0q" aria-label="Profile: h07d0q">@<bdi>h07d0q</bdi></a><br />
Zeige mal deine NAS Einstellungen in Backitup</p>
]]></description><link>https://forum.iobroker.net/post/629253</link><guid isPermaLink="true">https://forum.iobroker.net/post/629253</guid><dc:creator><![CDATA[simatec]]></dc:creator><pubDate>Sat, 15 May 2021 08:18:06 GMT</pubDate></item><item><title><![CDATA[Reply to BackitUP Restore von NAS (root&#x2F;sudo) on Sat, 15 May 2021 08:14:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thomas-braun" aria-label="Profile: thomas-braun">@<bdi>thomas-braun</bdi></a> Ist ne Synology DS213+ mit SMB:<br />
Linux 2.6.32.12 #25426 SMP Tue Jun 23 16:02:15 CST 2020 ppc GNU/Linux synology_qoriq_213+<br />
mit ext4 als SHR Volume</p>
<p dir="auto">SMB ist mit mindestens 2, max 3 konfiguriert. In BackItUp hab ich SMB 2 gewählt.</p>
<p dir="auto">Ich vermute die Ursache immer noch in den von BackItUp mitgegebenen options...<br />
Man könnte den mount ja als root machen, jedoch muss das Entpacken usw. außerhalb des /opt/iobroker/backups Ordners passieren, weil zu dem Zeitpunkt der Pfad root gehört.</p>
]]></description><link>https://forum.iobroker.net/post/629250</link><guid isPermaLink="true">https://forum.iobroker.net/post/629250</guid><dc:creator><![CDATA[h07d0q]]></dc:creator><pubDate>Sat, 15 May 2021 08:14:21 GMT</pubDate></item><item><title><![CDATA[Reply to BackitUP Restore von NAS (root&#x2F;sudo) on Sat, 15 May 2021 08:03:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/h07d0q" aria-label="Profile: h07d0q">@<bdi>h07d0q</bdi></a> Ich meinte den Samba-Server.</p>
]]></description><link>https://forum.iobroker.net/post/629242</link><guid isPermaLink="true">https://forum.iobroker.net/post/629242</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Sat, 15 May 2021 08:03:57 GMT</pubDate></item><item><title><![CDATA[Reply to BackitUP Restore von NAS (root&#x2F;sudo) on Sat, 15 May 2021 08:02:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thomas-braun" aria-label="Profile: thomas-braun">@<bdi>thomas-braun</bdi></a> Das ist eine virtuelle dietpi x86 Maschine:</p>
<pre><code>uname -a
Linux DietPi 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux
</code></pre>
]]></description><link>https://forum.iobroker.net/post/629241</link><guid isPermaLink="true">https://forum.iobroker.net/post/629241</guid><dc:creator><![CDATA[h07d0q]]></dc:creator><pubDate>Sat, 15 May 2021 08:02:17 GMT</pubDate></item><item><title><![CDATA[Reply to BackitUP Restore von NAS (root&#x2F;sudo) on Sat, 15 May 2021 07:07:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/h07d0q" aria-label="Profile: h07d0q">@<bdi>h07d0q</bdi></a><br />
Welche Hardware ist da involviert und welches Dateisystem läuft da auf dem Backup-Medium?</p>
]]></description><link>https://forum.iobroker.net/post/629212</link><guid isPermaLink="true">https://forum.iobroker.net/post/629212</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Sat, 15 May 2021 07:07:13 GMT</pubDate></item><item><title><![CDATA[Reply to BackitUP Restore von NAS (root&#x2F;sudo) on Sat, 15 May 2021 06:55:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/simatec" aria-label="Profile: simatec">@<bdi>simatec</bdi></a> Das hat leider nichts gebracht und hatte ich vorher auch schon ausgeführt...</p>
<p dir="auto">Ich vermute der Hund liegt da begraben: <em>only root can use "--options" option</em><br />
Bin ich der einzige, der das Problem hat?</p>
<p dir="auto">Werde als Workaround jetzt die Daten in das lokale Verzeichnis legen...</p>
]]></description><link>https://forum.iobroker.net/post/629209</link><guid isPermaLink="true">https://forum.iobroker.net/post/629209</guid><dc:creator><![CDATA[h07d0q]]></dc:creator><pubDate>Sat, 15 May 2021 06:55:27 GMT</pubDate></item><item><title><![CDATA[Reply to BackitUP Restore von NAS (root&#x2F;sudo) on Sat, 08 May 2021 17:45:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/h07d0q" aria-label="Profile: h07d0q">@<bdi>h07d0q</bdi></a> Wenn dein mount als root nicht läuft, lasse bitte <code>iobroker fix</code> mal drüberlaufen</p>
]]></description><link>https://forum.iobroker.net/post/626313</link><guid isPermaLink="true">https://forum.iobroker.net/post/626313</guid><dc:creator><![CDATA[simatec]]></dc:creator><pubDate>Sat, 08 May 2021 17:45:32 GMT</pubDate></item></channel></rss>