Closed SirGoodenough closed 1 year ago
You can try the dev
branch, I fixed that with https://github.com/ikifar2012/remote-backup-addon/pull/59
Behaviour is now that it generates the backup (so that you at least have a local one) and then tries to copy the files to the remote host using the enabled protocols. In case there is success the backup(s) are deleted according to your settings. Copying and renaming are now just one step.
Since we are in a developer cycle here, I'll bring this up. Not a problem really, just think there is room for improvement. In this log, you will see that the add-on worked fine, did all it's work. The local backup happen in the HA server, but the remote device is off. It continues making the rsync and everything only to throw it out as there is nowhere to go.
Perhaps it could check if the target is alive before it does more than the local snapshot and throw a flag that the remote server is down somehow?
I don't know that this is at all feasible or even needed, just something that may enhance functionality.