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?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. UNIX for Dummies Questions & Answers
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
3. UNIX for Dummies Questions & Answers
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
4. UNIX for Dummies Questions & Answers
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
5. UNIX for Dummies Questions & Answers
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
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
7. UNIX for Dummies Questions & Answers
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
8. UNIX for Beginners Questions & Answers
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
9. UNIX for Beginners Questions & Answers
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