[Solved] Rsync error: some files were not transferred code 23

How dumb, I changed the ip in the url bar and it messed everything up.

Hopefully this will help someone else facing this issue.

rsync -avzhe ssh [email protected]:/var/www/html/ .
rsync -avzhe ssh [email protected]/var/
inside of the url bar

After entering the following command in the new web server terminal:
rsync -avzhe ssh [email protected]/var/

I used to get the following error message:

sending incremental file list
rsync: change_dir "/var/www/html//[email protected]/var/www/html" failed:                                                                                         No such file or directory (2)

sent 20 bytes  received 12 bytes  64.00 bytes/sec
total size is 0  speedup is 0.0
rsync error: some files/attrs were not transferred (see previous errors) (code 2                                                                                        3) at main.c(1183) [sender=3.1.1]


As you can see the backup is in the folder as expected.

I was copying the ip addresses from Droplet page on Digital Ocean

The only problem was that copying the command inside of the url bar trimmed and changed the command.

Thank you anyway.