diff options
author | green <green@FreeBSD.org> | 2004-04-13 02:58:06 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2004-04-13 02:58:06 +0000 |
commit | 581462d4656a457daa431e77d6ec725f56cba982 (patch) | |
tree | a1d674955b8c95633685662ea70b1c1e05573efd /gnu | |
parent | a98a06d2276b300662ee818529a9a455454f506c (diff) | |
download | FreeBSD-src-581462d4656a457daa431e77d6ec725f56cba982.zip FreeBSD-src-581462d4656a457daa431e77d6ec725f56cba982.tar.gz |
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
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions