[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
System Management Guide: Operating System and Devices

Restoring from Backup ImageIndividual User Files

If you need to restore a backup image destroyed by accident, your most difficult problem will be determining which of the backup tapes contains this file. The restore -T command can be used to list the contents of an archive. It is a good idea to restore the file in the /tmp directory so that you do not accidentally overwrite the user's other files.

If the backup strategy included incremental backups, then it is helpful to find out from the user when the file was most recently modified. This will help determine which incremental backup contains the file. If this information cannot be obtained or is found to be incorrect, then start searching the incremental backups in reverse order (7, 6, 5, ...). For incremental file system backups, the -i flag (interactive mode) of the restore command is very useful in both locating and restoring the lost file. (Interactive mode is also useful for restoring an individual user's account from a backup of the /home file system.)

The procedures in the following table describe how to implement a level 0 (full) restoration of a directory or file system.

Prerequisites

Make sure the device is connected and available. Use the lsdev -C | pg to check availability.

Restoring from Backup Image Tasks
Web-based System Manager:     wsm backup fast path
(Backups application)

-OR-
Task SMIT Fast Path Command or File
Restore Individual User Files smit restfile See restore command.
Restoring a User File System smit restfilesys
  1. mkfs /dev/hd1
  2. mount /dev/hd1 /filesys
  3. cd /filesys
  4. restore -r
Restoring a User Volume Group smit restvg See restvg -q command.

[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]