hassio-addons icon indicating copy to clipboard operation
hassio-addons copied to clipboard

Backup not created: Error occurred! Backup could not be created! Please try again

Open CMMenzel opened this issue 1 year ago • 3 comments

Hi, I am getting the below error but cannot deduce any information as to what is going wrong.. Any help appreciated :)

Add-on version: 5.2.0 You are running the latest version of this add-on. System: Home Assistant OS 12.4 (amd64 / generic-x86-64) Home Assistant Core: 2024.7.4 Home Assistant Supervisor: 2024.08.0

Please, share the above information when looking for help or support in, e.g., GitHub, forums or the Discord chat.

cont-init: info: /etc/cont-init.d/00-banner.sh exited 0 cont-init: info: running /etc/cont-init.d/01-log-level.sh Log level is set to DEBUG cont-init: info: /etc/cont-init.d/01-log-level.sh exited 0 s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting s6-rc: info: service legacy-services successfully started [24-08-06 12:51:34] INFO: --------------------------------------------------- [24-08-06 12:51:34] INFO: Host/Share: 192.168.178.1/FRITZ [24-08-06 12:51:34] INFO: Target directory: USB [24-08-06 12:51:34] INFO: Keep local/remote: 3/4 [24-08-06 12:51:34] INFO: Trigger time: 12:52 [24-08-06 12:51:34] INFO: Trigger days: Tue [24-08-06 12:51:34] INFO: --------------------------------------------------- [24-08-06 12:51:35] DEBUG: Backups local/remote: 133/0 [24-08-06 12:51:35] DEBUG: Total backups succeeded/failed: 0/5 [24-08-06 12:51:35] DEBUG: Last backup: never [24-08-06 12:51:35] DEBUG: putting file samba-tmp123 as \USB\samba-tmp123 (0.0 kb/s) (average 0.0 kb/s) [24-08-06 12:51:35] DEBUG: Posting sensor data to API at /core/api/states/sensor.samba_backup [24-08-06 12:51:35] DEBUG: API Status: 200 [24-08-06 12:51:35] DEBUG: API Response: {"entity_id":"sensor.samba_backup","state":"IDLE","attributes":{"friendly_name":"Samba Backup","backups_local":"133","backups_remote":"0","total_backups_succeeded":"0","total_backups_failed":"5","last_backup":"never"},"last_changed":"2024-08-06T10:51:07.195180+00:00","last_reported":"2024-08-06T10:51:07.195180+00:00","last_updated":"2024-08-06T10:51:07.195180+00:00","context":{"id":"01J4KN0THV6X9SA5RKA01XXVZV","parent_id":null,"user_id":"f31ef2ec1dd74df3979b79a81e0aa313"}}

[24-08-06 12:51:35] INFO: Samba Backup started successfully [24-08-06 12:51:35] DEBUG: Starting main loop ... [24-08-06 12:51:35] DEBUG: Starting stdin listener ... [24-08-06 12:52:35] INFO: Backup running ... [24-08-06 12:52:35] DEBUG: Backups local/remote: 133/0 [24-08-06 12:52:35] DEBUG: Total backups succeeded/failed: 0/5 [24-08-06 12:52:35] DEBUG: Last backup: never [24-08-06 12:52:35] DEBUG: Posting sensor data to API at /core/api/states/sensor.samba_backup [24-08-06 12:52:35] DEBUG: API Status: 200 [24-08-06 12:52:35] DEBUG: API Response: {"entity_id":"sensor.samba_backup","state":"RUNNING","attributes":{"friendly_name":"Samba Backup","backups_local":"133","backups_remote":"0","total_backups_succeeded":"0","total_backups_failed":"5","last_backup":"never"},"last_changed":"2024-08-06T10:52:35.870178+00:00","last_reported":"2024-08-06T10:52:35.870178+00:00","last_updated":"2024-08-06T10:52:35.870178+00:00","context":{"id":"01J4KN3H4YD31Q2Z48T8HEXJGF","parent_id":null,"user_id":"f31ef2ec1dd74df3979b79a81e0aa313"}}

[24-08-06 12:52:35] INFO: Creating backup "Samba Backup 2024-08-06 12:52" [24-08-06 12:52:35] ERROR: Error occurred! Backup could not be created! Please try again [24-08-06 12:52:36] DEBUG: Posting sensor data to API at /core/api/states/sensor.samba_backup [24-08-06 12:52:36] DEBUG: API Status: 200 [24-08-06 12:52:36] DEBUG: API Response: {"entity_id":"sensor.samba_backup","state":"FAILED","attributes":{"friendly_name":"Samba Backup","backups_local":"133","backups_remote":"0","total_backups_succeeded":"0","total_backups_failed":"6","last_backup":"never"},"last_changed":"2024-08-06T10:52:36.134033+00:00","last_reported":"2024-08-06T10:52:36.134033+00:00","last_updated":"2024-08-06T10:52:36.134033+00:00","context":{"id":"01J4KN3HD6F1J5PH6HEW105YMQ","parent_id":null,"user_id":"f31ef2ec1dd74df3979b79a81e0aa313"}}

CMMenzel avatar Aug 06 '24 10:08 CMMenzel

I have the same issue. It used to work perfectly, but it suddenly stopped for an unknown reason. Earlier this week I changed the settings so it would backup in the evening (normally it is in the middle of the night) so I could monitor it and that worked perfectly. After that I changed it back to the normal time (3 AM) and the error is back. Just like your logging mine also only states that there is an error, but no mention of WHAT error.

bscheutjens avatar Sep 27 '24 06:09 bscheutjens

Same happens for me unfortunately :/ EDIT: managed to fix it by deleting all temp. backup from the backup directory (after SSHing) and restarting my machine.

balczezzz avatar Oct 31 '24 21:10 balczezzz

Same happens for me too!

tigger1972 avatar Jan 25 '25 07:01 tigger1972