Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to do a full restore?? pls help!

Status
Not open for further replies.

blurqaz

Technical User
Jul 19, 2001
2
SG
Hi all,

I have done a full backup to tape using the command,

find / - print |cpio -ovB -O /dev/rct0

How do I do a full restore? Please help as I am new to SCO. Thanks in advance

Rgs,
Ryan Wan
 
From root (assuming your backup was done from there), use:

cpio -ivmudB < /dev/rct0

Bear in mind that the 'u' option will overwrite any existing files, regardless of whether they are newer than those on the tape. It's not always the best idea in the world to restore your root directory in this way!

Hope this helps.
 
you will also not be able to restore the /stand directory if you are using openserver 5 and above.

if it is a complete system restore that you need to do i would suggest:

- boot up on you root and boot disks (hopefully you did make these at some point)
- mount your root filesystem on /mnt
- mount your stand filesystem on /mnt/stand
- mount all other filesystems that were mounted at the time of the backup, where appropriate under the /mnt directory
- cd to /mnt
- cpio -icvdumBA < /dev/rct0

Hope this helps
stan
 
And be thinking of a different way to do your backup. One of the supertar products. Ed Fair
efair@atlnet.com

Any advice I give is my best judgement based on my interpretation of the facts you supply.

Help increase my knowledge by providing some feedback, good or bad, on any advice I have given.

 
hi,

starhubble, thanks for the reply and help. one more silly question. not familiar with sco at all.

do i need to fdisk/format the harddisk exactly as before before i proceed to mount them? and if so, do i mount all the different partition to the same path as before also??

sorry if i am asking something really silly. thanks a lot in advance.

ryan
 
blurqaz

the short answer is no to the first question and no to the second. You dont have to have the divisions the same size as before but the order and division number should be the same. You mount the other file systems relative to the /mnt directory after you have mounted the root filesystem.

But....you original question has now changed from how to do a complete restore to reinitializing/replacing a root drive.
I wrote up my quick set of instructions in the following faq
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top