Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Apr 2019 11:55:36 +0000
From:      lorwin.drake@deriveseo.com
To:        freebsd-questions@freebsd.org
Subject:   Re : Interested in redesigning or upgrading your : lemis.com 
Message-ID:  <00000000000005a40b0587597f20@google.com>

next in thread | raw e-mail | index | archive | help
SGkgbGVtaXMuY29tLA0KDQpHcmVldGluZ3MhDQoNCkkgYW0gTG9yd2luIERyYWtlLCBCdXNpbmVz
cyBEZXZlbG9wbWVudCBNYW5hZ2VyLA0KDQoNCkknbSBjb250YWN0IHlvdSB0byBmaW5kIG91dCBp
ZiB5b3UncmUgaW50ZXJlc3RlZCBpbiByZWRlc2lnbmluZyBvciAgDQp1cGdyYWRpbmcgeW91ciBs
ZW1pcy5jb20sIG9yIGlmIHlvdSdyZSBpbnRlcmVzdGVkIGluIGJ1aWxkaW5nIGEgbmV3IHNpdGUu
IEkgIA0KYW0gYSB2ZXJ5IHNraWxsZWQgd2ViIGRlc2lnbmVyIHdpdGggdmFyaW91cyBhYmlsaXRp
ZXMgYW5kIGNhbiBjcmVhdGUganVzdCAgDQphYm91dCBhbnl0aGluZyB0aGF0IHlvdSBjYW4gY29t
ZSB1cCB3aXRoLiBNeSByYXRlcyBhcmUgYWZmb3JkYWJsZSBhdCBhbnkgIA0KYnVkZ2V0Lg0KDQoN
Ck91ciBTZXJ2aWNlczotDQoNCjEuIFdlYiBEZXNpZ25pbmcg4oCTIChTdGF0aWMgV2Vic2l0ZSwg
Q01TIFdlYnNpdGUsIE1vYmlsZSBSZXNwb25zaXZlIFdlYnNpdGUpDQoNCjIuIFdlYiBEZXZlbG9w
bWVudCDigJMgKEUtY29tbWVyY2UsIFBIUCAmIEZsYXNoIERldmVsb3BtZW50KQ0KDQozLiBTRU8g
4oCTIChGdWxsIFNFTyBQYWNrYWdlcyB3aXRoIHBsYW4gYW5kIGFjdGl2aXRpZXMpDQoNCjQuIFNN
TyDigJMgKEZhY2UgYm9vaywgVHdpdHRlciwgTGlua2VkSW4sIFlvdVR1YmUgJiBNeVNwYWNlIE1h
cmtldGluZywgZXRjKQ0KDQo1LiBQUEMg4oCTIChQYXkgcGVyIENsaWNrKQ0KDQo2LiBMb2dvIERl
c2lnbg0KDQo3LiBDb250ZW50IFdyaXRpbmcgU2VydmljZXMNCg0KUGxlYXNlIGxldCBtZSBrbm93
IHdoYXQgeW91J3JlIGxvb2tpbmcgdG8gZG8gd2l0aCB0aGUgbGVtaXMuY29tIGFuZCBJIGNhbiAg
DQpnaXZlIHlvdSBhIHByb3Bvc2FsIG9uIGdldHRpbmcgaXQgZG9uZS4NCg0KDQpLaW5kIHJlZ2Fy
ZHMsDQoNCg0KTG9yd2luIERyYWtlLA0KDQoNCkJ1c2luZXNzIERldmVsb3BtZW50IE1hbmFnZXIN
Cg0KDQotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tDQoNCk5vdGU6IEtpbmRseSBwbGVhc2UgZW1haWwgd2l0aCB0aGUgc3ViamVjdCBs
aW5lICJJbnRlcmVzdGVkIiBvciBhbGxvdyBtZSB0byAgDQpzZW50ICJObyBPYmxpZ2F0aW9uIEF1
ZGl0IFJlcG9ydCIuDQoNCg==
From owner-freebsd-questions@freebsd.org  Thu Apr 25 14:52:12 2019
Return-Path: <owner-freebsd-questions@freebsd.org>
Delivered-To: freebsd-questions@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id B889F159958F
 for <freebsd-questions@mailman.ysv.freebsd.org>;
 Thu, 25 Apr 2019 14:52:12 +0000 (UTC)
 (envelope-from vas@mpeks.tomsk.su)
Received: from admin.sibptus.ru (admin.sibptus.ru
 [IPv6:2001:19f0:5001:21dc::10])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id E8B84886FD
 for <freebsd-questions@freebsd.org>; Thu, 25 Apr 2019 14:52:11 +0000 (UTC)
 (envelope-from vas@mpeks.tomsk.su)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; 
 s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date;
 bh=vCSyDOYs4DvdUO03Y/K1Ad1iETLsie1EU98nXbgda+c=; b=nJPIN/OS7DJPyUEvZLmd489uKO
 Qwf7gRL+NAIq277SzYykJ+twCwGepnYff5bltcatxZUmzf4ttk8TWTy1tg5rnj2JdjK+DKi0FDEpj
 ZKsHBzIZnfXR26N7yEPWbdnoZPPoU5RU9H1LbFkUjE3GV4VvFYqULP3/DhuYt6MqCmPk=;
Received: from vas by admin.sibptus.ru with local (Exim 4.92 (FreeBSD))
 (envelope-from <vas@mpeks.tomsk.su>) id 1hJfjO-000GCU-Be
 for freebsd-questions@freebsd.org; Thu, 25 Apr 2019 21:52:10 +0700
Date: Thu, 25 Apr 2019 21:52:10 +0700
From: Victor Sudakov <vas@mpeks.tomsk.su>
To: freebsd-questions@freebsd.org
Subject: Re: saving "zfs send" to a Windows host
Message-ID: <20190425145210.GA62061@admin.sibptus.ru>
References: <20190423054243.GA4659@admin.sibptus.ru>
 <201904230926.36122.dr.klepp@gmx.at>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature"; boundary="x+6KMIRAuhnl3hBn"
Content-Disposition: inline
In-Reply-To: <201904230926.36122.dr.klepp@gmx.at>
X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov
X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9  3532 0DA4 F259 9B5E C634
User-Agent: Mutt/1.11.4 (2019-03-13)
Sender: Victor Sudakov <vas@sibptus.ru>
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Apr 2019 14:52:13 -0000


--x+6KMIRAuhnl3hBn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Dr. Nikolaus Klepp wrote:
> > 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?
> >=20
> > 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.
> >=20
> > 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).
> >=20
> > Can you recommend something?
> >=20
>=20
> 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/op=
enssh_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.=20

This is good advice, thank you. I've had OpenSSH installed by the
Windows admin for me, so I can now ssh into that Windows host and even
public key authentication works:

root@bsd:~ # ssh winhost ver

Microsoft Windows [Version 6.1.7601]
root@bsd:~ #=20

Now that I would like to send the backups to winhost to b:\my_backups\,
what remote command should I call there? In Unix I would call "cat" or
"dd" or even "rmt", but here?

root@bsd:~ # zfs send zroot/var/mail@test | ssh winhost "what?"=20

I guess I need something in Windows that would accept a byte stream on
stdin and save it to a file in b:\my_backups\

Any thoughts?

--=20
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

--x+6KMIRAuhnl3hBn
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJcwcmaAAoJEA2k8lmbXsY0uLsH/3dD12A3VVRggQC8wTOYpO7k
7U1xljOSLd8tOSdCJS/5gxSUb8cUwL3FF7UrGcsHNSb5TRHVx+fSsALIQ9qTVWga
3YjmChallqxwxsBXblGeIzsID5pX1DZCK2Km0F4KDXofJqOlENB9FsLxRFcFneUS
iubJHELY/Hyu858WUjSVVwWjxqLAtP0GWUhKmGr49hUIX94bYx3MXrPHG05GL+Mj
SEPBadoeiFSq8bgni8SIuHk0Zidr4MaXNbYIimA4YEXx5YBt2yhHnSMufKZDzo8O
KxlRuSOV90LM9Jdd2/7AZBtXVteFRO7KWR5Vv6gGpHOi9Owq48JouHzyM/DcLHY=
=KVlT
-----END PGP SIGNATURE-----

--x+6KMIRAuhnl3hBn--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00000000000005a40b0587597f20>