Operation, commands and options of Storage Protect
ISP can be operated via two user interfaces:
- the command line interface (CLI):
* Command dsmc - the graphical interface (GUI = Graphical User Interface):
* Command dsm (Windows)
* Command dsmj (UNIX/Linux)
Using the command interface
All ISP functions can be called up with commands so that they can also be used in scripts. You can use one of the following two modes:
- The shell command dsmc is used and all other specifications are given as parameters:
dsmc query backup "*" - you call the shell command dsmc once without parameters and are then asked for the subcommands:
dsmc
dsmc> query backup "*"
dsmc> quit
Although the two options look very similar, they are not: in the first case, the shell interprets the command and therefore replaces the shell variable, whereas in the second case TSM interprets the command and does not provide this service.
In many cases, the first variant is therefore more convenient to use. This is why it is always assumed in the examples.
The second option is advantageous if a large number of commands are to be sent, as otherwise a separate connection to the server is called for each dsmc call.
Each command begins with a command name ( query in the example above), sometimes followed by an object ( archive in the example ). This can be followed by further parameters (e.g. the names of the files to be processed) and options. Command name, object and options can be separated.
Where file names are required, simple wildcards may be used: * stands for any partial string (unlike in Unix, there is no special rule for file names beginning with .) and ? for individual characters. In this case, the entire parameter must always be enclosed in double quotation marks.
Unlike in Unix, wildcards are only permitted at the very end of the file name, but not in the names of the directories. Description of the most important commands and options in German (DEU) and English (ENU).
Command | Command Function | Client version V 8.1.17 |
dsmc help | Contents of the help | DEU ENU |
dsmc query filespace | Display a list of filespaces | ENU ENU |
dsmc query inclexcl | Display the list of include/exclude statements | ENU ENU |
dsmc query options | Display the client options | DEU ENU |
dsmc query schedule | Display the backup times of the client | ENU ENU |
dsmc query session | Display information about the current TSM session | DEU ENU |
dsmc set password | Change the TSM password | DEU ENU |
Commands for backup operations | ||
dsmc incremental | Start incremental backup | DEU ENU |
dsmc preview backup | Simulation of a backup command | ENU ENU |
dsmc query backup | Display a list of the backup versions of the files in the backup | ENU ENU |
dsmc restore | Restore files from the backup | ENU ENU |
dsmc query restore | Display a list of restartable restores | DEU ENU |
dsmc restart restore | Start a restartable restore | DEU ENU |
dsmc cancel restore | Delete a restartable restore | DEU ENU |
Commands for archive operations | ||
dsmc archive | Archiving files | ENU ENU |
dsmc preview archive | Simulation of an archiving command | DEU ENU |
dsmc query archive | Display a list of files in the archive | DEU ENU |
dsmc retrieve | Retrieve files from the archive | ENU ENU |
dsmc delete archive | Delete files from the archive | ENU ENU |
option | Function | Client version V8.1.17 |
archmc | Specification of a management class (archiving) | DEU ENU |
description | Description of a file (archiving) | DEU ENU |
encryptiontype | Selection of the algorithm for data encryption | DEU ENU |
encryptkey | Handling of the encryption key password | DEU ENU |
fromdate | Start date for searching for backup or archive copies of files | DEU ENU |
fromtime | Start time to search for backup or archive copies of files | DEU ENU |
ifnewer | Replace a file with a more recent backup version | DEU ENU |
inactive | Display active and inactive objects | DEU ENU |
latest | Replace a file with the latest backup version | DEU ENU |
pick | Creating a list of backup versions or archiving copies | DEU ENU |
pitdate | Time (date) for displaying/writing back the last backup version | DEU ENU |
pittime | Point in time (time) for displaying/writing back the last backup version | DEU ENU |
preservepath | Specifies how much of the source path is to be restored as part of the target path | DEU ENU |
querysummary | Provision of statistics on files, directories and objects | DEU ENU |
replace | Handling the overwriting of existing files | DEU ENU |
todate | End date for searching for backup or archive copies of files | DEU ENU |
totime | End time for searching for backup or archiving copies of files | DEU ENU |
v2archive | Archiving files without taking directories into account | DEU ENU |
Graphical interface
If you call dsm or dsmj instead of dsmc , a new window appears for interaction between the TSM client and the TSM server; the prerequisite for the dsm command is that an X Window server is running. Behind the call to dsmj is a Java program. This allows you to select both the files to be archived and the files to be restored using the mouse, which can be more convenient than the command interface. A few tips on this:
- The graphical interface knows much less about working directories or symbolic links than the command interface. For this reason, you must always specify the entire path when you are asked for a file path, e.g. /how/is/they/now/my/path.
At the very end you can use wildcards again, but only there. - Great care should be taken when the offer by directory tree appears in a menu. All directories are offered there for selection and clicking, even if there are thousands of them.
Otherwise, the graphical user interface is self-describing. Of the directories offered in the left-hand area of the window, only the File Level directory is normally important. You should be able to find the saved file spaces on your computer under this directory.