Date: Mon, 4 Feb 2019 08:44:11 -0500 From: Diane Bruce <db@db.net> To: George Mitchell <george+freebsd@m5p.com> Cc: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: Non-interactive multivolume restore Message-ID: <20190204134411.GA19894@night.db.net> In-Reply-To: <5fc87495-8fdc-c1f3-0b95-8609347794f0@m5p.com> References: <5fc87495-8fdc-c1f3-0b95-8609347794f0@m5p.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 03, 2019 at 09:50:43PM -0500, George Mitchell wrote: > Historically, the restore program assumed that the volumes of a > multivolume dump were on separate physical reels of tape, and that a > human would have to load each tape to complete the restore. But now > I have multivolume dumps that are simply separate online files from > which I would like to restore without having to type each name in > one at a time. However, you can give only one -f option on the > command line, and additional file names are assumed to specify the > files you want to restore, as opposed to additional dump volumes. > > I thought perhaps 'cat dumpvols... | restore -x -f -', but that > gets confused at the beginning of the second volume. > > What's the right way to do this? -- George > Would xargs work for this? -- - db@FreeBSD.org db@db.net http://artemis.db.net/~db
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190204134411.GA19894>