cvs commit: src/sbin/dump dump.8 dump.h main.c tape.c src/sbin/restore extern.h main.c restore.8 tape.c

Eivind Eklund eivind at FreeBSD.org
Tue Apr 13 04:10:31 PDT 2004


On Mon, Apr 12, 2004 at 07:58:07PM -0700, Brian Feldman wrote:
> 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

This looks very interesting - where do you get growisofs and how do you
restore a backup made this way?

Eivind.


More information about the cvs-all mailing list