Solved

more than one dump per tape

Posted on 2001-06-03
1
248 Views
Last Modified: 2013-12-27
How can i make more than one dump on a single tape? and then how to restore it with ufsrestore?
0
Comment
Question by:azawawi
1 Comment
 
LVL 40

Accepted Solution

by:
jlevie earned 50 total points
ID: 6150223
To place more than one dump image on a tape you need to use a no-rewind tape device designated by appending "n" to the unit number, e.g., /dev/rmt/0n. Then later when you wish to restore from a dump image other than the first on the tape you use "mt -f /dev/rmt/0n fsf N" to position the tape at the beginning of the desired image where "N" is number of images to skip over. For example, to dump all of the file systems to one tape you could do something like:

# for f in / /var /export; do
> ufsdump 0uf /dev/rmt/0n $f
> done

To retrieve the contents of the dump of /var you'd do:

# mt -f /dev/rmt/0n rew
# mt -f /dev/rmt/0n fsf 1
# ufsrestore rf /dev/rmt/0n

If you are restoring all of the dump images in order using mt to positition the tape isn't necessary. When ufsrestore completes the tape will be positioned at the beginning of the next image.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now