Using the UNIX Backup-Archive Clients


Entering Client Commands

A client command can include one or more of these components:

The sections that follow describe each of these components.

Command Name

The first part of a command is the name that identifies it. The command name consists of a single word, such as help or schedule, or an action word and an object for that action, such as query archive. Enter the full command name, the minimum abbreviation, or an abbreviation containing the minimum abbreviation allowed. For example, you can enter any of the following versions of the query schedule command:

   query schedule
   q sc
   q sched
   query sc

Options

There are two groups of options that you can use with commands. They are:

Parameters

Commands have either required parameters, optional parameters, or none, for example, query mgmtclass has no parameters, only options. Required parameters provide information to perform a task. The most commonly required parameter is a file specification. For example, if you want to archive a file named budget.fin from the /project directory, you would enter:

   dsmc archive /project/budget.fin

Some commands have optional parameters. If you do not enter a value for an optional parameter, ADSM uses the default value. For example, the restore command includes a required parameter, sourcefilespec, that identifies the path and file name in ADSM storage that you want to restore, and an optional parameter, destinationfilespec, that identifies where you want to place the restored files. If you do not use destinationfilespec, by default, ADSM restores the files to the original source path. If you want to restore the files to a different directory, enter a value for destinationfilespec. For example, to restore /project/budget.fin to /newproj/newbudg.fin, you would enter:

   dsmc restore /project/budget.fin /newproj/newbudg.fin

Enter parameters in the order indicated in the command syntax diagram.

Filespec Syntax

Use the following syntax rules when specifying file specification parameters, such as filespec, sourcefilespec, and destinationfilespec:


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