Backup by SSH Fails

SYSTEM INFORMATION B
OS type and version UBUNTU 22.04
Virtualmin version 7.9.0 PRO

Hi,

I’m trying to setup a backup to another VPS server at a different location. The testing of the connection passes, but when it tries to transfer the file using SSH, I get the error message below.

Uploading archive to SSH server XX.XX.XX.XX …
… upload failed! XXXXXX@xx.xx.xx.xxx’s password: scp: /virtual-domains: Permission denied

Checked usernames and passwords, this is happening with the root user as I’m testing.

Any advice would be appreciated.

Many Thanks,

Have you tested a ssh login to remote?
This may help