The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SCO
.
google unix.com



SCO Santa Cruz Operation (SCO) was a software company based in Santa Cruz, California which was best known for selling three UNIX variants for Intel x86.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
hp unix backup&restore jestinabel HP-UX 8 12-19-2006 12:40 PM
F-Backup restore paultittel HP-UX 3 06-27-2006 09:46 AM
Backup and restore uXion AIX 3 06-25-2006 09:02 PM
Backup / restore tt155 SUN Solaris 4 01-22-2006 01:39 PM
Cannot restore a TAR backup Ross.Goodman UNIX for Dummies Questions & Answers 2 10-20-2000 04:52 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-24-2008
mdsmike mdsmike is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 4
Unhappy Please help with SCO Unix Backup & Restore

i have a job tomorrow in which my client has an old PC, i think a Pentium II, that has sco unix (not sure what version yet) on it. They have a scsi backup drive installed but it is not working. They would like me to fix or replace the backup drive (the head just might need to be cleaned) do a complete backup of the data, and build a new computer with the same specs and do a restore on it. It's been about 3 years since I last worked with sco, so my questions are this:

1) what is the command to backup the data, i think it's a tar command with a /dev/(?) command with a capital A at the end in order to do a complete backup with all sub directories.

then i would also like to know what the restore command is and how I should go about restoring this data onto a new hard drive. Should I create a bootable cd and then just do the restore command?

i totally forget how to do this, and I need to find out asap. All help is much appreciated.

I would love it if someone could post the exact commands, thank you
  #2 (permalink)  
Old 09-25-2008
tayyabq8's Avatar
tayyabq8 tayyabq8 is offline Forum Advisor  
Moderator
  
 

Join Date: Nov 2004
Location: Bahrain
Posts: 578
It depends on how tape drive is mounted at your SCO box, I assume its mounted at /dev/rct0, try the following:

To copy a directory and its subdirectories to tape, use the following example:
Code:
% ls -R | cpio -oVc > /dev/rct0
To copy from tape back to a directory, use the following example:
Code:
% cpio -icvD < /dev/rct0
This command reads from the file "list" and copies them over to a tape device.
Code:
% cpio -ov list > /dev/rct0
This command will allow you to specify files to be backed up. After you are finished entering file names, hit Ctrl+D to execute the command.
Code:
% cpio -o /dev/rct0
Here's the example:
Code:
% cpio -o > /dev/rct0
         filename.txt
         file1name.txt
To restore from cpio archive
Code:
% cpio -icvum < /dev/rct0
To view a list of contents on the tape archive:
Code:
% cpio -ict < /dev/rct0
tar Command Options
-c: Create a tar file
-t: List the contents of a tar file
-x: Extract or restore a tar file
-v: Verbose (display the actions tar is taking)
Create a new tar file:
Code:
% tar cvf filename.tar filelist
Write tar file on a backup tape:
Code:
% tar cvf filename.tar /dev/rct0
To extract files:
Code:
% tar xvf filename.tar
  #3 (permalink)  
Old 09-26-2008
mdsmike mdsmike is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 4
hey thanks for the reply, i didn't get this in time but...

here is what happened. (and please let me know what I did or am doing wrong)

First off I am 4 years removed from SCO, so at first I was having some problems navigating around but i did start to remember the commands. Their internal dat backup of their main computer is n/w. I do remember there was a reset command that sometimes worked after it says that the tape drive is offline, and I also remembered that I had to edit a file to take out something, but i can't remember exactly so i configured an external tape drive. and installed it through scoadmin as a generic SCSI 1/SCSI 2 tape drive.

But first, they brought in a separate box, mostly the same specs. Same motherboard, processor, ram, and scsi 2940UW card. The hard drive is a little bigger and the NIC card was different.

So i finally configured the scsi card and hard drive properly, and installed a clean version of SCO 5.0 or 5.5 (can't remember) onto the new box. It seemed to work, as the installation went through properly. Then i configured the external tape drive on the old (main) machine through scoadmin and finally got a backup to go. I did the backup through the scoadmin gui interface. I wasn't sure of the size of the media and put some # in and it seemed to work. Then before I left I restored the tape (using scoadmin) into a /tmp directory on the new machine, but i had to leave before it was finsihed. So i am not sure if that worked or not. I am going back next week but i would really apprecaite if you could tell me what I need to do next in order to get this job completed.

it's a company that is using an inventory program that is 4 generation old, but in order to upgrade them to current, it's going to cost the company $140,000 and they have no intentions of doing. So they wanted me to make an exact duplicate of their old machine to the new one and have this program working off the new one, and have the old one as a spare. What do i need to do in order to accomplish this. I am familiar with sco but def. not an engineer or anything, so please spell it out for me as easy as possible. Is there anyway i can copy this program and whatever scripts they are using right to the new box? i need to install a new NIC card for them and they also want the FTP feature on the new box as well, I'm not familiar with how to do this as well.

Please I really appreciate your help. as i was getting all stressed that nothing was going to work yesterday. and it seemed like i made some progress. Please let me know what I am doing write and/or wrong and what I need to do next. thank you so much. Should I be using tar? cpio? scoadmin? i remember i only use to use tar, but i'm not sure what that copies out, is it all the dir? only some? not sure what files come, and they should all be restored to the exact directories, i don't want to have to start editing files to point them to different directories, I wish i could just use GHOST and have it work perfectly, but this is the unix world and nothing works that easy. i know SCO is very particaular with the hardware, if you change one little thing, it can cause the whole system to stop working, thank you, and sorry for the long post, i was trying to give as much info as possible. If it's easier, maybe you can call me at my office it's 646-744-1095, thank you again
Closed Thread

Bookmarks

Tags
unix commands

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:36 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0