Sponsored Content
Operating Systems SCO cpio Backup and restore to spare server fails Post 302462274 by moondogi on Wednesday 13th of October 2010 07:45:55 PM
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?
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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

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

7. 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

8. 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

9. 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
BOOTCDBACKUP(1) 						   bootcd utils 						   BOOTCDBACKUP(1)

NAME
bootcdbackup - create a bootable offline backup of a unix system SYNOPSIS
bootcdbackup [-i] [-v] [-s] [-c <config directory>] [-url <url] [-nomount] [-2diskconf <file>] <dev> <name> <builddir> DESCRIPTION
bootcdbackup creates a offline backup from a installed system. You need a running bootcd to boot the system with. This CD/DVD is booted on the system and bootcdbackup creates a bootable CD/DVD with the bootcd kernel and the backup disk as tar-file. To restore or clone the system, boot the CD/DVD image and install it with bootcd2disk -c <name> on the system. bootcdbackup can try to discover the disk partition by searching for fstab on the given partition. A other way to backup the partition ta- ble is the program bootcdmk2diskconf which creates a configuration file on a running system. OPTIONS
-i The bootcdbackup runs in interactive mode and you can run each function manually. This option is useful for debugging. -v The option "-v" (verbose) adds messages on running. -s This option can be used to disable interactive questions and to try to ignore errors. -c <config directory> The configuration directory which includes the file "bootcdbackup.conf", default is "/etc/bootcd". -url <url> If bootcdbackup is slow on your system (because of a slow CD/DVD drive or the HP ILO virtual CD interface), you can use an image server to get the image from. bootcdbackup use the SWAP partition of your upcoming system as temporary space and copy the image from the configured image server to this partition and use it as image. The image server url is configured with this option. -nomount The target disk should not be mounted and no search for fstab is done. --cpio Normally as backup tool star will be used if selinux files have to be backed up and cpio will be used if not. With this option the usage of cpio can be forced. --star Normally as backup tool star will be used if selinux files have to be backed up and cpio will be used if not. With this option the usage of star can be forced. -2diskconf <file> The parameter configures a bootcd2disk.conf for the restore of the system done by bootcd2disk. The configuration file can be created with the command bootcdmk2diskconf. <dev> Configures the device where bootcdbackup finds the file "fstab" and discover the configuration for the restore. <name> The name of the backup (no blanks!) is used on the creation time and to restore the backup with bootcd2disk -c <name>. <builddir> Builddir is an directory on the backup system where bootcdbackup build the backup CD/DVD. Space for the CD/DVD image, for compression and the data is needed! All other configuration has to be done in the config files. FILES
/etc/bootcd/bootcdbackup.conf Configuration for bootcdbackup. SEE ALSO
Documentation in bootcdbackup.conf bootcdbackup.conf(5), bootcd(1), bootcdflopcp(1), bootcdwrite(1) AUTHOR
This manual page was written by Bernd Schumacher <bernd.schumacher@hp.com> and Carsten Dinkelmann <Carsten.Dinkelmann@foobar-cpa.de> for the Debian GNU/Linux system (but may be used by others). bootcdbackup 2007-07-05 BOOTCDBACKUP(1)
All times are GMT -4. The time now is 01:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy