dsmc command

Purpose

Backs up and restores data that is generated while you use the IBM® Tivoli® Storage Manager server.

Syntax

dsmc [ -incremental | -schedule ]

dsmc [ -query | -restore ] argv

Description

The dsmc command allows the user to back up and restore data from the IBM Tivoli Storage Manager Server.

Flag

Flag name Description
-incremental Backs up all new or changed files or directories in the default client domain or from file systems, directories, or files you specify, unless you exclude them from backup services.
-query [argument] Query functions to query backups on the IBM Tivoli Storage Manager Server:
access
Displays a list of current authorization rules.
archive
Displays a list of archived files.
backup
Displays a list of backup versions.
backupset
Queries a backup set from a local file, tape device, or the IBM Tivoli Storage Manager Server.
filespace
Displays a list of file spaces in IBM Tivoli Storage Manager storage. You can also specify a single file space name to query.
group
Displays information about group backups and their members.
image
Displays information about image backups.
inclexcl
Displays a list of include-exclude statements in the order in which they are processed during backup and archive operations.
mgmtclass
Displays information about available management classes.
node
Displays all the nodes for which an administrative user ID has authority to perform operations.
options
Displays all or part of your options and their current settings.
restore
Displays a list of your restartable restore sessions in the server database.
schedule
Displays information about scheduled events for your node.
session
Displays information about your session, including the current node name, when the session was shed, server information, and server connection information.
systeminfo
Gathers IBM Tivoli Storage Manager system information and outputs this information to a file or the console.
was
Displays backups of the WebSphere® Application Server (WAS) Network Deployment Manager (contains setup, application files, and configuration information) or the Application Server that match the node name and type of the WAS group backup that you specify.
-restore [argument] Restores copies of backup versions of your files from an IBM Tivoli Storage Manager server.
backupset
Restores a backup set from the IBM Tivoli Storage Manager server or a local file. You can also restore a backup from a tape device.
group
Restores specific members or all members of a group backup.
image
Restores a file system or raw volume image backup.
nas
Restores the image of a file system that belongs to a Network Attached Storage (NAS) file server.
was
Restores the WebSphere Application Server (WAS) Network Deployment Manager (contains setup, application files, and configuration information) or the Application Server from the Tivoli Storage Manager server.
-schedule Starts the client scheduler on the workstation.

Exit Status

The following exit values are returned:
Value name Description
0 Successful completion.
>0 An error occurred.

Examples

To back up an image to the IBM Tivoli Storage Manager server, type:
dsmc -incremental <mksysb_file_to_backup>
To view backup images on the IBM Tivoli Storage Manager server, type:
dsmc -query backup <mksysb_file_to_backup>