SUMMARY: dump

From: Todd Lomaro (toddl@aria.smec.Sony.COM)
Date: Mon Apr 26 1993 - 16:33:24 CDT


my original question:

>The problem I am having is that I can't seem to place multiple filesystems from
>multiple disks onto one tape (the total of which is less than 2.3Gb). I
>first used "dump 0dsbfu 54000 6000 126 /dev/rst2 /usr /home /usr2". Anything
>after /usr was ignored. I then used multiple dumps like "dump 0dsbfu 54000
>6000 126 /dev/nrst2 /usr" for each filesystem. According to the sun manual dump
>allows the "n"rst2 for "no rewind", however it seems that dump ignores this
>and rewinds the tape. Does anybody know how to dump multiple filesystems from
>multiple disks onto a single tape?

Thanks to all that responded (too many to list - you know who you are).

It turns out that dump has a *bug* and seems to always report that it is
rewinding the tape even if the "no rewind" option was given. Shame on me for
assuming dump was telling the truth!!!

The following is a script that seems to do the trick.

#!/bin/csh
echo "Starting Backup"
mt -f /dev/rst2 rew
echo
echo "Backup on /usr"
/etc/dump $1dsbfu 54000 6000 126 /dev/nrst2 /usr
echo "Done"
echo "Backup on /home"
/etc/dump $1dsbfu 54000 6000 126 /dev/nrst2 /home
echo "Done"
echo "Backup on /usr2"
/etc/dump $1dsbfu 54000 6000 126 /dev/nrst2 /usr2
echo "Done"
echo "Backup on /usr3"
/etc/dump $1dsbfu 54000 6000 126 /dev/rst2 /usr3
echo "Done"
exit

Todd Lomaro.

+---------------------------------------------------+
| Todd Lomaro Phone:(201)930-7948 |
| Sony Medical Systems Fax:(201)358-4977 |
| 3 Paragon Dr. E-Mail: toddl@smec.sony.com|
| Montvale, NJ 07645 |
+---------------------------------------------------+



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:46 CDT