freebsd-dev/sbin/restore
Brian Feldman c51d70c690 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
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
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
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
restore.h
symtab.c
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