ikifar2012 / remote-backup-addon

Automatically create and backup HA snapshots using SCP
30 stars 4 forks source link

remote_backup_status "ok" while backup did not run successfully #141

Closed beercpd closed 4 months ago

beercpd commented 4 months ago

See relevant text from log:

If for whatever reason this error occurs (due to changes in backup destination setup) you will not get a notification of an error in HA.

==================================================================================== [17:34:42] DEBUG: Syncing /addons /addon_configs /backup /config /homeassistant /media /share /ssl hassio-test@192.168.1.1: Permission denied (publickey). rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: unexplained error (code 255) at io.c(231) [sender=3.2.7] [17:34:45] ERROR: Error rsyncing folder(s) /addons /addon_configs /backup /config /homeassistant /media /share /ssl to hassio-test@192.168.1.1:/mnt/pool1/HA-backup: unknown error: 255! [17:34:45] DEBUG: Rclone disabled. [17:34:45] DEBUG: Requested API resource: http://supervisor/backups/reload [17:34:45] DEBUG: Request method: POST [17:34:45] DEBUG: Request data: {} [17:34:45] DEBUG: API HTTP Response code: 200 [17:34:45] DEBUG: API Response: {"result":"ok","data":{}}

[17:34:45] DEBUG: Requested API resource: http://supervisor/backups [17:34:45] DEBUG: Request method: GET [17:34:45] DEBUG: Request data: {} [17:34:45] DEBUG: API HTTP Response code: 200 [17:34:45] DEBUG: API Response: {" removed as not relevant to error"],"folders":["share","addons/local","ssl","media"]}}]}}

[17:34:45] INFO: Backup process done! [17:34:45] DEBUG: Requested API resource: http://supervisor/core/api/events/remote_backup_status [17:34:45] DEBUG: Request method: POST [17:34:45] DEBUG: Request data: {"result":"ok","message:":"Backup Automated backup 2024-05-17 17-34 created."} [17:34:45] DEBUG: API HTTP Response code: 200 [17:34:45] DEBUG: API Response: {"message":"Event remote_backup_status fired."}

beercpd commented 4 months ago

I believe #122 was not visible when I created this. Anyhow, will close this item as #122 refers.