From owner-freebsd-questions@freebsd.org Tue Nov 15 00:31:08 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 549ADC308BC for ; Tue, 15 Nov 2016 00:31:08 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-in7.apple.com (mail-out7.apple.com [17.151.62.29]) (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 350E61D65 for ; Tue, 15 Nov 2016 00:31:07 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay6.apple.com (relay6.apple.com [17.128.113.90]) by mail-in7.apple.com (Apple Secure Mail Relay) with SMTP id 04.9B.32245.5475A285; Mon, 14 Nov 2016 16:31:01 -0800 (PST) X-AuditID: 11973e16-f7e959a000007df5-59-582a5745683b Received: from [17.150.217.100] (Unknown_Domain [17.150.217.100]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by relay6.apple.com (Apple SCV relay) with SMTP id 4B.2A.23613.3475A285; Mon, 14 Nov 2016 16:30:59 -0800 (PST) From: Chuck Swiger Message-Id: <022AE8EF-815D-45D1-AEC8-0165BE7683CD@mac.com> Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: zfs send/receive as dump/restore alternative Date: Mon, 14 Nov 2016 16:30:58 -0800 In-Reply-To: <20161115001751.GA83033@admin.sibptus.transneft.ru> Cc: FreeBSD - To: Victor Sudakov References: <20161114054657.GA66229@admin.sibptus.transneft.ru> <20161114103657.63c03ab1d039c59db18fad90@sohara.org> <20161115001751.GA83033@admin.sibptus.transneft.ru> X-Mailer: Apple Mail (2.3251) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrBLMWRmVeSWpSXmKPExsUi2FAYpesarhVhsGgvp8XLr5tYLH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GxYbnWIUYCDUYmHV+CEZoQQa2JZ cWXuIUYJDmYlEd4sX60IId6UxMqq1KL8+KLSnNTiQ4wTGYF+nMgsJZqcD4ydvJJ4QxMTAxNj YzNjY3MTc1oKK4nzmosCXSSQnliSmp2aWpBaBHMUEwenVANjX+dXwTdrdDP6n20zdvZUeOHJ xpJzV4bJrcrxxLLDHtwGK9hdHolWv31eErTY48I/bU6FCR2F9RuEWloF2xdcSlGLXl0T80mJ MXj+b807SdciJi16mSG+9qf8crOWPoVVh3P3n3vi7MWwcmq2q4DBzzers0RluL4ZydX8DhK9 u3kZ5/duxjtKLMUZiYZazEXFiQALtfNfwQIAAA== Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2016 00:31:08 -0000 On Nov 14, 2016, at 4:17 PM, Victor Sudakov wrote: > Steve O'Hara-Smith wrote: >>>=20 >>> I now run a couple of systems fully on zfs, and use e.g. >>> "zfs send -Rv zroot@2016-10-01 > /mnt1/2016-09-25.zfs"=20 >>> for a full system backup to a remote file server. >>>=20 >>> With restore(8), I could restore any separate filesystem or even a = single >>> file/directory from the dump, even interactively. >>=20 >> As others have indicated the zfs stream is not designed as an >> archive format but rather for efficient filesystem replication. >=20 > BTW if anyone has experience with enterprise backup software for ZFS > (e.g. for Solaris), how does it handle the task of restoring > individual files? >=20 > Oracle says "consider an enterprise backup solution... if you need > per-file restoration": > https://docs.oracle.com/cd/E18752_01/html/819-5461/gbchx.html = The Sun E450 and E4500s I used to deal with had Legato NetWorker as = their "enterprise backup solution", which I think is now owned by EMC / Dell. It was somewhat smarter than doing a Unix filesystem level dump/restore. In particular, it understood a bunch of common filetypes and implemented delta archiving for mbox files and the like rather than having to = re-archive entire copies of changed files. (Think of Time Machine, except without a GUI or a nice graphically = viewable timeline which you could choose different versions from the backup by = date. Well, possibly Legato had an X11-based GUI tool, but the commandline = version worked much better at the time I was using it.) Regards, --=20 -Chuck