Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Oct 1999 12:07:34 -0700
From:      Gregory Carvalho <GregoryC@stcinc.com>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Difficulty with dump(8)
Message-ID:  <380A1E76.F5E343FC@stcinc.com>

next in thread | raw e-mail | index | archive | help
I have created the following script, and I am executing it on FreeBSD
3.2R with a HP DDS3 tape drive. It is not creating a volume for each of
the file systems on a single DDS3 cartridge, which I desire it to do.

#!/usr/local/bin/bash

mt -f /dev/rsa0 erase 0
for filesys in / /var /usr
do
  dump -0au -f /dev/rsa0 $filesys
done
mt -f /dev/rsa0 offline

Yesterday, I issued:
dump -0au -f /dev/rsa0 /
dump -0au -f /dev/rsa0 /var

as a test, and it created two volumes on tape. "mt -f /dev/rsa0 fsf 1"
displayed /var and "mt -f /dev/rsa0 bsf 1" display /.

My intent is to dump everything in the file system on every archive
process, successively archiving every file system. I would appreciate
direction on how to achieve this process.

Cordially,
Gregory Carvalho		GregoryC@stcinc.com
Simplified Technology Company	http://www.stcinc.com
In God I Trust!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?380A1E76.F5E343FC>