Hi, On Wed, Dec 29, 1999 at 16:46 -0600, Jon Pennington wrote:
Another question that I have is whether or not there is a way to compress the data that dump processes/generates. Using file limits in the dump command itself (above) is pointless if you'll simply compress the file afterwards.
You could use afio instead of dump for this. It can compress every single file before putting it into an archive and it supports multivolume archives. A simple approach to create such an archive on floppy disks could be: mount /mnt/floppy find /home |afio -o -Z -s 1m -H script1 /mnt/floppy/test.afio.gz Now afio will build an archive with 1 MB volumes. After creating each volume it will execute script1 which could look like this ---------------------------------------------------> #!/bin/sh umount /mnt/floppy || exit 1 echo "Insert floppy No $1, press any key when ready" read mount /mnt/floppy || exit 1 rm -f /mnt/floppy/* exit 0 <-------------------------------------------------- To restore the archive insert the first floppy and do a mount /mnt/floppy afio -i -Z -s 0 -H script2 /mnt/floppy/test.afio.gz cript2 could be something like ---------------------------------------------------> #!/bin/sh umount /mnt/floppy || exit 1 echo "Insert floppy No $1, press any key when ready" read mount /mnt/floppy || exit 1 exit 0 <--------------------------------------------------- It shouldn't be hard to change the shell scripts so that they burn each volume on CD. Ciao, Stefan -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/