Sponsored Content
Full Discussion: SCO unix backup woes
Operating Systems SCO SCO unix backup woes Post 302071260 by tbgeek on Thursday 13th of April 2006 04:49:50 PM
Old 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

SCO UNIX HDD full backup

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

Dual HD Backup in Sco Unix

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

sco remote backup

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

Veritas Backup Agent on SCO problem

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

sco backup using CDROM

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

SCO 5 Backup Errors

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

Full System Backup Sco 5.0.5

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

SCO Backup Failure

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

Emergency Help about backup of SCO OpenServer 5.0.7

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

Help about create backup of SCO openserver 5.0.7

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
Linux::Distribution(3pm)				User Contributed Perl Documentation				  Linux::Distribution(3pm)

NAME
Linux::Distribution - Perl extension to detect on which Linux distribution we are running. SYNOPSIS
use Linux::Distribution qw(distribution_name distribution_version); if(my $distro = distribution_name) { my $version = distribution_version(); print "you are running $distro, version $version "; } else { print "distribution unknown "; } Or else do it OO: use Linux::Distribution qw(distribution_name distribution_version); my $linux = Linux::Distribution->new; if(my $distro = $linux->distribution_name()) { my $version = $linux->distribution_version(); print "you are running $distro, version $version "; } else { print "distribution unknown "; } DESCRIPTION
This is a simple module that tries to guess on what linux distribution we are running by looking for release's files in /etc. It now looks for 'lsb-release' first as that should be the most correct and adds ubuntu support. Secondly, it will look for the distro specific files. It currently recognizes slackware, debian, suse, fedora, redhat, turbolinux, yellowdog, knoppix, mandrake, conectiva, immunix, tinysofa, va-linux, trustix, adamantix, yoper, arch-linux, libranet, gentoo, ubuntu, scientific, oracle enterprise linux and redflag. It has function to get the version for debian, suse, fedora, redhat, gentoo, slackware, scientific, oracle enterprise linux, redflag and ubuntu(lsb). People running unsupported distro's are greatly encouraged to submit patches :-) EXPORT None by default. TODO
Add the capability of recognize the version of the distribution for all recognized distributions. AUTHORS
Alexandr Ciornii <alexchorny@gmail.com>, <http://chorny.net> Alberto Re, <alberto@accidia.net> Judith Lebzelter, <judith@osdl.org> COPYRIGHT AND LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or, at your option, any later version of Perl 5 you may have available. perl v5.14.2 2012-03-18 Linux::Distribution(3pm)
All times are GMT -4. The time now is 10:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy