Solved

more than one dump per tape

Posted on 2001-06-03
1
247 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
sudo logging 5 65
Solaris OS patch 3 28
Shell script errors 10 99
Bad Block Relocation for Synchronous GLVM AIX 7.1 2 53
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
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 find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

758 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

21 Experts available now in Live!

Get 1:1 Help Now