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 /sbin/dump/dump.h | |
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 'sbin/dump/dump.h')
-rw-r--r-- | sbin/dump/dump.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/dump/dump.h b/sbin/dump/dump.h index 08acb9e..75b33d5 100644 --- a/sbin/dump/dump.h +++ b/sbin/dump/dump.h @@ -56,6 +56,7 @@ char *dumpinomap; /* map of files to be dumped */ */ char *disk; /* name of the disk file */ char *tape; /* name of the tape file */ +char *popenout; /* popen(3) per-"tape" command */ char *dumpdates; /* name of the file containing dump date information*/ char *temp; /* name of the file for doing rewrite of dumpdates */ char lastlevel; /* dump level of previous dump */ |