ikifar2012 / remote-backup-addon

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

Event appears to sends "ok" when the remote copy has failed #122

Closed MisterRadish closed 2 months ago

MisterRadish commented 9 months ago

When the HASSIO backup s successful but the SSH copy fails due to lack of disk space on the target system the event seems to fire "ok" and not "error"

Log shows that copy failed

scp: write remote "/mnt/sambashare/homeassistant/HASSIO 2023-12-12 01-00.tar": Failure
scp: failed to upload file /backup/7b288617.tar to /mnt/sambashare/homeassistant/HASSIO 2023-12-12 01-00.tar
[02:01:03] WARNING: SFTP transfer failed, falling back to SCP: Invalid command line argument
scp: ambiguous target
[02:01:04] ERROR: Error copying backup 7b288617.tar to /mnt/sambashare/homeassistant on 192.168.1.23:  Invalid command line argument

Remote Backup: Current version: 2023.3.0 Core 2023.12.0 Supervisor 2023.11.6 Operating System 11.1

stale[bot] commented 7 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 5 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

ikifar2012 commented 4 months ago

141 also describes this issue, I will be on it soon

stale[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.