{"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\/en\/je-sauvegarde-mon-home-assistant-sur-mon-nas-synology-ha2023-6-via-nfs","title":{"rendered":"I save my Home Assistant on my Synology NAS (HA&gt;2023.6) via NFS"},"content":{"rendered":"<p>This is great news, since the <a href=\"https:\/\/hacf.fr\/news\/ha_2023_6\/\" target=\"_blank\" rel=\"noopener\">version 2023.6<\/a>, the network storage becomes archi-simple, it is managed by the core of Home Assistant. Congratulations to the developers, it was missing.<\/p>\r\n<p>In my previous <a href=\"https:\/\/www.sigalou-domotique.fr\/en\/je-sauvegarde-mon-home-assistant-sur-mon-nas-synology-ha2023-6\/\" target=\"_blank\" rel=\"noopener\">Retex<\/a>, I described how to configure the backup via Samba, in this one I will configure the backup via NFS.<\/p>\r\n<p>I have had some disconnections from Samba that I do not explain yet and on a local network, if NFS is well configured, it is a simple tool that does not require creating a user, so I will only keep a user protected by double authentication on my NAS.<\/p>\r\n<p><!--more--><\/p>\r\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_89 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<label for=\"ez-toc-cssicon-toggle-item-6ae5f9ddac588\" 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-6ae5f9ddac588\"  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\/en\/je-sauvegarde-mon-home-assistant-sur-mon-nas-synology-ha2023-6-via-nfs\/#Je_configure_le_dossier_de_sauvegarde_sur_le_NAS\" >I configure the backup folder on the NAS<\/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\/en\/je-sauvegarde-mon-home-assistant-sur-mon-nas-synology-ha2023-6-via-nfs\/#Je_configure_le_stockage_de_Home_Assistant\" >I configure the storage of Home Assistant<\/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\/en\/je-sauvegarde-mon-home-assistant-sur-mon-nas-synology-ha2023-6-via-nfs\/#Jautomatise_la_sauvegarde\" >I automate the backup<\/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\/en\/je-sauvegarde-mon-home-assistant-sur-mon-nas-synology-ha2023-6-via-nfs\/#Je_regarde_le_resultat\" >I look at the result<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Je_configure_le_dossier_de_sauvegarde_sur_le_NAS\"><\/span>I configure the backup folder on the NAS<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 the Control Panel and then Shared Folder, I create a shared folder.<\/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>My backup folder is called _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 the properties of the _Ha Backups shared folder, I will configure the NFS Permissions<\/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 is my Home Assistant and I take down the path \/volume1\/Sauvegardes_HA<\/p>\r\n<p>Old reflex, I limit the number of users to have access to this folder, I keep only the user who corresponds to my PC to check the backups from time to time:<\/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>The file is ready, as I have authorised the user of my PC, I can also see it from the computer:<\/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>I configure the storage of Home Assistant<span class=\"ez-toc-section-end\"><\/span><\/h3>\r\n<p>I go to Settings \/ System \/ Storage<\/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>I add network storage<\/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>When I validate, I can see my saved backup file:<\/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>And at this point, it is legitimate to wonder how to explain to Home Assistant that it is now necessary to use this new network storage for backups, and no, he understood on his own. Checking \u2018Backup\u2019 when creating network storage will automatically redirect all backups to this folder. HA always has a little bit of magic that gives it a systematic lead over all competing systems.<\/p>\r\n<h3><span class=\"ez-toc-section\" id=\"Jautomatise_la_sauvegarde\"><\/span>I automate the backup<span class=\"ez-toc-section-end\"><\/span><\/h3>\r\n<p>We must ask Ha to make the backups, a simple automation will do this very well.<\/p>\r\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"yaml\">alias: Backup - Every night description: \"\" trigger: - platform: time at: \"01:50:00\" condition: [] action: - service: 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>I look at the result<span class=\"ez-toc-section-end\"><\/span><\/h3>\r\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>This is great news, since version 2023.6, network storage has become arche-simple, it is managed by the Home Assistant core. Bravo the developers, it was missing. In my previous Retex, I described how you could configure the backup via Samba, in this one I will configure the backup via NFS. I had some disconnections from [...]<\/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\/en\/wp-json\/wp\/v2\/posts\/5850","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/comments?post=5850"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/5850\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/media\/5859"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/media?parent=5850"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/categories?post=5850"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/tags?post=5850"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}