Cannot remote replicate filesysstems from/to Windows via netcat #370
Unanswered
guenther-alka
asked this question in
General
Replies: 1 comment
-
|
I have now tried nmap/netcat (another netcat option for Windows) with following result: send Proxmox -> Windows |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
With my napp-it cs, I can manage ZFS boxes with BSD, Linux, OSX, Solaris/Illumos or Windows. Part of the project is the option to replicate pools from any source to any destination via napp-it cs replication jobs and netcat.
On Windows I use nc64 from
https://eternallybored.org/misc/netcat/
This works now for any OS combination - beside Windows as source or destination.
What I see on Windows
Local replication via zfs send snapshot | zfs receive -Fv filesystem: ok (from cmd shell, not working with powershell)
On a remote replication ex from Proxmox via
zfs send tank/data@neu | nc -w 30 192.168.2.76 51437
and on Windows side (cmd shell):
nc64 -l -w 20 -p 51437 | zfs receive -Fv tank/prox
I always get
nc64 -l -d -w 20 -p 51437 | zfs receive -Fv tank/prox
receiving full stream of tank/data@neu into tank/prox@neu
cannot receive new filesystem stream: invalid backup stream
Other way: Win 11->Proxmox
zfs send tank/data@neu | nc64 192.168.2.71 51437
11:02:08 312B tank/data@neu
11:02:08 4.09K tank/data@neu
.. longer list of last line
-> waiting/hanging
root@pve:~# nc -l -w 30 -p 51437 | zfs receive -Fv tank/win
receiving full stream of tank/data@neu into tank/win@neu
received 47.9K stream in 0.61 seconds (78.7K/sec)
-> waiting/hanging
I am not sure if this is a netcat on Windows problem or a ZFS on Windows problem. I use 2.2.3rc2 dirty. Anyone tried a network replication with netcat on Windows and success?
Beta Was this translation helpful? Give feedback.
All reactions