{"id":4519,"date":"2023-06-24T13:30:53","date_gmt":"2023-06-24T11:30:53","guid":{"rendered":"https:\/\/www.sigalou-domotique.fr\/?p=4519"},"modified":"2026-01-02T17:01:18","modified_gmt":"2026-01-02T15:01:18","slug":"je-sauvegarde-mon-home-assistant-sur-mon-nas-synology-ha2023-6","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/en\/je-sauvegarde-mon-home-assistant-sur-mon-nas-synology-ha2023-6","title":{"rendered":"I save my Home Assistant on my Synology NAS (HA&gt;2023.6) via Samba"},"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>So I will give up my backups via Samba Backup. They worked perfectly but required the installation of the Samba Backup add-on, I can now uninstall it and delete my Retex on its configuration.<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4520\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv1.png\" alt=\"\" width=\"389\" height=\"96\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv1.png 389w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv1-300x74.png 300w\" sizes=\"auto, (max-width: 389px) 100vw, 389px\" \/><\/p>\r\n<ul>\r\n<li>December 2023 update: I had some problems with Samba, I switched my <a href=\"https:\/\/www.sigalou-domotique.fr\/en\/je-sauvegarde-mon-home-assistant-sur-mon-nas-synology-ha2023-6-via-nfs\/\" target=\"_blank\" rel=\"noopener\">HA Backup via NFS<\/a><\/li>\r\n<\/ul>\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-6ae5f9f4f40c6\" 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-6ae5f9f4f40c6\"  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\/#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\/#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\/#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\/#Je_regarde_le_resultat\" >I look at the result<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/je-sauvegarde-mon-home-assistant-sur-mon-nas-synology-ha2023-6\/#Souci_%C2%AB_it_is_not_empty_%C2%BB\" >\"It's Not Empty\"<\/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 _Jeedom Backups because it is historically in the same place that I store my Jeedom backups.<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4526\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv5.png\" alt=\"\" width=\"681\" height=\"409\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv5.png 681w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv5-600x360.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv5-300x180.png 300w\" sizes=\"auto, (max-width: 681px) 100vw, 681px\" \/><\/p>\r\n<p>Old reflex, I limit the number of users to have access to this file:<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4528\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv6.png\" alt=\"\" width=\"836\" height=\"332\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv6.png 836w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv6-600x238.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv6-300x119.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv6-768x305.png 768w\" sizes=\"auto, (max-width: 836px) 100vw, 836px\" \/><\/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><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4530\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv7.png\" alt=\"\" width=\"227\" height=\"276\" \/><\/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><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4532\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv9.png\" alt=\"\" width=\"571\" height=\"778\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv9.png 571w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv9-220x300.png 220w\" sizes=\"auto, (max-width: 571px) 100vw, 571px\" \/><\/p>\r\n<p>To save, you must tick the \u2018Save\u2019 radio, put the NAS ip, choose CIFS and then the path to the backup folder, _Jeedom\/HA Backups at home. I finally put the user HA (user declared in the NAS) and his\/her password.<\/p>\r\n<p>When I validate, I can see my saved backup file:<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4533\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv10.png\" alt=\"\" width=\"337\" height=\"152\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv10.png 337w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv10-300x135.png 300w\" sizes=\"auto, (max-width: 337px) 100vw, 337px\" \/><\/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><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4534\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv11.png\" alt=\"\" width=\"631\" height=\"408\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv11.png 631w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv11-600x388.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2023\/06\/sauv11-300x194.png 300w\" sizes=\"auto, (max-width: 631px) 100vw, 631px\" \/><\/p>\r\n<p>I waited a few days to post this result, I can see that the backups up to 09\/06 were made via the Samba _Backup add-on, since the new version and configuration above, everything is going perfectly in this network folder.<\/p>\r\n<h3><span class=\"ez-toc-section\" id=\"Souci_%C2%AB_it_is_not_empty_%C2%BB\"><\/span>\"It's Not Empty\"<span class=\"ez-toc-section-end\"><\/span><\/h3>\r\n<p>Like many obviously, I realized that my backups were no longer leaving on my NAS.<\/p>\r\n<p>I had the message <strong>Network storage cannot be mounted at xxxxxxx because it is not empty<\/strong><\/p>\r\n<p>This concern is well known and many have the same thing:<\/p>\r\n<ul>\r\n<li><a href=\"https:\/\/github.com\/home-assistant\/supervisor\/issues\/4358\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/home-assistant\/supervisor\/issues\/4358<\/a><\/li>\r\n<\/ul>\r\n<p>I deleted the Samba link and everything was done again, but you have to be alert to the slightest message of storage error in order not to lose this link.<\/p>\r\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>This is great news, since version 2023.6, network storage has become archi-simple, it is managed by the core of Home Assistant. Congratulations to the developers, it was missing. So I will give up my backups via Samba Backup. They worked perfectly but required the installation of the Samba Backup add-on, I can now uninstall it and delete my [\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":[55,57,58,54,56],"class_list":["post-4519","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-domotique","category-home-assistant","category-retex","tag-home-assistant","tag-nas","tag-samba","tag-sauvegardes","tag-synology"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/4519","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=4519"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/4519\/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=4519"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/categories?post=4519"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/tags?post=4519"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}