13
Chapter 3 Backup and Restore of System Disk
(PRIMEPOWER800/900/1000/1500/2000/2
500)
This chapter explains the procedures to backup/restore the disk (hereafter called, the system disk) containing
the Solaris OS software.
3.1 Types of Backup Procedures
Backup of the system disk requires that the disk and slices being backed up not be in use. The system disk
contains file systems (such as the root (/) file system) that cannot be dismounted. In backing up the system
disk, the special procedures are required.
The following are some of the typical ways to back up a Solaris OS system disk. Understanding them will
help you choose the appropriate method to back up your system disk properly.
For detailed information about the backup procedures mentioned in b. and d., see " System Console
Software User's Guide."
a. To back up a file system unit, use the ufsdump(1M) command after booting in single-user mode.
If you are restoring, use the ufsrestore(1M) command after booting from the Solaris OS CD/DVD to
restore the file system unit.
- The file system that will be backed up is only the ufs file system.
- Disk partition information such as the size of each file system will not be backed up. You must
record the information separately.
- The ufsdump(1M) command backs up the file system divided into the file unit, so it is possible
to restore to a disk having a different file system size. If a limited amount of space has been used
in the file system, this may back up into a space smaller than the size of the file system itself.
When backing up using the ufsdump(1M) command, it is possible to restore only the file that
you select.
b. To back up a file system unit, use the ufsdump(1M) command after booting from the Solaris OS
CD/DVD.
If you are restoring, use the ufsrestore(1M) command after booting from the Solaris OS CD/DVD to
restore the file system unit.
- The file system that will be backed up is only the ufs file system.
- Disk partition information such as the size of each file system will not be backed up. You must
record the information separately.
- The ufsdump(1M) command backs up the file system divided into the file unit, so it is possible
to restore to a disk having a different file system size. If limited amount of space has been used
in the file system, this may back up into a space smaller than the size of the file system. In the
backup using the ufsdump(1M) command, it is possible to restore only the file that you select.
c. To back up a slice unit, use the dd(1M) command after booting from the Solaris OS CD/DVD.
If you are restoring, use the dd(1M) command after booting from the Solaris OS CD/DVD to