cvs commit: src/sbin/dump dump.8 dump.h main.c tape.c
src/sbin/restore extern.h main.c restore.8 tape.c
Brian Feldman
green at FreeBSD.org
Mon Apr 12 19:58:07 PDT 2004
green 2004/04/12 19:58:07 PDT
FreeBSD src repository
Modified files:
sbin/dump dump.8 dump.h main.c tape.c
sbin/restore extern.h main.c restore.8 tape.c
Log:
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
Revision Changes Path
1.65 +23 -1 src/sbin/dump/dump.8
1.26 +1 -0 src/sbin/dump/dump.h
1.59 +21 -7 src/sbin/dump/main.c
1.26 +39 -12 src/sbin/dump/tape.c
1.9 +1 -1 src/sbin/restore/extern.h
1.23 +27 -10 src/sbin/restore/main.c
1.45 +27 -6 src/sbin/restore/restore.8
1.39 +37 -2 src/sbin/restore/tape.c
More information about the cvs-src
mailing list