Vero 4K+: ‘Failed to copy the Backup Tar file’

I keep getting the above message during Auto Backup. Managed to reproduce during Manual Backup with Debug enabled. It’s not a disk space or location issue.

Debug Logs are here:-
https://paste.osmc.tv/kaxucalahe

Backup started around 2021-06-22 19:59:04.855

So in the logs it says:-
2021-06-22 20:01:00.825 T:2738 DEBUG : script.module.osmcsetting.updates[osmc_backups] : remote tarball name: /home/osmc/Backups/OSMCBACKUP_2021_06_22_19_59_05.tar.gz
2021-06-22 20:01:00.825 T:2738 DEBUG : script.module.osmcsetting.updates[osmc_backups] : remote tarball exists: False
2021-06-22 20:01:00.825 T:2738 DEBUG : script.module.osmcsetting.updates[osmc_backups] : Transfer of backup file not successful: False

But that is not actually true since OSMCBACKUP_2021_06_22_19_59_05.tar.gz does not exist.

I am on the Testing KODI v19 Build so feel free to move to that thread if necessary

I’m not 100% sure but I had to set the backup locations again even though they were correct. When I did that the message stopped.

Tried that but it didn’t help.

The reason False is shown here is that in the code there is a boolean variable ‘success’ which is set to false at this point.

I’m still flummoxed why this is happening. I have the backups set to Default settings (no Add-ons etc.) and I browsed to /home/osmc/Backups/. I have 10GB available in disk space and my backups are about 175MB each.

It also does not matter whether I set 0 or 3 for number of backups to keep.

Is there a way to run the backup from an ssh session to make it easier to troubleshoot?