Hi there, I will attach a modified innobackupex script that includes a fix that I made when having an error backing up to a server on a non-standard ssh port.
The crux of the problem is that this script uses both ssh and scp for remote backups, however, one annoyance about scp and ssh is that the flag for port (-p for ssh, -P for scp) are different. So, when I would attempt to back up to a server on a port running on 2022, it would fail because the ssh command will not specify the port.
Please feel free to use this. I already once added the --slave-info feature to this script once upon a time for InnoBase, now I add this for you