AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Windows operating systems
IBM Tivoli Storage Manager, Version 7.1

Restore Image

The restore image command restores a file system or raw volume image that was backed up using the backup image command.

The restore obtains the backup image from a Tivoli® Storage Manager server, or inside a backup set from the Tivoli Storage Manager server, when the backupsetname option is specified. This command can restore an active base image, or a point-in-time base image, with associated incremental updates.

Note:
  1. Windows operating systems The account that runs the Tivoli Storage Manager client must have administrator authority to successfully perform any type of image restore.
  2. AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Using the incremental option with the restore image command to perform a dynamic image backup is not supported.
  3. If you use HSM for Windows or HSM for UNIX, and you restore a file system image backup and plan to run reconciliation, you must restore the files that were backed up after the image backup. Otherwise, migrated files that were created after the image backup expire from the HSM archive storage on the Tivoli Storage Manager server.

You can use the verifyimage option with the restore image command to specify that you want to enable detection of bad sectors on the destination target volume. If bad sectors are detected on the target volume, Tivoli Storage Manager issues a warning message on the console and in the error log.

If bad sectors are present on the target volume, you can use the imagetofile option with the restore image command to specify that you want to restore the source image to a file. Later, you can use a data copy utility of your choice to transfer the image from the file to a disk volume.

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Considerations:

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems

Windows operating systems Considerations:

Windows operating systems
AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Windows operating systems

Supported Clients

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems This command is valid for AIX®, HP-UX, all Linux clients, and Solaris.

Windows operating systems This command is valid for all Windows clients.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-REStore Image--+------------+--+- --sourcefilespec---+------->
                  '- --options-'  '- --"sourcefilespec"-'   

>--+------------------------+----------------------------------><
   '- --destinationfilespec-'   

Parameters

sourcefilespec
Specifies the name of a source image file system to be restored. Only a single source image can be specified; you cannot use wildcard characters.
AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems destinationfilespec
Specifies the name of an existing mounted file system or the path and file name to which the source file system is restored. The default is the original location of the file system.
Windows operating systems destinationfilespec
Specifies the name of an existing mounted file system or the path and file name to which the source file system is restored. The default is the original location of the file system. You can restore an NTFS or ReFS file system to a FAT32 volume or vice versa.
Table 1. Restore Image command: Related options
Option Where to use
backupsetname Command line only.
AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems dateformat Client user option file (dsm.opt) or command line.
Windows operating systems dateformat Client option file (dsm.opt) or command line.
deletefiles Command line only.
fromnode Command line only.
AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems fromowner Command line only.
imagetofile Command line only.
inactive Command line only.
incremental Command line only.
noprompt Command line only.
pick Command line only.
pitdate Command line only.
pittime Command line only.
AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems timeformat Client user option file (dsm.opt) or command line.
Windows operating systems timeformat Client option file (dsm.opt) or command line.
verifyimage Command line only.

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems 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. If an image backup contains a file system, and you restore them to a different location, be aware of the following points:

Windows operating systems 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. If an image backup contains a file system, and you restore them to a different location, be aware of the following points:

Examples

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Task
Restore the /home/test directory over which the logical volume is mounted, to its original location.

Command: dsmc rest image /home/test

Windows operating systems Task
Restore the e: drive to its original location.

Command: dsmc rest image e:

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems 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 that is recorded on the server. The changes include deletion of files.

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

Windows operating systems Task
Restore the h: drive to its original location and apply the changes from the last incremental backup of the original image that is recorded on the server. The changes include deletion of files.

Command: dsmc restore image h: -incremental -deletefiles

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Task
Restore the /usr file system to its original location. Use the verifyimage option to enable detection of bad sectors on the target volume.

Command: dsmc restore image /usr -verifyimage

Windows operating systems Task
Restore the d: drive to its original location. Use the verifyimage option to enable detection of bad sectors on the target volume.

Command: dsmc restore image d: -verifyimage

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Task
If bad sectors present on the target volume, use the imagetofile option to restore the /usr file system to the /home/usr.img file to avoid data corruption.

Command: dsmc restore image /usr /home/usr.img -imagetofile

Windows operating systems Task
If bad sectors present on the target volume, use the imagetofile option to restore the d: drive to the e:\diskD.img file to avoid data corruption.

Command: dsmc restore image d: e:\diskD.img -imagetofile

Windows operating systems Task
Restore the e: drive from the backup set weekly_backup_data.12345678 to its original location.

Command: restore image e: -backupsetname=weekly_backup_data.12345678



Feedback