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!
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
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.
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.