Sun Certified System Administrator for Solaris 10 Study Guide Exams 310-XXX & 310-XXX

As a system administrator, you will be performing regularly scheduled backups as a protection against data loss. If you want to make sure that all the files in the system are backed up correctly, use the ufsdump command after unmounting the file system or after putting the Solaris system into single-user mode. The ufsdump command has a built-in capability for full and incremental backups. The ufsdump command creates the /etc/dumpdates file, which it uses to store and retrieve information to coordinate incremental backups on top of a full backup.

You cannot use the ufsdump command to back up an active file system—that is, a file system that is mounted and is in multiuser mode. However, if you do want to make a backup of an active file system, you can take a snapshot of the file system by using the fssnap command and then back up the snapshot by using an appropriate backup command, such as ufsdump, tar, or cpio. There are other backup commands available to meet varying needs. For example, you can use the cpio command to copy a file system from one disk to another, the dd command to clone an entire disk, and the tar command to package files (or directory subtrees) and transport them across UNIX systems.

You can use the ufsrestore command to restore an individual file or a complete file system from removable media to a directory. If you want to choose the files and directories from the backup file system that you want to restore, it's better to use the command interactively by specifying the -i option. If you are restoring the entire file system and it was backed up by using incremental backups, you will need to understand the basic concept of incremental backups and how they are represented by dump levels. You can restore the backup file system from a UFS snapshot the way you would restore any other backup.

Inside the Exam

Comprehend

Look Out

Memorize

Категории