freebsd-dev/sbin/restore
green b7e7333659 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
2004-04-13 02:58:06 +00:00
..
dirs.c Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
extern.h Add -P arguments for dump(8) and restore(8) which allow the user to 2004-04-13 02:58:06 +00:00
interactive.c Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
main.c Add -P arguments for dump(8) and restore(8) which allow the user to 2004-04-13 02:58:06 +00:00
Makefile style.Makefile(5): 2004-02-23 20:25:27 +00:00
restore.8 Add -P arguments for dump(8) and restore(8) which allow the user to 2004-04-13 02:58:06 +00:00
restore.c Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
restore.h Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
symtab.c Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
tape.c Add -P arguments for dump(8) and restore(8) which allow the user to 2004-04-13 02:58:06 +00:00
utilities.c Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00