Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
CMMenzel opened this issue Aug 6, 2024 · 2 comments

Comments

@CMMenzel
Copy link

CMMenzel commented Aug 6, 2024

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"}}

@bscheutjens
Copy link

bscheutjens commented Sep 27, 2024

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.

@balczezzz
Copy link

balczezzz commented Oct 31, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants