You can do a ufsdump of root (/) and restore it to another box by booting from DVD into single-user
and then accessing the ufsdump from tape or nfs handle or wherever you stored it. Before the restore you can format disk, set slices, mount the empty disk (typically onto /a) and restore the filesystem.
Be aware though that you may well have to tweak a number of things whilst in single-user after the restore such as boot block, /etc/vfstab, system file, and very likely the device nodes for drives, before the system will boot. Then modify the name of the network interface, etc. I've detailed this on a number of threads here in the past so search for it or post back here with your questions.
I want to try using Ufsdump for backups .
The man pages state that the file systems should be inactive or be in the unmounted state .
But for that system should be in single User mode.
My query is that can we perform Ufsdump in run-level 3 ?
And if no should I have to reboot it in Single user... (3 Replies)
hi
i would like to backup my OS
what is the exact command to do?
beside backup to tapes can i back up to a directory in another server?
will the command be the same?
thanks. :confused: (4 Replies)
Hi,
I want to how to take backup of File system From Disk to Disk using ufsdump?
Wheather we can take the backup of root file system from one disk to another if tape drive is not available? wheather it is reliable to restore root file system? (2 Replies)
Hi,
I have 5 soraris boxes and i am trying to backup all to SAN.Which backup is more suitable tar or ufsdump? Also pls mention what are the important folders i need to back up.
Thanks (3 Replies)
Hi All
Please help
I am trying to dump /var to other disk with below command
# ufsdump 0uf /backup /var
and i am getting below error
DUMP: NEEDS ATTENTION: Cannot open 'sun1/dump' . Do you want to retry the open? ( "Yes" or "No" ) and it's not moving ahead.
What am i am... (6 Replies)
Experts,
Before patching am advised to take backup :
so am going with:
ufsdump -0uf /dev/rmt0 / ---> to take the whole / bkp to tape.
some servers have /var in diff slice, In this case whether i need to take backup of /var also in tape?
ufsdump -ouf /dev/rmt0 /var ---> to take... (3 Replies)
Hello, i have a solaris 11 sparc64 and Im trying to do a backup to tape. This is the display:
# ufsdump 0uf /dev/rmt/0cbn /dev/rdsk/c2t0d0s2
DUMP: Date of this level 0 dump: February 27, 2013 01:58:23 PM CET
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/rdsk/c2t0d0s2 to... (2 Replies)
I'm New to AIX / VIOS
We're doing a FC switch cutover on an ibm device, connected via SAN.
How do I tell if one path to my remote disk is lost? (aix lvm)
How do I tell when my link is down on my HBA port?
Appreciate your help, very much! (4 Replies)
hi all,
i am refreshing my hardware, but i do not want to do a clean installation/reinstallation.
I am wondering if i could do
- do a ufsdump of the / partition (into a file on a nfs share)
- bootup using cdrom in the new machine
- mount the boot device/slice, and restore the ufsdump on... (7 Replies)
Discussion started by: javanoob
7 Replies
LEARN ABOUT V7
restor
RESTOR(1M)RESTOR(1M)NAME
restor - incremental file system restore
SYNOPSIS
restor key [ argument ... ]
DESCRIPTION
Restor is used to read magtapes dumped with the dump command. The key specifies what is to be done. Key is one of the characters rRxt
optionally combined with f.
f Use the first argument as the name of the tape instead of the default.
r or R The tape is read and loaded into the file system specified in argument. This should not be done lightly (see below). If the key is
R restor asks which tape of a multi volume set to start on. This allows restor to be interrupted and then restarted (an icheck -s
must be done before restart).
x Each file on the tape named by an argument is extracted. The file name has all `mount' prefixes removed; for example, /usr/bin/lpr
is named /bin/lpr on the tape. The file extracted is placed in a file with a numeric name supplied by restor (actually the inode
number). In order to keep the amount of tape read to a minimum, the following procedure is recommended:
Mount volume 1 of the set of dump tapes.
Type the restor command.
Restor will announce whether or not it found the files, give the number it will name the file, and rewind the tape.
It then asks you to `mount the desired tape volume'. Type the number of the volume you choose. On a multivolume dump the recom-
mended procedure is to mount the last through the first volume in that order. Restor checks to see if any of the files requested
are on the mounted tape (or a later tape, thus the reverse order) and doesn't read through the tape if no files are. If you are
working with a single volume dump or the number of files being restored is large, respond to the query with `1' and restor will read
the tapes in sequential order.
If you have a hierarchy to restore you can use dumpdir(1) to produce the list of names and a shell script to move the resulting
files to their homes.
t Print the date the tape was written and the date the filesystem was dumped from.
The r option should only be used to restore a complete dump tape onto a clear file system or to restore an incremental dump tape onto this.
Thus
/etc/mkfs /dev/rp0 40600
restor r /dev/rp0
is a typical sequence to restore a complete dump. Another restor can be done to get an incremental dump in on top of this.
A dump followed by a mkfs and a restor is used to change the size of a file system.
FILES
default tape unit varies with installation
rst*
SEE ALSO dump(1), mkfs(1), dumpdir(1)DIAGNOSTICS
There are various diagnostics involved with reading the tape and writing the disk. There are also diagnostics if the i-list or the free
list of the file system is not large enough to hold the dump.
If the dump extends over more than one tape, it may ask you to change tapes. Reply with a new-line when the next tape has been mounted.
BUGS
There is redundant information on the tape that could be used in case of tape reading problems. Unfortunately, restor doesn't use it.
RESTOR(1M)