I have a Node Red flow that calls snapshot_partial based on a calendar. It works and a partial snapshot is taken. Problem is that not all of the files in the conf folder are backed up. The last file to be backed up is home-assistant_v2.db. All files below that are not backed up. When I do a manual partial backup everything is backed up. I am running hassio on a pi level 0.91.0. This is the msg sent by Node Red to snapshot_partial
msg.payload =
{
“data”:
{
“name”: (new Date().toISOString().replace(’:’, ‘’).replace(’:’, '’).replace(/…+/, ‘’))+"_Snapshot",
“folders”:[“homeassistant”,“share”]
}
}
return msg;
Json produced by the manual backup
{
"slug": "bb95b157",
"name": "Friday, Apr 5, 2019",
"date": "2019-04-05T18:23:10.102090+00:00",
"type": "partial",
"homeassistant": {
"wait_boot": 600,
"ssl": true,
"watchdog": true,
"port": 8123,
"boot": true,
"version": "0.91.0",
"refresh_token": "f52c44730931fabedd93896b93b6ffb71b753c322eee47affd0265f4fb02cb4dc6a04166305d9d65cf46197758f0a8f9fe99db010f32d10170fb216604dc577c",
"password": null
},
"repositories": [
"https://github.com/hassio-addons/repository",
"https://github.com/danielwelch/hassio-addons",
"https://github.com/bestlibre/hassio-addons"
],
"addons": [
{
"slug": "core_check_config",
"name": "Check Home Assistant configuration",
"version": "1.0",
"size": 0.0
},
{
"slug": "core_samba",
"name": "Samba share",
"version": "6",
"size": 0.0
},
{
"slug": "7be23ff5_dropbox_sync",
"name": "Dropbox Sync",
"version": "1.3.0",
"size": 0.0
},
{
"slug": "core_mosquitto",
"name": "Mosquitto broker",
"version": "4.1",
"size": 0.0
},
{
"slug": "a0d7b954_lovelace-migration",
"name": "Lovelace Migration",
"version": "0.3.0",
"size": 0.0
},
{
"slug": "a0d7b954_appdaemon3",
"name": "AppDaemon",
"version": "2.0.2",
"size": 0.0
},
{
"slug": "core_configurator",
"name": "Configurator",
"version": "2",
"size": 0.0
},
{
"slug": "core_bluetooth_bcm43xx",
"name": "Bluetooth BCM43xx (ResinOS)",
"version": "2.3",
"size": 0.0
},
{
"slug": "a0d7b954_nodered",
"name": "Node-RED",
"version": "2.0.2",
"size": 0.0
},
{
"slug": "a0d7b954_ssh",
"name": "SSH & Web Terminal",
"version": "4.1.0",
"size": 0.01
},
{
"slug": "core_duckdns",
"name": "Duck DNS",
"version": "1.6",
"size": 0.05
},
{
"slug": "a0d7b954_sonweb",
"name": "TasmoAdmin",
"version": "0.7.0",
"size": 0.6
}
],
"folders": [
"addons/local",
"ssl",
"homeassistant",
"share"
]
}
Here is the Json that fails to save all of the files.
{
“slug”: “02906860”,
“name”: “2019-04-05T19_00_55_Snapshot”,
“date”: “2019-04-05T19:00:55.700136+00:00”,
“type”: “partial”,
“homeassistant”: {
“wait_boot”: 600,
“ssl”: true,
“watchdog”: true,
“port”: 8123,
“boot”: true,
“version”: “0.91.0”,
“refresh_token”: “f52c44730931fabedd93896b93b6ffb71b753c322eee47affd0265f4fb02cb4dc6a04166305d9d65cf46197758f0a8f9fe99db010f32d10170fb216604dc577c”,
“password”: null
},
“repositories”: [
“https://github.com/hassio-addons/repository”,
“https://github.com/danielwelch/hassio-addons”,
“https://github.com/bestlibre/hassio-addons”
],
“addons”: [],
“folders”: [
“share”
]
}