Administrator's Reference

CANCEL RESTORE (Cancel a Restartable Restore Session)

Use the CANCEL RESTORE command to cancel a restartable restore session. Restartable restore sessions are displayed with the QUERY RESTORE command. You must cancel a restore session by specifying the session number displayed with QUERY RESTORE. Sessions that are in active state or in restartable state can be canceled.

If the restore session is active, any outstanding mount requests related to this session are automatically canceled.

Once a restartable restore session is canceled using the CANCEL RESTORE command, it cannot be restarted from where it left off. All records of that session are removed from the ADSM database. However, if you instead use the CANCEL SESSION command to cancel an active restartable restore session, the restore session is put into the restartable state, allowing a restore to restart from where it left off. Use the CANCEL RESTORE command to remove all traces of the restore session from the ADSM database. Use the CANCEL SESSION command to interrupt an active restartable restore session, leaving the option to start the restore again from where it left off.

Restartable restore sessions lock the filespace, and will not allow files to be moved off sequential volumes. Also, backups cannot be performed for files affected by the restartable restore. QUERY RESTORE displays the restartable restore sessions and their associated filespace. The CANCEL RESTORE command can be used to cancel a restartable restore session, which will unlock the filespace, allowing other operations to be performed if needed.

Privilege Class

To issue this command, you must have system or operator privilege.

Syntax

>>-CANcel--RESTore--+-sessionnum-+-----------------------------><
                    '-ALl--------'
 

Parameters

sessionnum

Specifies the session number for the restartable restore session. The session number is displayed on the QUERY RESTORE command. For a session in active state, this is a positive number. For a session in restartable state, this is a negative number.

ALl

Specifies that all the restartable restore sessions are to be canceled.

Examples

Task 1

Cancel all restore operations.

Command:
cancel restore all

Related Commands

Table 22. Commands Related to CANCEL RESTORE
Command Description
QUERY RESTORE Displays information about restartable restore sessions.


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