Problem with rsync linux and windows
by Zezan from LinuxQuestions.org on (#5E0NS)
I have a web server on local linux server with debian 10. And I want to backup files daily into my computer with windows 10 on C:\Users\IT\muziejus location. I enable openssh in my computer and I can connect to pc via ssh without anny problems.
https://i.ibb.co/w6XtwY7/image.png <---- Type password to make connection
https://i.ibb.co/S3wTNTb/image.png connected successfully to computer
But when I try to synchronise web server files to computer I got this error.
https://i.ibb.co/JdQCcQt/image.png
I got error:
Code:'rsync' is not recognized as an internal or external command,
operable program or batch file.
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(235) [sender=3.1.3]I type this comand sudo rsync -avr /var/www/html/ it@192.168.2.52:C:\Users\IT\muziejus maybe its some syntax error or problem with folder path ?


https://i.ibb.co/w6XtwY7/image.png <---- Type password to make connection
https://i.ibb.co/S3wTNTb/image.png connected successfully to computer
But when I try to synchronise web server files to computer I got this error.
https://i.ibb.co/JdQCcQt/image.png
I got error:
Code:'rsync' is not recognized as an internal or external command,
operable program or batch file.
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(235) [sender=3.1.3]I type this comand sudo rsync -avr /var/www/html/ it@192.168.2.52:C:\Users\IT\muziejus maybe its some syntax error or problem with folder path ?