03-28-2009
Okay fellas, it's been about 2 years now and for the life of me I can't recall how I restored the files...
I've got another computer that has a toasted hard drive and now I've got to rebuild it. I've got this same system, with the same bootable CD.
I created the filesystems and are now trying to mount them so that I can restore the rootsys.bak and standsys.bak files.
I've got the /mnt directory and I've mounted the hard the root to it using the command:
mount /dev/hd0root /mnt
I tried cpio and that didn't work. I don't have a restore file on the CD so I don't recall if I used restore to put the files on there.
Any ideas on what to do next?
There's data on some tapes that I need to restore for the client to get his 1st Quarter '09 reports out.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I noticed this in a search for more security tools...
It IS possible to "undelete" a file; I suppose recover would be a better term for it. I suppose we've all made the boo-boo (that we all hopefully learned from) of deleting a file, and finding that you do not have a backup. I wouldn't... (1 Reply)
Discussion started by: LivinFree
1 Replies
2. SCO
I am helping a company recover a system that is SCO OS 5.0.5 - they have their backup media, cd copies of SCO, but they do not have their license keys to install and SCO is being difficult in validating their license.
Does anyone have an install license key for 5.0.5 that they would be willing... (1 Reply)
Discussion started by: ggraham
1 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I was reading the manual on rm and it states that when you use 'rm' the files are usual recoverable, how is this done?
Does it assume that a backup system is in place?
Cheers
Jack (4 Replies)
Discussion started by: jack1981
4 Replies
4. Filesystems, Disks and Memory
In our HP/Unix system, our master scsi drive was bootable and our mirrored drive was non-bootable. Are any of these alternatives possible:
1) Make the non-bootable scsi drive bootable? How?
2) Create a bootable scsi drive, then copy the mirrored data to the newly created scsi drive?
I seek... (1 Reply)
Discussion started by: bfisk
1 Replies
5. UNIX for Dummies Questions & Answers
Hello,
By accident I erased a file at work and I need to restore it from a backup tape. My manager says I will have to use the mt command with the fsf option to look through the tape but I am confuzed. I did a restore -t to get a listing of the tape. This is taking a long time.
If I sound... (1 Reply)
Discussion started by: mojoman
1 Replies
6. High Performance Computing
Hi all,
I'm writing an MPI application, in which I handle failures and recover them. In order to do that, in case of one node failure, I would like to remove that node from the MPI_COMM_WORLD group and continue with the remaining nodes.
Does anybody know how I can do that?
I'm using... (5 Replies)
Discussion started by: SaTYR
5 Replies
7. AIX
Hi,My system is not booting and at the startup it is getting struck.In HMC error code is coming as 0000, I know the reason of failing.I have few queries on recovery, please answer:1. I have mksysb of the system from which I can restore the system but problem is my few application mount point was a... (5 Replies)
Discussion started by: aixpank
5 Replies
8. Shell Programming and Scripting
I deleted one of the job from the cron tab. I want to get it back. How can i do this.
pplease suggest me..
thanks (1 Reply)
Discussion started by: pranabrana
1 Replies
9. SCO
I'm sorting out the disaster recovery plan for a critical server. It's a Dell PowerEdge 2850 running Openserver 5.0.6a.
We have a disaster recovery agreement with HP and they have just confirmed that in the event of a total disaster such as the server being totally wiped out, they would NOT... (2 Replies)
Discussion started by: mmcardle
2 Replies
10. UNIX for Advanced & Expert Users
I accidentally deleted a very important directory today with this rm -r. What would be the recommended way to recover my directory? After a lot of googleing I have seen these choices. Could I get some recommendations please?
Testdisk
Photorec- Doesn't recover file name like I would like. ... (10 Replies)
Discussion started by: cokedude
10 Replies
LEARN ABOUT OSF1
btextract
btextract(8) System Manager's Manual btextract(8)
NAME
btextract - Extracts the file systems from tape in single-user mode in memory
SYNOPSIS
/usr/sys/bin/btextract
DESCRIPTION
The btextract utility is a shell script that restores file systems from tapes that contain the bootable Standalone System (SAS) kernel.
The SAS kernel is created using the btcreate utility. You can perform a DEFAULT restore or an ADVANCED restore operation.
A DEFAULT restore is used by system administrators who want to duplicate the customized system on more than one machine of the same hard-
ware platform type. When you perform a DEFAULT restore, you cannot specify which disk partitions to use for the restore operation.
Instead, the btextract utility restores file systems using the disk partition information gathered during the btcreate session; all exist-
ing information is overwritten.
Note
To perform a DEFAULT restore, the disk configuration of the system you backed up must be the same as the system you are restoring.
During an ADVANCED restore, you are prompted to enter the name of the disk partition where the file systems are to be restored.
Note
During an ADVANCED restore, the btextract utility assigns the b partition of the root disk as the swap partition.
A file system which is more than 100% full cannot be restored in a partition of the same size as the original partition. During the restore
of the UFS file system, the /sbin/restore command adds a new file named restoresymtable. The presence of this restoresymtable file can make
the restored file system larger than the source partition size listed in the /sbin/disklabel output.
For example, on the source system, the disklabel shows the target h partition to be:
h: 86758 1212416 4.2BSD
And the ufs file system is as follows:
Filesystem 512-blocks Used Available Capacity Mounted on /dev/dsk8h 83812 83786 0 112% /bootable
The file system is 112% full. This file system cannot be restored on the target file system of 86758 (512-blocks), as the following file is
created by the /sbin/restore command.
-rw-r--r-- 1 root system 27368 Jul 2 09:33 restoresymtable
The command /sbin/restore creates a restoresymtable file that exceeds the 112% range. The solution is to use a partition of about 86996
(512-blocks), about 3.8% larger than the actual file size.
USING btextract
To use the btextract utility, place the system in a halt state, initialize the system, then boot from the tape as follows: >>> init >>>
show dev >>> boot -fl "nc" MKA500
In the previous example, the show dev command provides the device name under BOOTDEV and MKA500 is the BOOTDEV.
Once the initial boot is complete, the shell invokes the btextract utility. If you created a /usr/lib/sabt/sbin/custom_install.sh script
during the btcreate session, the btextract utility invokes the custom_install.sh script before exiting. See the btcreate reference page for
more information.
You also have the option to label disks using your own disklabel script. If a customized disklabel script is not present, the btextract
command will label the disks in the usual manner. A customized disklabel script has the following restrictions: It must be located in the
/usr/lib/sabt/etc directory. It must be named custom_disklabel_file.
After the btextract utility completes, you must shut down the system, then reboot the system from the restored disk as follows: # shutdown
-h now >>> boot DKA100
In the previous example, DKA100 is the BOOTDEV.
RETURN VALUES
Success. An error occurred.
FILES
Log of the btextract process in memory Copy of the btextract process on the restored root file system Script used to customize the restored
image A custom disklabel file read by btextract
SEE ALSO
Commands: addvol(8), btcreate(8), df(1), disklabel(8), lmf(8), mkfdmn(8), mkfset(8), newfs(8), restore(8), sh(1), vrestore(8)
btextract(8)