cpio Backup and restore to spare server fails


 
Thread Tools Search this Thread
Operating Systems SCO cpio Backup and restore to spare server fails
# 1  
Old 10-13-2010
cpio Backup and restore to spare server fails

Our company purchased a spare HP ML350 server - identical to current one in use to act as minimal downtime replacement should the inevitable happen.

After install of OS 5.0.7 and restore of cpiobackup I get this message:
-: Syntax error: Hostname= $inexpected

The SCO licence policy manager daemon (sco_pmd)..........

This is usually due to a read only root filesystem, lack of a system licence or a damaged program image file (/etc/sco_pmd) If this is not the ase, please contact your SCO service provider for help.
Depending on the reason for the failure, the system may shutdown without warning in one hour. Please boot to single user and correct the problem.

As it has been some time since I've done bup and restore, I had to rely on the notes written 15 years ago. I'm not sure its the cpio restore or re-valuating the SCO licence. The server boxes are identical except the live one has a 8 port serial card.

fyi -
Automated backup command is:
cd /
find . -depth -print | cpio -ocvB -O /dev/rct0

My restore command is:
cd /
cpio -icvdumB /dev/rct0

Any ideas?
# 2  
Old 10-14-2010
Check the date in the CMOS on the new system.
If you did a fresh install, and then did a restore of the root file system, and or the /stand file system, then the dates could also be messed up.
Run scoadmin, and remove and re-install the licences.
This User Gave Thanks to jgt For This Post:
# 3  
Old 10-14-2010
if your cmos time is wrong then you logon in single user mode.
Set the correct time and reboot your system.
open license manager and be sure the all settings are ok.

if your problem continues then re-try restore from tape and repeat up directions..

if your problem continues then check the your backup for corruption
Code:
cpio -invt -I /dev/rct0

# 4  
Old 11-11-2010
make sure the .rhosts file is setup on the target server.
This User Gave Thanks to atish0 For This Post:
# 5  
Old 11-15-2010
Thanks guys for your help, I eventually gave up on the fresh install and restore over the top and went for the boot/root floppies and two backup tapes installation.

Looks like everything is installed and working, now to test network connections and printing.....
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

CPIO Restore

Please note that using the command cpio to back up to tape was successful. Used the below command: time find /accts -print | cpio -oa --block-size=512 --format=newc --verbose -O /dev/nst0 I'm trying to restore from tape of a particular file and having issues. Below is the command to restore... (7 Replies)
Discussion started by: isoabv
7 Replies

2. UNIX for Beginners Questions & Answers

Cpio Restore didnt go to plan

Hello folks, one of the RAID drives in our SCO system crashed recently and being hot swap it was replaced. Problem was that on boot it stops at: Checking protected password and protected subsystem databases.... First I did #authck -a and checked /etc/auth/system/ttys as per instructions in a... (7 Replies)
Discussion started by: Redstar
7 Replies

3. UNIX for Dummies Questions & Answers

Unable to restore cpio archive to a directory

Hello Every one, I want to back up all passwd files to /xyz/passfiles.cpio and Then restore them to /abc directory. Here is what I wrote: find / -name passwd | cpio -oc > /tmp/passwd.cpio and to restore cd abc cpio -ium < /tmp/passwd.cpio I can not find the files restored to /abc... (2 Replies)
Discussion started by: drdigital_m
2 Replies

4. UNIX for Dummies Questions & Answers

restore cpio file

Hi, under unix aix , i had to put a catostrophic patch from an editor ... i had first made a cpio backup connected root cd /application find . –print | cpio –ocvBm > /sauvegarde/sauvegarde.cpio Does someone know the command to restore my cpio backup ? thanks in advandce to everyone ... (7 Replies)
Discussion started by: bzh35
7 Replies

5. UNIX for Dummies Questions & Answers

Selective restore from a cpio tape archive

Hi, I use following command to restore data from my cpio tape archive: $cpio -icvd < /dev/rct0 But this'll restore all tape contents to the current path, what if I want only selected files from the tape, suppose I want /home/compdir/home2/Rev83/data/PL/01/*.* files to be restored... (8 Replies)
Discussion started by: tayyabq8
8 Replies

6. UNIX for Dummies Questions & Answers

Backup user from one server and restore to another

Hi. I have a situation here where I need to backup a users' home directory and restore onto another server. The issue here is that both servers have different operating systems and I am looking for advices on how to proceed. The source server operating system is Tru64 v5.1, and here's the output... (1 Reply)
Discussion started by: fidodido
1 Replies

7. UNIX for Dummies Questions & Answers

backup with CPIO

Hi All, I have a tape backup(DDS2) with cpio. I want to restore just some directory from this device but I do not know the command ?? other question what is the best cpio command to take more than 8 GB data ? thanks Alice (1 Reply)
Discussion started by: alisevA3
1 Replies

8. UNIX for Dummies Questions & Answers

cpio restore - relative pathname

SCO/Caldera Unixware 711 Hi Friends, I have a cpio file which was created using relative pathnames. the relative pathname is users/data/* I want to restore these files to a different directory with cpio. An example restore directory is /home/suresh Is this possible ? Can someone... (4 Replies)
Discussion started by: sureshy
4 Replies

9. UNIX for Dummies Questions & Answers

backup listing(cpio)

Hi i am using HPUX and i want to know wht is the command to see the listing from the tape device.. i have taken the backup using cpio -ocvB>/dev/rmt/0m while seeing the listing using cpio -itvB</dev/rmt/0m it is not showing the listing giving message -c option sd be there if i put -c... (1 Reply)
Discussion started by: Prafulla
1 Replies
Login or Register to Ask a Question