Date: Fri, 13 Jun 1997 16:10:13 +0200 (MET DST) From: Zahemszky Gabor <zgabor@CoDe.hu> To: freebsd-questions@freebsd.org (FreeBSD questions) Cc: brandon@ice.cold.org Subject: Re: dump/restore with compression Message-ID: <199706131410.QAA01778@CoDe.hu> In-Reply-To: <Pine.NEB.3.95.970612133914.4723A-100000@ice.cold.org> from Brandon Gillespie at "Jun 12, 97 01:40:51 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> Is there plans to integrate a compression option into dump and restore? > Does anybody USE dump/restore anymore? I've been using the Digital Unix > equivalent 'vdump' and 'vrestore' for a while now, and it has a lot more > capability than the older dump/restore (such as compression 8) > > Or is there a better alternative? Should I just stick with gnu tar? You can ``dump'' to stout, so you can use: dump ``your dump options'' -f - ``filesys'' | gzip -9 > /dev/dumpdevice -- #!/bin/ksh Z='21N16I25C25E30, 40M30E33E25T15U!' ;IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set $Z;for i { [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set $Z;X=;for i { [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;X="$X $i";typeset +l i;};print "$X"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706131410.QAA01778>