Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Feb 2019 21:50:43 -0500
From:      George Mitchell <george+freebsd@m5p.com>
To:        FreeBSD Hackers <freebsd-hackers@FreeBSD.org>
Subject:   Non-interactive multivolume restore
Message-ID:  <5fc87495-8fdc-c1f3-0b95-8609347794f0@m5p.com>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--Cf9bT0kJ2TTkVFOGpvykC9BpU77yV0FUD
Content-Type: multipart/mixed; boundary="bpqTbD2dSwWGc5kgjzkb82C7ScNMs2knH";
 protected-headers="v1"
From: George Mitchell <george+freebsd@m5p.com>
To: FreeBSD Hackers <freebsd-hackers@FreeBSD.org>
Message-ID: <5fc87495-8fdc-c1f3-0b95-8609347794f0@m5p.com>
Subject: Non-interactive multivolume restore

--bpqTbD2dSwWGc5kgjzkb82C7ScNMs2knH
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

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


--bpqTbD2dSwWGc5kgjzkb82C7ScNMs2knH--

--Cf9bT0kJ2TTkVFOGpvykC9BpU77yV0FUD
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

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

iQIzBAEBCAAdFiEENdM4ZHktsJW5kKZXwRES3m+p4fkFAlxXqIMACgkQwRES3m+p
4fljJA/+IrRLwY4Je5CpRSppGDD2pn3aMYLymI4w5JEwL+Lrl2S3HhjPL6P3LqKW
vKX+oknxLNpDPxwP10b3xyZ/ayb2AsavGm/U7GZcPda5EnyI5oe+rFGWuitn52bh
Ifsj4yCrVccB9TYgWp3xqPXjy4UeCEjQdPuUSAQwJ3Te8cmTPJVemGEPrbxV62LD
3gtq2YzMrQiGWBmccQEX+sxFMaZ08X/nHndEt1MKSm0rFATPFp2x3UeISQBwSU9x
iLhmF5TSKEkc82mBQxwDfCfhHrsFNiG+MzjsiEoHxQg3C7P/Ju43Yxk0VV0ZlCHp
AR8lAeUg3m2l847aNbyU7Shb2IX1PD4Ceyrk3gfJVBQ9zRtcih468nqcQLcAxErE
U7YXqQE0OmCO8s69qOT6vbJHYDmtbdMQoxxs1d/AI6UrcFNGAUzw0xD+PP/9275E
SWZXTqut+JhGLB0XFlCOZw0hdnJlf9UQvokej7JxnRe7+G/4PhHkOxejg4YQ5WrU
USVoO+/q0UXupDXWNvusTnHEP8LXA5+Zth8yGjMTBnRtdsWilc35KLKjjGVoqXGD
CMZBxf3ai9tms0udT58XwZd9AuK54SjVvOvMSfXN5ZTA442MdcEGJW06eESfWFHs
697Zh9VAMTd7BQdnrtLn0H5YE0Axvx9MRMvT8aQ19+xHrklI7rM=
=eTWX
-----END PGP SIGNATURE-----

--Cf9bT0kJ2TTkVFOGpvykC9BpU77yV0FUD--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5fc87495-8fdc-c1f3-0b95-8609347794f0>