saving "zfs send" to a Windows host
Dr. Nikolaus Klepp
dr.klepp at gmx.at
Tue Apr 23 07:26:39 UTC 2019
Anno domini 2019 Tue, 23 Apr 12:42:43 +0700
Victor Sudakov scripsit:
> Dear Colleagues,
> What is the most convenient way to stream a "zfs send" output through
> the network to a file on a Windows host, for backup purposes?
> I used to use mount_smbfs to mount a Windows share and capture "zfs
> send" output to a file, but now that SMBv1 is not supported anymore,
> mount_smbfs has become useless.
> I don't mind installing some agent to the Windows host which will be
> able to receive "zfs send" output to a network port (through netcat for
> example) and save it there, but I don't know what it could be. It should
> also support some form of authentication (at least not permit an
> arbitrary host to overwrite the backups).
> Can you recommend something?
Use sshd, just like you would in unix only environment. Install OpenSSH on windows (e.g. https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse ), use public key authentication only without passphrase (yes, security, I know, but you probably want the thing wirking first). I do not know if the m$ sshd supports chroot, but if it does, use it.
Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
More information about the freebsd-questions