12-25-2007
Full backup and Restore
Dear All ;
first how are you every body I'm just subscribed in your forum and i hope i found what i searched for along time .
I'm not a Solaris specialist but i read more to build a Network Management Station depends on Solaris as OS and it is working good now .
my problem is how to perform full backup and restore what i backed up .
for Backup i do the following :
#/usr/sbin/ufsdump 0ufc /dev/rmt/0n /
#/usr/sbin/ufsdump 0ufc /dev/rmt/0n /opt
#/usr/sbin/ufsdump 0ufc /dev/rmt/0n /usr
and i read for ufsrestore but could any one till me the exact required steps to restore the above mentioned files .
your fast reply is highly appreciated
best regards
Mohamed Basha
thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
Here is what I am trying to do.
We have an old Enterprise 250 which we want to phase out. So plan is to move everything running on the 250 to an unused Sun Fire V280R.
Here is what I decided to do:
1. Fresh Solaris 8 install on Sun 280R (disk0). Configure network and install... (1 Reply)
Discussion started by: mshafi
1 Replies
2. Solaris
Hi.... everyone could help me to understand how to do a backup of my servers .. operating systems is sun solaris 8 .
I have some question about ....
1) Is better backup phisical disk or partition ???
i sow the command is ufsdump 0cfu /expbck/bcksunver/c0t0d0s5 dev/dsk/c0t0d0s5 to... (4 Replies)
Discussion started by: tt155
4 Replies
3. AIX
I have several H80 machines, all with AIX 4.3.3. On these machines I have mksysb running for rootvg backups and savevg for non-rootvg backups.
I'm trying to get a list of files on the tapes, but I can't seem to do it with tar for the mksysb images. I keep getting the directory checksum errors?... (3 Replies)
Discussion started by: uXion
3 Replies
4. HP-UX
Hello!
i have a blank harddrive and a complete tape backup of the workstation.
the backup is made with F-Backup.
Now my question is:
how can i restore my workstation?
thanks for every idea!
paul tittel
hup-si (3 Replies)
Discussion started by: paultittel
3 Replies
5. Solaris
Hi men,
I'm testing for my backup&restore job with ZFS.
My server have two disks. I wanna do backup&restore job like ufsdump utility:
Disk0 is rpool(root zpool) and disk1 (backup zpool) will be stored full backup replicates. When rpool zpool have problem, i can "boot cdrom -s" and use my... (5 Replies)
Discussion started by: tien86
5 Replies
6. Emergency UNIX and Linux Support
Hi,
Currently I have 2 servers. 1 is already installed with RHEL4(withmyapplications) and the other one is still brand new.
My question is, is it possible to use DD command to backup the whole harddrive for the RHEL4 server and restore it to the new brand server so that I do not have to... (3 Replies)
Discussion started by: flekzout
3 Replies
7. AIX
Hi experts, i got a question.
i have a production server with two Volume Group(VG) which are rootvg and datavg. Both of these VGs are 256 PP SIZE.
On Disaster Recovery Server (DR server) contains two empty hardisks for restoring rootvg and datavg from production server. This two hardisks are... (7 Replies)
Discussion started by: polar
7 Replies
8. Red Hat
Hi,
I need to back up a RH file system (96G).
The files are oracle .dbf format some of which are 5G in size.
I know that tar has got a size restriction of 2G so I cannot use this.
Can anyone recommend an alternative way of backuping up this FS?
I have been looking at dump but this... (6 Replies)
Discussion started by: Duffs22
6 Replies
9. AIX
I run a backup sucessfully:
find . | backup -ivqf/dev/rmt0
I want to make sure I can restore, so I change to a test directory and try this:
restore -rvqf /dev/rmt0
However, we fail with this error:
New volume on /dev/rmt0:
Cluster size is 51200 bytes (100 blocks).
The volume number is... (3 Replies)
Discussion started by: landog
3 Replies
10. UNIX and Linux Applications
The problematic directory is the following:
/root/.cache/deja-dup
This directory grows until my "/" is full and then the restoring activity fails.
I already tried to create a symbolic link with origin another partition where I have more space. However during the restoring activity ... (4 Replies)
Discussion started by: puertas12
4 Replies
rmt(1M) System Administration Commands rmt(1M)
NAME
rmt - remote magtape protocol module
SYNOPSIS
/usr/sbin/rmt
DESCRIPTION
rmt is a program used by the remote dump and restore programs in manipulating a magnetic tape drive through an interprocess communication
connection. rmt is normally started up with an rexec(3SOCKET) or rcmd(3SOCKET) call.
The rmt program accepts requests that are specific to the manipulation of magnetic tapes, performs the commands, then responds with a sta-
tus indication. All responses are in ASCII and in one of two forms. Successful commands have responses of:
Anumber
where number is an ASCII representation of a decimal number.
Unsuccessful commands are responded to with:
Eerror-number
error-message
where error-number is one of the possible error numbers described in intro(3), and error-message is the corresponding error string as
printed from a call to perror(3C).
The protocol consists of the following commands:
S
Return the status of the open device, as obtained with a MTIOCGET ioctl call. If the operation was successful, an
"ack" is sent with the size of the status buffer, then the status buffer is sent (in binary).
Cdevice
Close the currently open device.
The device specified is ignored.
Ioperation
count
Perform a MTIOCOP ioctl(2) command using the specified parameters. The parameters are interpreted as the ASCII rep-
resentations of the decimal values to place in the mt_op and mt_count fields of the structure used in the ioctl
call. When the operation is successful the return value is the count parameter.
Loffset
whence
Perform an lseek(2) operation using the specified parameters. The response value is returned from the lseek call.
Odevice
mode
Open the specified device using the indicated mode. device is a full pathname, and mode is an ASCII representation
of a decimal number suitable for passing to open(9E). If a device is already open, it is closed before a new open
is performed.
Rcount
Read count bytes of data from the open device. rmt performs the requested read(9E) and responds with Acount-read
if the read was successful; otherwise an error in standard format is returned.
If the read was successful, the data read is sent.
Wcount
Write data onto the open device. rmt reads count bytes from the connection, aborting if a premature EOF is encoun-
tered.
The response value is returned from the write(9E) call.
Any other command causes rmt to exit.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWrcmdc |
+-----------------------------+-----------------------------+
SEE ALSO
ufsdump(1M), ufsrestore(1M), intro(3), ioctl(2), lseek(2), perror(3C), rcmd(3SOCKET), rexec(3SOCKET), attributes(5), mtio(7I), open(9E),
read(9E), write(9E)
DIAGNOSTICS
All responses are of the form described above.
BUGS
Do not use this for a remote file access protocol.
SunOS 5.10 6 Nov 2000 rmt(1M)