Solved

more than one dump per tape

Posted on 2001-06-03
1
252 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

738 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