From owner-freebsd-questions@freebsd.org Wed Apr 25 20:43:09 2018 Return-Path: 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 51FF2FAFD69 for ; Wed, 25 Apr 2018 20:43:09 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D5A76843B2 for ; Wed, 25 Apr 2018 20:43:08 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from [192.168.1.46] (host217-39-219-149.range217-39.btcentralplus.com [217.39.219.149]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id w3PKh5g6014081 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO) for ; Wed, 25 Apr 2018 21:43:05 +0100 (BST) (envelope-from frank2@fjl.co.uk) Date: Wed, 25 Apr 2018 21:42:55 +0100 User-Agent: K-9 Mail for Android In-Reply-To: <20180425181002.GA78999@stargrave.org> References: <4a136190a89f631efabcc6fb803e8119@roundcube.fjl.org.uk> <20180425181002.GA78999@stargrave.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: Backing up to tape To: freebsd-questions@freebsd.org From: "Frank Leonhardt (m)" Message-ID: <28BACDED-FDCC-415B-AABA-732FE36A3E91@fjl.co.uk> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Apr 2018 20:43:09 -0000 On 25 April 2018 19:10:02 BST, Sergey Matveev = wrote: >*** Frank Leonhardt [2018-04-25 21:00]: >>If I plug a SAS drive in to an HBA it'll just appear as /dev/sa0 (or >similar) >>- right? >> >>Then I can backup everything with tar -cf /dev/sa0 /* - right? >> >>Is anyone using tape able to confirm any of this one way or another? > >I have purchased Ultrium LTO5 SAS tape drive for several months ago and >use it with HardenedBSD=2E Everything you wrote is right=2E It appears >(connected through SAS HBA) as /dev/sa0, /dev/nsa0, /dev/esa0 and you >can directly use tar with it without any problems=2E mt command allows >you >to rewind and seek records on the tape=2E And neither native tar supports >multivolume archives nor tape drive will do anything with it -- you >have >to split volumes manually somehow=2E You can easily do something like: >zfs send zroot > /dev/sa0 to write your ZFS dataset directly to the >tape >and then restore from it=2E Thanks Sergey! Good to know the tape stuff still works=2E I've ordered a d= rive=2E I'll need a utility to save/restore ZFS datasets that are larger than one = tape if anyone knows of one=2E Otherwise I'll be writing one, if anyone is = interested=2E Regards, Frank=2E --=20 Sent from my Cray X/MP with small fiddling keyboard=2E