{"id":5850,"date":"2023-12-02T06:33:34","date_gmt":"2023-12-02T04:33:34","guid":{"rendered":"https:\/\/www.sigalou-domotique.fr\/?p=5850"},"modified":"2026-01-02T17:00:31","modified_gmt":"2026-01-02T15:00:31","slug":"je-sauvegarde-mon-home-assistant-sur-mon-nas-synology-ha2023-6-via-nfs","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/de\/je-sauvegarde-mon-home-assistant-sur-mon-nas-synology-ha2023-6-via-nfs","title":{"rendered":"Ich speichere meinen Home Assistant \u00fcber NFS auf meinem Synology NAS (HA&gt;2023.6)"},"content":{"rendered":"<p>Dies ist eine gro\u00dfe Neuigkeit seit der <a href=\"https:\/\/hacf.fr\/news\/ha_2023_6\/\" target=\"_blank\" rel=\"noopener\">Version 2023.6<\/a>, Der Netzwerkspeicher wird archi-einfach und wird vom Core des Home Assistant verwaltet. Bravo an die Entwickler, das hat gefehlt.<\/p>\r\n<p>In meinem vorherigen <a href=\"https:\/\/www.sigalou-domotique.fr\/de\/je-sauvegarde-mon-home-assistant-sur-mon-nas-synology-ha2023-6\/\" target=\"_blank\" rel=\"noopener\">Retex<\/a>, habe ich beschrieben, wie die Sicherung \u00fcber Samba konfiguriert werden kann, in diesem werde ich die Sicherung \u00fcber NFS konfigurieren.<\/p>\r\n<p>Ich hatte einige Samba-Abmeldungen, die ich mir noch nicht erkl\u00e4ren kann, und in einem lokalen Netzwerk ist NFS, wenn es richtig konfiguriert ist, ein einfaches Tool, f\u00fcr das kein Benutzer erstellt werden muss, und ich werde nur einen Benutzer behalten, der durch eine doppelte Authentifizierung auf meinem NAS gesch\u00fctzt ist.<\/p>\r\n<p><!--more--><\/p>\r\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_88 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<label for=\"ez-toc-cssicon-toggle-item-6aae4eaec1cd7\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6aae4eaec1cd7\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.sigalou-domotique.fr\/de\/je-sauvegarde-mon-home-assistant-sur-mon-nas-synology-ha2023-6-via-nfs\/#Je_configure_le_dossier_de_sauvegarde_sur_le_NAS\" >Ich richte den Sicherungsordner auf dem NAS ein<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.sigalou-domotique.fr\/de\/je-sauvegarde-mon-home-assistant-sur-mon-nas-synology-ha2023-6-via-nfs\/#Je_configure_le_stockage_de_Home_Assistant\" >Ich konfiguriere den Home Assistant-Speicher<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.sigalou-domotique.fr\/de\/je-sauvegarde-mon-home-assistant-sur-mon-nas-synology-ha2023-6-via-nfs\/#Jautomatise_la_sauvegarde\" >Ich automatisiere die Sicherung<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.sigalou-domotique.fr\/de\/je-sauvegarde-mon-home-assistant-sur-mon-nas-synology-ha2023-6-via-nfs\/#Je_regarde_le_resultat\" >Ich schaue mir das Ergebnis an<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Je_configure_le_dossier_de_sauvegarde_sur_le_NAS\"><\/span>Ich richte den Sicherungsordner auf dem NAS ein<span class=\"ez-toc-section-end\"><\/span><\/h3>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4524\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv3.png\" alt=\"\" width=\"386\" height=\"302\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv3.png 386w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv3-300x235.png 300w\" sizes=\"auto, (max-width: 386px) 100vw, 386px\" \/><\/p>\r\n<p>In der Systemsteuerung und dann Freigegebener Ordner erstelle ich einen freigegebenen Ordner.<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4525\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv4.png\" alt=\"\" width=\"306\" height=\"109\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv4.png 306w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv4-300x107.png 300w\" sizes=\"auto, (max-width: 306px) 100vw, 306px\" \/><\/p>\r\n<p>Mein Sicherungsordner hei\u00dft _HA-Backups\u00a0<\/p>\r\n<p><a href=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5852\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs2.png\" alt=\"\" width=\"423\" height=\"121\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs2.png 423w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs2-300x86.png 300w\" sizes=\"auto, (max-width: 423px) 100vw, 423px\" \/><\/a><\/p>\r\n<p>In den Eigenschaften des freigegebenen Ordners _Ha-Backups richte ich die NFS-Berechtigungen ein<\/p>\r\n<p><a href=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5854\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs4.png\" alt=\"\" width=\"868\" height=\"595\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs4.png 868w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs4-600x411.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs4-300x206.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs4-768x526.png 768w\" sizes=\"auto, (max-width: 868px) 100vw, 868px\" \/><\/a><\/p>\r\n<p>192.168.1.200 ist mein Home Assistant und ich erhebe den Pfad \/volume1\/_HA-Backups ganz unten<\/p>\r\n<p>Alter Reflex, ich beschr\u00e4nke die Anzahl der Nutzer auf den Zugriff auf diesen Ordner, ich behalte nur den Benutzer, der zu meinem PC passt, um die Backups von Zeit zu Zeit zu \u00fcberpr\u00fcfen:<\/p>\r\n<p><a href=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5851\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs1.png\" alt=\"\" width=\"872\" height=\"381\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs1.png 872w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs1-600x262.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs1-300x131.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs1-768x336.png 768w\" sizes=\"auto, (max-width: 872px) 100vw, 872px\" \/><\/a><\/p>\r\n<p>Die Akte ist fertig, da ich den Benutzer meines PCs autorisiert habe, sehe ich sie auch vom Computer aus:<\/p>\r\n<p><a href=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5853\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs3.png\" alt=\"\" width=\"855\" height=\"322\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs3.png 855w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs3-600x226.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs3-300x113.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs3-768x289.png 768w\" sizes=\"auto, (max-width: 855px) 100vw, 855px\" \/><\/a><\/p>\r\n<h3><span class=\"ez-toc-section\" id=\"Je_configure_le_stockage_de_Home_Assistant\"><\/span>Ich konfiguriere den Home Assistant-Speicher<span class=\"ez-toc-section-end\"><\/span><\/h3>\r\n<p>Ich gehe zu Einstellungen \/ System \/ Speicher<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4531\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv8.png\" alt=\"\" width=\"285\" height=\"71\" \/><\/p>\r\n<p>Ich f\u00fcge einen Netzwerkspeicher hinzu<\/p>\r\n<p><a href=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5855\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs5.png\" alt=\"\" width=\"616\" height=\"870\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs5.png 616w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs5-600x847.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs5-212x300.png 212w\" sizes=\"auto, (max-width: 616px) 100vw, 616px\" \/><\/a><\/p>\r\n<p>Wenn ich validiere, sehe ich meinen gespeicherten Backup-Ordner:<\/p>\r\n<p><a href=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5856\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs6.png\" alt=\"\" width=\"616\" height=\"175\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs6.png 616w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs6-600x170.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/12\/nfs6-300x85.png 300w\" sizes=\"auto, (max-width: 616px) 100vw, 616px\" \/><\/a><\/p>\r\n<p>Und zum jetzigen Zeitpunkt stellt sich die Frage, wie Home Assistant erkl\u00e4rt werden kann, dass dieser neue Netzwerkspeicher nun f\u00fcr Backups verwendet werden muss, und nein, er hat es selbst verstanden. Das Ankreuzen von \u201eBackup\u201c bei der Erstellung des Netzwerkspeichers leitet automatisch alle Backups in diesen Ordner um. HA hat immer einen kleinen Anteil an Magie, der ihm einen systematischen Vorsprung vor allen konkurrierenden Systemen gibt.<\/p>\r\n<h3><span class=\"ez-toc-section\" id=\"Jautomatise_la_sauvegarde\"><\/span>Ich automatisiere die Sicherung<span class=\"ez-toc-section-end\"><\/span><\/h3>\r\n<p>Wir m\u00fcssen Ha bitten, die Backups zu erstellen, eine einfache Automatisierung wird dies sehr gut tun.<\/p>\r\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"yaml\">alias: Backup - Jede Nacht Beschreibung: \"\" Trigger: - platform: time at: \"01:50:00\" Bedingung: [] Ma\u00dfnahme: - Dienststelle: hassio.backup_full data: compressed: true mode: Single\r\n<\/pre>\r\n<p>&nbsp;<\/p>\r\n<h3><span class=\"ez-toc-section\" id=\"Je_regarde_le_resultat\"><\/span>Ich schaue mir das Ergebnis an<span class=\"ez-toc-section-end\"><\/span><\/h3>\r\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>Dies ist eine gro\u00dfe Neuigkeit: Seit der Version 2023.6 wird der Netzwerkspeicher zu einem einfachen Speicher, der vom Kern des Home Assistant verwaltet wird. Bravo an die Entwickler, das hat gefehlt. In meinem vorherigen Retex habe ich beschrieben, wie das Backup \u00fcber Samba konfiguriert werden kann, in diesem werde ich das Backup \u00fcber NFS konfigurieren. Ich hatte einige Unterbrechungen von [\u2026]<\/p>","protected":false},"author":1,"featured_media":5859,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[14,53,166],"tags":[57,58,54,56],"class_list":["post-5850","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-domotique","category-home-assistant","category-retex","tag-nas","tag-samba","tag-sauvegardes","tag-synology"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/posts\/5850","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/comments?post=5850"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/posts\/5850\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/media\/5859"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/media?parent=5850"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/categories?post=5850"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/de\/wp-json\/wp\/v2\/tags?post=5850"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}