Solved

ufsrestore from Solaris 10 to solaris 8 zone

Posted on 2010-11-18
6
1,182 Views
Last Modified: 2013-12-27
I am trying to restore a ufsdump file into a Solaris 8 zone on a Server & am getting stuck on this. Any ideas?
ufsrestore rf /export/home/test/test.dump                  
mount volume 2                                                    
then enter volume name (default: /export/home/test/test.dump)

My .dump file is in /export/home/test & I am trying to restore it to /zone/sol8/root/test - I am in this directory when I run the ufsrestore command.
0
Comment
Question by:itwex
  • 3
  • 3
6 Comments
 
LVL 77

Expert Comment

by:arnold
ID: 34163695
What was the ufsdump directive you used?
Did you hit enter? What happened?

0
 

Author Comment

by:itwex
ID: 34163721
Yes, tried <Enter> & got the following:

Wrong volume (1)                                                  
Mount volume 2                                                    
then enter volume name (default: /export/home/test/test.dump)  

Could the dump file be corrupt?
0
 
LVL 77

Expert Comment

by:arnold
ID: 34163841
Did you use ufsdump 0f /export/home/test/test.dump?
Is it an incremental backup
ufsdump 1f /export/home/test/test.dump?

run:
ufsrestore if /export/home/test/test.dump and see if you get a different response.
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 

Author Comment

by:itwex
ID: 34164640
Hi,

I used ufsdump 0cfu filename /dev/md/dsk/d100
0
 
LVL 77

Accepted Solution

by:
arnold earned 250 total points
ID: 34166768
The problem is your use of the c option sine you are not using a tape there is no need to use the c option.

the dump file might be made up of two sections.

when dumping to a file, do not use the c flag.
look at /etc/dumpdates to see whether it create a two section of the same dump process.
If it has, you may have to use the s flag with a section designation
ufsrestore rfs filename 1
i.e. the initial dump will be offset 0, the second will be offset of 1.
You always have to feed last tape first.
0
 

Author Closing Comment

by:itwex
ID: 34174125
Thanks for your help. Problem now sorted.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

770 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