Xtrabackup fails with OS errno 2

I am trying to take a full backup remotely as below

sudo xtrabackup --user=root --password=password --host= --backup --target-dir=./data.resync

But backup failes with below error

[Note] [MY-011825] [Xtrabackup] Finished backing up non-InnoDB tables and files
[Note] [MY-011825] [Xtrabackup] Executing FLUSH NO_WRITE_TO_BINLOG BINARY LOGS
[Note] [MY-011825] [Xtrabackup] Selecting LSN and binary log position from p_s.log_status
xtrabackup: File '/foo/bar/mysql-bin.019658' not found (OS errno 2 - No such file or directory)

Xtrabackup complaining about the file mysql-bin.019658 exists in the master server and is the most recent bin file

The closest thread I have found around my problem is

But this hasen’t helped much

I have looked around other posts and but couldn’t found any relevant solution

I will highly recommend to do it this way Streaming MySQL Backups with Percona XtraBackup - Another Alternative