03-16-2008
Using ufsdump and ufsrestore
HI Gurus,
I have a sunfire V445 server running SAP ECC 6.0 with an Oracle database on Solaris 9 (SunOS 5.9). I recently completed a ufsdump to tape of the following files:-
/,
/usr,
/oracle,
/export,
/sapr3,
I want to restore these files from tape onto a different server of the same type maintaining my current system configuration. how can I do it using ufsrestore??
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi, guys !
I need some expert help on following problem:
When trying to restore content of a machine using another backup machine using Ufsdump/Ufsrestore, it worked on /local1, but when attemting to do the same on /local2,/local3 and /local4, I get permission problems.
Running superuser does... (9 Replies)
Discussion started by: DGoubine
9 Replies
2. Solaris
on sparc solaris 2.8 hosts, HOSTB, after changing to /dir1 need to:
connect to tape drive on HostA. change directory to /dir0/dir1 on tape and
restore everything under that path to /dir1 directory.
could i get help?. (1 Reply)
Discussion started by: S26+
1 Replies
3. Solaris
I'm trying to restore a server from a backup tape. I've partitioned my drive, and I've run into a problem; After extracting everything from the tape, It seems as if only the directory structure is intact. Here are my steps:
1. booted from cdrom to single user mode boot cdrom -s
2. used... (3 Replies)
Discussion started by: ECBROWN
3 Replies
4. UNIX for Dummies Questions & Answers
I ran ufsdump as follows...............
# ufsdump 9ucf /dev/rmt/0n /dev/dsk/c1t9d0s3
DUMP: Writing 63 Kilobyte records
DUMP: Date of this level 9 dump: Tue 23 Oct 2007 02:19:40 PM PDT
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/rdsk/c1t9d0s3 (gambler:/apps) to... (2 Replies)
Discussion started by: shorty
2 Replies
5. Solaris
Hi , I accidentally deleted crontab entries and I need to restore back urgently ! we use a ufsdump with 0cfu option. I like to know how to restrore / retrieve to different location for crontab file only from the backup. Thanks. (4 Replies)
Discussion started by: skully
4 Replies
6. Filesystems, Disks and Memory
Hi Guys,
Marry X-MAX in advance :)
I would like to build a new server using ufsdump/ufsrestore. Both the servers are identical hardware and model. I am using Solaris 10 X86 O/S.
I am having ufsdump "mydump.rootdump.gz" in a Central NFS server.
What I did:-
I took backup of root... (1 Reply)
Discussion started by: SanjayLinux
1 Replies
7. UNIX for Advanced & Expert Users
Hi Guys,
Marry X-MAX in advance :)
I would like to build a new server using ufsdump/ufsrestore. Both the servers are identical hardware and model. I am using Solaris 10 X86 O/S.
I am having ufsdump "mydump.rootdump.gz" in a Central NFS server.
What I did:-
I took backup of root... (1 Reply)
Discussion started by: SanjayLinux
1 Replies
8. Solaris
Dear all, i want to copy the partition contents from a smaller disk to a larger disk but without modifying the target disk partition size. To this end, i tried to use piping ufsdump to ufsrestore as 'ufsdump 0f - /dev/dsk/c0t0d0s0 l ufsrestore -i - /dev/dsk/c0t1d0s0' but it was not successful. Can... (0 Replies)
Discussion started by: hadimotamedi
0 Replies
9. Solaris
Dear all, i want to copy the partition contents from a smaller disk to a larger disk but without modifying the target disk partition size. To this end, i tried to use piping ufsdump to ufsrestore as 'ufsdump 0f - /dev/dsk/c0t0d0s0 l ufsrestore -i - /dev/dsk/c0t1d0s0' but it was not successful. Can... (6 Replies)
Discussion started by: hadimotamedi
6 Replies
10. Solaris
hi, was wondering if there is a problem with the patches, and if we wish to restore everything back to square one, how should we go about using ufsrestore from a DAT tape of ufsdump backup data ? (1 Reply)
Discussion started by: Exposure
1 Replies
TM(4) Kernel Interfaces Manual TM(4)
NAME
tm - TM-11/TU-10 magtape interface
DESCRIPTION
The files mt0, ..., mt7 refer to the DEC TU10/TM11 magtape. When closed it can be rewound or not, see below. If it was open for writing,
two end-of-files are written. If the tape is not to be rewound it is positioned with the head between the two tapemarks.
If the 0200 bit is on in the minor device number the tape is not rewound when closed.
A standard tape consists of a series of 512 byte records terminated by an end-of-file. To the extent possible, the system makes it possi-
ble, if inefficient, to treat the tape like any other file. Seeks have their usual meaning and it is possible to read or write a byte at a
time. Writing in very small units is inadvisable, however, because it tends to create monstrous record gaps.
The mt files discussed above are useful when it is desired to access the tape in a way compatible with ordinary files. When foreign tapes
are to be dealt with, and especially when long records are to be read or written, the `raw' interface is appropriate. The associated files
are named rmt0, ..., rmt7. Each read or write call reads or writes the next record on the tape. In the write case the record has the same
length as the buffer given. During a read, the record size is passed back as the number of bytes read, provided it is no greater than the
buffer size; if the record is long, an error is indicated. In raw tape I/O, the buffer must begin on a word boundary and the count must be
even. Seeks are ignored. A zero byte count is returned when a tape mark is read, but another read will fetch the first record of the new
tape file.
FILES
/dev/mt?, /dev/rmt?
SEE ALSO
tp(1)
BUGS
If any non-data error is encountered, it refuses to do anything more until closed. In raw I/O, there should be a way to perform forward
and backward record and file spacing and to write an EOF mark.
TM(4)