|OS type and version||Alma 9.1|
Having upgraded a Virtualmin managed server to Alma Linux 9.1, VM backup no longer works fully to my Synology (DSM 7.1.1) backup device.
The problem has several elements:
RH version 9 systems (e.g. Alma 9) no longer support SCP file transfers by default. Instead using SFTP.
Although my Synology has SSH configured on port 22, AND SFTP server on port 22 - it does not seem to accept SCP transfers using SFTP.
The Synology does accept SFTP transfers using the SFTP command line and provides a sftp> prompt.
I can override SCP to not use SFTP by supplying the -O parameter. VM backups then transfer the files correctly.
However, override parameters (e.g. -O) are apparently applied to both SCP and SSH commands.
Incremental backup history deletions appear to use SSH to list the directory and SSH does not accept the -O option, and the backup fails (only the history deletion part).
With the coming demise of the SCP protocol, I’d like to transfer the VM backup files using SFTP but I don’t see that option and the docs don’t mention it.
Could we have another “backup destination type” for SFTP?
Or separate command options for SSH and SCP?