Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1229
  • Last Modified:

ufsrestore from Solaris 10 to solaris 8 zone

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
itwex
Asked:
itwex
  • 3
  • 3
1 Solution
 
arnoldCommented:
What was the ufsdump directive you used?
Did you hit enter? What happened?

0
 
itwexAuthor Commented:
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
 
arnoldCommented:
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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
itwexAuthor Commented:
Hi,

I used ufsdump 0cfu filename /dev/md/dsk/d100
0
 
arnoldCommented:
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
 
itwexAuthor Commented:
Thanks for your help. Problem now sorted.
0

Featured Post

Independent Software Vendors: 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!

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now