Tivoli Header

Tivoli Storage Manager for UNIX Backup-Archive Clients Installation and User's Guide

Restore Image

The restore image command restores a file system or raw volume image that was backed up using the backup image command. This command can restore an active base image, or a point-in-time base image, with associated incremental updates.

Notes:

  1. The API must be installed to use the restore image command.
  2. Image restore of the Sun QFS file system is not supported.

Supported Clients

This command is valid for AIX, HP/UX, Linux86, and Solaris only.

Syntax

>>-REStore Image--+----------+--+- sourcefilespec---+----------->
                  '- options-'  '- "sourcefilespec"-'
 
>--+----------------------+------------------------------------><
   '- destinationfilespec-'
 
 

Parameters

options
You can use these command line options with the restore image command: deletefiles, fromnode, fromowner, inactive, incremental, noprompt, pick, pitdate, and pittime. For detailed information about these options, see Chapter 10, Using Options with Commands.

sourcefilespec
Specifies the name of a source image file system to be restored. Only a single source image may be specified; you cannot use wildcard characters.

destinationfilespec
Specifies the name of an existing mounted file system to which the source file system will be restored. The default is the original location of the file system.

The restore image command does not define or mount the destination file space. The destination volume must exist, must be large enough to hold the source, and, if it contains a file system, must be mounted. The destination volume must be mapped to a drive letter or mount point. If an image backup contains a file system, and you restore them to a different location, be aware of the following points:

Examples

Task
Restore the /home/test directory over which the logical volume is mounted, to its original location.

Command: dsmc rest image /home/test

Task
Restore the /home/proj directory over which the logical volume is mounted, to its original location and apply the changes from the last incremental backup of the original image recorded at the server. The changes include deletion of files.

Command: dsmc restore image /home/proj -incremental -deletefiles


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]