04-13-2006
I take it this is a separate pc?
Tar doesn't work quite well when backing up system files, so use cpio instead.
Try the following:
Boot the new system with the rescue disks, set up the partitions.
On the origanal pc insert a blank tape and type:
find "/stand" -depth -print -mount | /bin/cpio -ovcB -O /dev/(tape device)
then copy the / filesystem using a separate tape using the same command as above substituting the / for the /stand.
Once the stand filesystem is copied onto the tape, place in the new PC and type:
mkdir stand <enter>
chmod 777 stand <enter>
mount /dev/boot /stand <enter>
cd stand <enter>
cpio -iudvcmB -I /dev/(tape device)
unmount the /stand filesystem
Place the / filesystem tape into the new pc and type the following:
mount /dev/hd0root /mnt <enter>
cd /mnt <enter>
cpio -icvudA -I /dev/(tape device)
unmount the /mnt filesystem when tape is done
this will put the / filesystem on the hard drive.
Type the following to set up the new hd boot sequence:
/bin/dparam -w <enter>
dd if=/etc/hdboot0 of=/dev/hd0a <enter> (this is the default hd value, if your hd is different then change this parameter)
dd if=/etc/hdboot1 of=/dev/hd0a bs=1k seek=1 <enter> (if you changed the hd value in the above entry, this one must be the same)
/etc/haltsys to reboot
Upon reboot, make a stand directory and chmod 777 it. Add your other mount points and their chmod values.
Then type:
isverify -I <enter>
shutdown -g0 <enter> answer "y" to the question
Once rebooted, you can backup your other filesystems to tape and put them on the new system.
If you have any questions, pls let me know.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
HI ALL,
I need to backup HDD with SCO UNIX. I need to have a full functionaly backup of this hard disk. Does anybody have any tool or subsription how to do it. I tried some SW, but after when I tried to use this copy of my original disk "can not find a root directory". Thanks in advance. (1 Reply)
Discussion started by: jardas
1 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
I'm trying to set up a system that will backup one hard drive to another automatically, so in case the main disk fails, I can just swap it out for the backup. Hopefully someone out there knows what I am talking about. Anyway, can anyone recommend any programs for Sco Unix 5 that will... (0 Replies)
Discussion started by: wbishop311
0 Replies
3. SCO
i have 2 server, one is running on windows and the other one is running on sco. both have their own dds4 drive but the sco server is not malfunctioning. is it possible to backup data from sco server to our windows server remotely.
thanks (1 Reply)
Discussion started by: yackim
1 Replies
4. SCO
Hello All,
We have Veritas Backup Exec on a Windows 2003 OS and trying to setup the Ralus agent on SCO to perform regular backups of our Unixware system; but for some reason after "I believe" installing the agent on SCO; and launching it using the 'agent.be" command I receive a syntax error... (1 Reply)
Discussion started by: Yorgy
1 Replies
5. SCO
I've installed a CD-RW rom using SCO OSR 5.0.7, but I cannot open the dev to perform backup (6 Replies)
Discussion started by: tsc_hk
6 Replies
6. UNIX for Dummies Questions & Answers
I know very little about UNIX, (so please type slow enough so that I can understand). I have inherited an old UNIX SCO OpenServer 5 that is used to run Dentech, a dental office practice management software program. I need to extract the database so that it could be converted for use in a newer... (3 Replies)
Discussion started by: rpmaps
3 Replies
7. UNIX for Dummies Questions & Answers
I would like to know if I can do a full system back
up on my Unix Sco openserver 5.0.5 Machine. If so, What
is the syntax to do this or where can I find this
information at?
Also, is it possible to make this tape bootable so
that I can easily do a full system restore? Any
information on... (2 Replies)
Discussion started by: nellenodrog
2 Replies
8. UNIX for Dummies Questions & Answers
I fairly new to UNIX and LINUX. I am trying to resolve an issue with my SCO OpenServer Release 5. My backups are failing with the following error:
cpio: MT_RECOVER failed for this device: Bad address (error 14)
cpio: Error occurred during end-of-media operations.
cpio: Please reissue the cpio... (9 Replies)
Discussion started by: ddsakline
9 Replies
9. SCO
hi guys
im beginner in unix and have many problem with this.
i have one old machine that Sco unix OpenServer 5.0.7 installed on it.
i wana backup from all partition of hard disk and restore it on another unix machine. how can i do that ?
thing like hard to hard for windows !!!
i only know how... (1 Reply)
Discussion started by: farzad226
1 Replies
10. SCO
hi guys
im beginner in unix and have many problem with this.
i have one old machine that Sco unix OpenServer 5.0.7 installed on it.
i wana backup from all partition of hard disk and restore it on another unix machine. how can i do that ?
thing like hard to hard for windows !!!
i only know how... (14 Replies)
Discussion started by: farzad226
14 Replies
LEARN ABOUT REDHAT
tapeinfo
TAPEINFO(1) General Commands Manual TAPEINFO(1)
NAME
tapeinfo - report SCSI tape device info
SYNOPSIS
tapeinfo -f <scsi-generic-device>
DESCRIPTION
The tapeinfo command reads various information from SCSI tape drives that is not generally available via most vendors' tape drivers. It
issues raw commands directly to the tape drive, using either the operating system's SCSI generic device ( e.g. /dev/sg0 on Linux,
/dev/pass0 on FreeBSD) or the raw SCSI I/O ioctl on a tape device on some operating systems.
One good time to use 'tapeinfo' is immediately after a tape i/o operation has failed. On tape drives that support HP's 'tapealert' API,
'tapeinfo' will report a more exact description of what went wrong.
Do be aware that 'tapeinfo' is not a substitute for your operating system's own 'mt' or similar tape driver control program. It is intended
to supplement, not replace, programs like 'mt' that access your operating system's tape driver in order to report or set information.
OPTIONS
The first argument, given following -f , is the SCSI generic device corresponding to your tape drive. Consult your operating system's doc-
umentation for more information (for example, under Linux these are generally start at /dev/sg0 under FreeBSD these start at /dev/pass0).
Under FreeBSD, 'camcontrol devlist' will tell you what SCSI devices you have, along with which 'pass' device controls them. Under Linux,
"cat /proc/scsi/scsi" will tell you what SCSI devices you have.
BUGS AND LIMITATIONS
This program has only been tested on Linux with a limited number of tape drives (HP DDS4, Seagate AIT).
AVAILABILITY
tapeinfo is currently being maintained by Eric Lee Green <eric@badtux.org> formerly of Enhanced Software Technologies Inc. The 'mtx' home
page is http://mtx.sourceforge.net and the actual code is currently available there and via CVS from http://sourceforge.net/projects/mtx/ .
SEE ALSO
mt(1),mtx(1),scsitape(1)
TAPEINFO1.0 TAPEINFO(1)