Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to restore a dump file on the disk Post 302254799 by merope on Wednesday 5th of November 2008 07:22:37 AM
Old 11-05-2008
How to restore a dump file on the disk

Hi all,

i am a real dummy to unix and in need of help.My platform is Sun solaris(5.9)

I have a dump file, an oracle cold backup taken with ufsdump command. This dump file resides on the disk, not the tape.
I want to extract this dump file to a directory. But i cant, i read about ufsrestore command and i think it can only restore from the tape?
What can i do to extract this dump file? thanks in advance.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

restore dump - help

I have a file with .dmp.gz. I am trying to uncompress this file in a new directory. was able to use gzip to take off the gz extension. How do I get the .dmp extension off? Will ufsrestore work on SUN system? HELP! (2 Replies)
Discussion started by: sankera
2 Replies

2. Filesystems, Disks and Memory

Restore to disk from tape

I have been restoring from tape some old data. I have done quite a few tapes and have had no problems until now. The command I am running is "dd if=/dev/rmt/1hbn bs=1024 | tar -pBxF - ". This is the second tape have have come up with the error "Not enough space". This tape has a couple of... (1 Reply)
Discussion started by: mtoombs
1 Replies

3. Shell Programming and Scripting

restore mysql dump file in many remote servers?

Hi all, I want to restore DB file in many mysql servers, i already using script for sending the dumpfile in all servers, but it's just annoying if i have to restore the dumpfile in all servers, i want just execute 1 script, and will restore in all remote mysql servers. I make script but not... (2 Replies)
Discussion started by: blesets
2 Replies

4. Red Hat

Dump and restore command usage ??

Hi, I am using RHEL 4.0 I need to take backup of a directory and then restore it to some other location. For taking Backup of final directory, I am using this code: dump -0aj -f /home/vicky/final.dump /home/vicky/final/ Now, I am trying to restore this final.dump to some other... (2 Replies)
Discussion started by: vikas027
2 Replies

5. UNIX for Dummies Questions & Answers

Dump and restore problem

Hi all, having problem with dump & restore for cloning simple linux system. The command is : dump -0u -f /temp/var.dump /dev/sda5 But somehow the result displayed: ~~~~~~ dump: ACLs in inode #1250760 won't be dumped: Inappropriate ioctl for device dump: ACLs in inode #1250761 won't be... (1 Reply)
Discussion started by: mycoolwater
1 Replies

6. UNIX for Dummies Questions & Answers

Dump and Restore

I want to copy over the contents of one partition on hard drive A to another partition on hard drive B. Using DD command caused problems since it overwrote the partition information on hard drive B and made hard drive B's partition size the same as the one on partition A. Our department manager... (5 Replies)
Discussion started by: mojoman
5 Replies

7. UNIX for Dummies Questions & Answers

dump/restore of a fs with 100 of millions hardlinks

Hi :-) i have a dump of a backupdisk (~540GB / ext3). The Backups have some 100 millions of hardlinks (backups are created with storeBackup). The OS is linux. A restore of a directory ended after some days with the errormessage "no memory to extend symbol table" The restore of the complete... (0 Replies)
Discussion started by: turricum
0 Replies

8. Solaris

restore dump from veritas format using ufs file system

hi all i have a DLT tape in that tape backup is there is in veritas volume format and i want to restore it in ufs file system how can i do it? right now i don't have veritas file system setup. i have only ufs file sysytem please help some production data is to be restore. (3 Replies)
Discussion started by: nikhil kasar
3 Replies

9. AIX

Dd of disk contains vg and restore on another m/c

Hello gurus, I have a requirement of backup of a vg containing a file system. vg1 contains 3 LV each of 50G size. They are coming out from ~350G harddisk. and only 150G is being used. Now, i want to dd this hdisk and restore to another machine. I am not sure how to go about this. Can some... (3 Replies)
Discussion started by: abhishekdave
3 Replies

10. HP-UX

How to restore from disk?

Our new rx2800 server is running HP-UX 11iV3. We have a cron script to perform an fbackup to a file on disk nightly. Now I'm trying to do a test restore, but I can't seem to find the correct way to specify the backup file as the source in frecover. Can anyone point me in the right direction? ... (5 Replies)
Discussion started by: jduehmig
5 Replies
BACKUP_READLABEL(8)					       AFS Command Reference					       BACKUP_READLABEL(8)

NAME
backup_readlabel - Reads and displays a tape's label SYNOPSIS
backup readlabel [-portoffset <TC port offset>] [-localauth] [-cell <cell name>] [-help] backup rea [-p <TC port offset>] [-l] [-c <cell name>] [-h] DESCRIPTION
The backup readlabel command displays information from the magnetic tape label of a tape. The information includes the tape's name (either a permanent name, or an AFS tape name that reflects the tape's contents in a prescribed format) and its capacity. If the "FILE YES" instruction appears in the /var/lib/openafs/backup/CFG_device_name file associated with the specified port offset, then the backup readlabel command reads the label information from the first 16 KB block in the backup data file listed for that port offset in the Tape Coordinator's /var/lib/openafs/backup/tapeconfig file, rather than from the beginning of a tape. The Tape Coordinator's default response to this command is to access the tape by invoking the "MOUNT" instruction in the local /var/lib/openafs/backup/CFG_device_name file, or by prompting the backup operator to insert the tape if there is no "MOUNT" instruction. However, if the "AUTOQUERY NO" instruction appears in the CFG_device_name file, or if the issuer of the butc command included the -noautoquery flag, the Tape Coordinator instead expects the tape to be in the device already. If it is not, the Tape Coordinator invokes the "MOUNT" instruction or prompts the operator. OPTIONS
-portoffset <TC port offset> Specifies the port offset number of the Tape Coordinator handling the tapes for this operation. -localauth Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. The backup command interpreter presents it to the Backup Server, Volume Server and VL Server during mutual authentication. Do not combine this flag with the -cell argument. For more details, see backup(8). -cell <cell name> Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see backup(8). -help Prints the online help for this command. All other valid options are ignored. OUTPUT
Output from this command appears in both the shell window where the command is issued, and in the Tape Coordinator window. If the tape is unlabeled or if the specified tape device is empty, the output reads Failed to read tape label. Otherwise, the output in the shell window has the following format: Tape read was labelled: <tape name> (<dump id>) size: <size> Kbytes where <tape name> is the permanent name if the tape has one, or the AFS tape name otherwise. The <dump ID> is dump ID of the initial dump on the tape, and <size> is the recorded capacity of the tape in kilobytes. The output in the Tape Coordinator windows is bounded by an underlined "Tape label" header at the top, and the following string at the bottom: -- End of tape label -- In between are lines reporting the following information: tape name The permanent name assigned by using the -pname argument of the backup labeltape command. This name remains on the tape until that argument is used again, no matter how many times the tape is recycled or otherwise relabeled. If the tape does not have a permanent name, the value "<NULL>" appears in this field. AFS tape name A tape name in one of the following prescribed formats. The Backup System automatically writes the appropriate AFS tape name to the label as part of a backup dump or backup savedb operation, or the operator can assign it with the -name argument to the backup labeltape command. o volume_set_name.dump_level_name.tape_index, if the tape contains volume data. The volume_set_name is the name of the volume set that was dumped to create the initial dump in the dump set of to which this tape belongs; dump_level_name is the last pathname element of the dump level at which the initial dump was backed up; and tape_index is the numerical position of the tape in the dump set. o "Ubik.db.dump."tape_index if the tape contains a dump of the Backup Database, created with the backup savedb command. The tape_index is the ordinal of the tape in the dump set. o "<NULL>" if the tape has no AFS tape name. This is normally the case if the -name argument was not included the last time the backup labeltape command was used on this tape, and no data has been written to it since. creationTime The date and time at which the Backup System started performing the dump operation that created the initial dump. cell The cell in which the dump set was created. This is the cell whose Backup Database contains a record of the dump set. size The tape's capacity (in kilobytes) as recorded on the label, rather than the amount of data on the tape. The value is assigned by the -size argument to the backup labeltape command or derived from the /var/lib/openafs/backup/tapeconfig file on the Tape Coordinator machine, not from a measurement of the tape. dump path The dump level of the initial dump in the dump set. dump id The dump ID number of the initial dump in the dump set, as recorded in the Backup Database. useCount The number of times a dump has been written to the tape, or it has been relabeled. The message "ReadLabel: Finished" indicates the completion of the output. EXAMPLES
The following example shows the output for the tape with permanent name "oct.guest.dump" and capacity 2 MB, expressed in kilobyte units (2097152 equals 2 times 10242). % backup readlabel -portoffset 6 Tape read was labelled: oct.guest.dump (907215000) size: 2097152 Kbytes The output in the Tape Coordinator window reads: Tape label ---------- tape name = oct.guest.dump AFS tape name = guests.monthly.3 creationTime = Thu Oct 1 00:10:00 1998 cell = abc.com size = 2097152 Kbytes dump path = /monthly dump id = 907215000 useCount = 5 ---- End of tape label ---- The following example is for a tape that does not have a permanent tape. % backup readlabel -portoffset 6 Tape read was labelled: guests.monthly.2 (909899900) size: 2097152 Kbytes The output in the Tape Coordinator window reads: Tape label ---------- tape name = <NULL> AFS tape name = guests.monthly.2 creationTime = Sun Nov 1 00:58:20 1998 cell = abc.com size = 2097152 Kbytes dump path = /monthly dump id = 909899900 useCount = 1 ---- End of tape label ---- PRIVILEGE REQUIRED
The issuer must be listed in the /etc/openafs/server/UserList file on every machine where the Backup Server is running, or must be logged onto a server machine as the local superuser "root" if the -localauth flag is included. SEE ALSO
butc(5), backup(8), backup_labeltape(8), butc(8) COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved. This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell. OpenAFS 2012-03-26 BACKUP_READLABEL(8)
All times are GMT -4. The time now is 09:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy