From owner-cvs-src@FreeBSD.ORG Tue Apr 13 04:10:31 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 27CB716A4CE; Tue, 13 Apr 2004 04:10:31 -0700 (PDT) Received: from srv01.sparkit.no (srv01.sparkit.no [193.69.116.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8696743D5A; Tue, 13 Apr 2004 04:10:30 -0700 (PDT) (envelope-from eivind@FreeBSD.org) Received: from ws ([193.69.114.88]) by srv01.sparkit.no (8.12.10/8.12.10) with ESMTP id i3DBAScZ000273; Tue, 13 Apr 2004 13:10:28 +0200 (CEST) (envelope-from eivind@FreeBSD.org) Received: from ws (localhost [127.0.0.1]) by ws (8.12.9/8.12.10) with ESMTP id i3DB9L7K003530; Tue, 13 Apr 2004 11:09:21 GMT (envelope-from eivind@ws) Received: (from eivind@localhost) by ws (8.12.9/8.12.10/Submit) id i3DB9KwW003529; Tue, 13 Apr 2004 11:09:20 GMT (envelope-from eivind) Date: Tue, 13 Apr 2004 11:08:20 +0000 From: Eivind Eklund To: Brian Feldman Message-ID: <20040413110820.GB2625@FreeBSD.org> References: <200404130258.i3D2w7WC034439@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200404130258.i3D2w7WC034439@repoman.freebsd.org> User-Agent: Mutt/1.5.4i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/dump dump.8 dump.h main.c tape.c src/sbin/restore extern.h main.c restore.8 tape.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2004 11:10:31 -0000 On Mon, Apr 12, 2004 at 07:58:07PM -0700, Brian Feldman wrote: > green 2004/04/12 19:58:07 PDT > > FreeBSD src repository > > Modified files: > sbin/dump dump.8 dump.h main.c tape.c > sbin/restore extern.h main.c restore.8 tape.c > Log: > Add -P arguments for dump(8) and restore(8) which allow the user to > use backup methods other than files and tapes. The -P argument is > a normal sh(1) pipeline with either $DUMP_VOLUME or $RESTORE_VOLUME > defined in the environment, respectively. > > For example, I can back up my home to three DVD+R[W]s as so: > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/ad0s2e 40028550 10093140 26733126 27% /home > green# dump -0 -L -C16 -B4589840 -P 'growisofs -Z /dev/cd0=/dev/fd/0' /home This looks very interesting - where do you get growisofs and how do you restore a backup made this way? Eivind.