Copy of HP-UX from MO disc


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Copy of HP-UX from MO disc
# 1  
Old 10-19-2004
Copy of HP-UX from MO disc

This is my newbi question. I have HP-UX on a MO drive, need to backup that MO in case of damaging the original. Therefor I need a copy on server and be able to put that copy onto a blank MO to recreate a working bootable disc. This what I did.
First I tried to make a copy with dd

dd if=/dev/dsk/c1t0d0 bs=1048576 count=450 of=backup.copy
The data on disc is about 300Mb so 450 would be enough i thought. Not working, som of the files were corrupted. Tried without the count and just backed up the whole MO, same thing. Tried cat /dev/dsk/c1t0d0 >backup.copy, same thing. But on the latter I came a bit futher, almost ½ of the install sequence before it found a corruped filed and quit. Is there a better way?
I would prefer to specify the filesize, cause it seems unnessesary tu put about 1.3Gb file on server when the files on MO is about 300Mb. Can this be fixed?
Hope someone understand my newbi question....
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Disc is full - NOT! How to fix?

When I try to create a new text file on my server, via FTP, I get an error that the destination drive / disk is full. This is not true. I have at least 3-4 GB of space left. How can this be? Have not had this problem before, until today. I'm pretty new to Linux, and am therefore grateful for... (4 Replies)
Discussion started by: Guldstrand
4 Replies

2. Solaris

Ultra 10 - Copying Files From Disc After Booting Up With Recovery Disc?

Hello, I'm still learning unix and I have what is probably a simple question but I can't seem to find the question to. I have an Ultra 10 Sparc Server running solaris 8 and the drive may have crashed (I hope not). Currently, it appears some files in the /etc folder are missing. I have a backup... (1 Reply)
Discussion started by: ideffects
1 Replies

3. UNIX for Dummies Questions & Answers

format disc

What is the best way to format the partition? (3 Replies)
Discussion started by: mirusnet
3 Replies

4. OS X (Apple)

disc ownership permissions

Hi all, I am running OSX 10.4.11 on a G4 Sawtooth with 3 internal hard drives. Recently while setting up new user accounts for family members, I foolishly assigned 'No Access' to 2 drives other than the boot drive. Naturally, they now don't appear on the desktop. I tried to fix... (1 Reply)
Discussion started by: les51
1 Replies

5. UNIX for Dummies Questions & Answers

Disc Needs Maintenance

Hello All Here I am using Sun V880 server which have discsuit pack of 8 discs with 2 sub mirrors each. Everything was fine for the last 1 year. Now I am getting problem of taking backup of the server. After analysis what I got that each 2nd submirrors are in NEEDS MAINTENANCE status. What... (5 Replies)
Discussion started by: ailnilanjan
5 Replies

6. Filesystems, Disks and Memory

New to Unix, need to copy disc using DD

Hello, I'm new to Unix :confused: , but very comfortable with computers, we have a old ScoUnix system at work and we have no IT person, although we have limited basic knowledge of commands we are by far not experts. We have called around to have someone work on this but to date have not found... (3 Replies)
Discussion started by: bill306
3 Replies

7. Filesystems, Disks and Memory

MO disc stuck in drive, Help!

Im a newbie at unix and need some help with my MO disc, which is stuck in the MO drive. I cant get it out. I have tried several commands but nothing works, so if there is some fullproof way to get it out i would be thankful if someone could tell me! /O (1 Reply)
Discussion started by: Olink
1 Replies

8. Filesystems, Disks and Memory

Calculating Disc Space

Ok.... Can someone please point me in the right direction. I simply want to know how to take the results of a dfspace or df command and be able to know how to determine how much disk space is either used or remaining. 1$ dfspace Filesystem 512-blocks Free %Used Iused %Iused Mounted... (5 Replies)
Discussion started by: Docboyeee
5 Replies

9. UNIX for Dummies Questions & Answers

Calculating Disc Space

I need some help in determining disc space. I ran the following commands on my IBM RS6000 server and this is what I get # dfspace Filesystem 512-blocks Free %Used Iused %Iused Mounted on /dev/hd4 32768 19832 40% 1225 15% / /dev/hd2 802816 277256 66% ... (2 Replies)
Discussion started by: Docboyeee
2 Replies

10. UNIX for Dummies Questions & Answers

Disc Copy

Is there a disk copy utiliy for unix systems eg: I need to make a duplicate copy of a netraT1 to a netraT1 Thanks (1 Reply)
Discussion started by: SmartJuniorUnix
1 Replies
Login or Register to Ask a Question
DEBCONF-COPYDB(1)						      Debconf							 DEBCONF-COPYDB(1)

NAME
debconf-copydb - copy a debconf database SYNOPSIS
debconf-copydb sourcedb destdb [--pattern=pattern] [--owner-pattern=pattern] [--config=Foo:bar] DESCRIPTION
debconf-copydb copies items from an existing debconf database into another, possibly new database. The two databases may have different formats; if so a conversion will automatically be done. OPTIONS
sourcedb The name of the source database. Typically it will be defined in your debconf.conf (or .debconfrc) file. destdb The name of the destination database. It may be defined in debconf.conf or .debconfrc, or you might define it on the command line (see below). -p pattern, --pattern pattern If this is specified, only items in sourcedb whose names match the pattern will be copied. --owner-pattern pattern If this is specified, only items in sourcedb whose owners match the pattern will be copied. -c foo:bar, --config Foo:bar Set option Foo to bar. This is similar to writing: Foo: bar In debconf.conf, except you probably want to leave off the space on the command line (or quote it: "Foo: bar"). Generally must be used multiple times, to build up a full configuration stanza. While blank lines are used to separate stanzas in debconf.conf, this program will assume that "Name:dbname" denotes the beginning of a new stanza. EXAMPLES
debconf-copydb configdb backup Copy all of configdb to backup, assuming you already have the backup database defined in debconf.conf. debconf-copydb configdb newdb --pattern='^slrn/' --config=Name:newdb --config=Driver:File --config=Filename:newdb.dat Copy slrn's data out of configdb, and into newdb. newdb is not defined in the rc file, so the --config switches set up the database on the fly. debconf-copydb configdb stdout -c Name:stdout -c Driver:Pipe -c InFd:none --pattern='^foo/' Spit out all the items in the debconf database related to package foo. debconf-copydb configdb pipe --config=Name:pipe --config=Driver:Pipe --config=InFd:none | ssh remotehost debconf-copydb pipe configdb --config=Name:pipe --config=Driver:Pipe This uses the special purpose pipe driver to copy a database to a remote system. SEE ALSO
debconf.conf(5) AUTHOR
Joey Hess <joeyh@debian.org> 2011-06-22 DEBCONF-COPYDB(1)