You have a unclosed quote or a “double double” quote there is why you are getting a prompt.
40 years ago, I got myself an C64 computer. Young, I was able to code in basic.
Todays modern langages have so much quotes and commas that with my ADD, I just could not do it.
Thanks.
But it failed. The reference to the SSH key seems to prefer the Windows syntax
nick@komputilo:/mnt/c/Users/estro/documents$ rsync.exe -e "ssh.exe -i /cygdrive/C/Users/estro/.ssh/nick@windows" -v "/cygdrive/c/Users/estro/documents/nico.bmp" "nick@10.0.0.6:/mnt/Bassin/Documents/"
Warning: Identity file /cygdrive/C/Users/estro/.ssh/nick@windows not accessible: No such file or directory.
nick@10.0.0.6: Permission denied (publickey).
rsync: [sender] safe_read failed to read 4 bytes: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(283) [sender=3.4.1]
Can you add another -v to make it -vv?
It went further before stopping
nick@komputilo:/mnt/c/Users/estro/documents$ ###failed###
rsync.exe -e "ssh.exe -i C:/Users/estro/.ssh/nick@windows" -vv "/cygdrive/c/Users/estro/documents/nico.bmp" "nick@10.0.0
.6:/mnt/Bassin/Documents/"
opening connection using: ssh.exe -i "C:/Users/estro/.ssh/nick@windows" -l nick 10.0.0.6 rsync --server -vve.LsfxCIvu . /mnt/Bassin/Documents/ (11 args)
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(232) [Receiver=3.2.7]
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(232) [sender=3.4.1]
Thank you for still trying.
My goal is to copy my “documents” to TN each night.
I was doing it with “allwaysync” for a year but I want to switch to a simpler free solution. simpler beeing the keyword here, unfortunately. ![]()
Is this a SMB share? Have you considered using Powershell on Windows and Robocopy command? I use Robocopy to sync files on Windows to a SMB share on TrueNAS.
Yes.
When I created the dataset to use with AllwaySync it was through SMB.
I tried to use rsync because it was working between my different linux environment but for whatever reason, it does not seem to work from my Windows machine.
I will try with Robocopy and come back with the results.
At this point you might as well.
Robocopy is not as a efficient for ZFS. Keep in mind that if any files are being modified in place, existing snapshots on the dataset will hold a copy of all the previous blocks, which is the entire file size. That being said, it’s probably the best and simplest solution for you.
I find it silly how there’s no native rsync equivalent for Windows that doesn’t require third-party software like Cygwin. I feel your frustration. Yay for Windows. /sarcasm
@The-NinthWave might also want to have a look at Syncthing. It is open source and has versions that run natively on either Windows, Mac, or Linux. I believe there is a TrueNAS specific app available for it in the TrueNAS app store. Then at least then your not dealing with Cygwin (…which BTW is a real pain set setup on Windows… ‘been there and done that’ in a former job.)
All the best,
Bill