You are on page 1of 16

Backup Exec Command Line Applet version 9.1.4691.

Copyright (c) 1984-2002 VERITAS Software Corporation. All rights reserved.


Usage: BEMCMD [-o<#>] [-<flag><value>]
Quotations around <value> are required if <value> contains a space or a colon.
-v Verbose Output.
-? -o<#> Help for specific operations.
-c<computer> Remote computer name. (Uses local computer if not specified).
-n<user> User name credential for logging into remote computer.
-p<password> User password credential for logging into remote computer.
-l<filename> Name of a file to create and write all output to.
-la:<filename> Name of a file to append all output to.
-t<Server OS> The type of OS the server is running on.
"NT" for Windows NT or "NW" for netware (Default is NT).
-----------------------------------------------------------------------------
| Operation | Op # | Sub-switches | Description |
-----------------------------------------------------------------------------
| Run Backup Job | -o1 | -j<job name> | Runs a previously defined backup|
| | | -pr:<priority> | job. Use -pr to specify the |
| | | -w | priority for the job. Priority |
| | | | options include: Highest, High, |
| | | | Medium, Low, Lowest. If -pr |
| | | | switch is absent, the priority |
| | | | will be set as Medium. Use -w to|
| | | | wait for the job to complete. |
| | | | Returns a job instance id or -1 |
| | | | on error. |
-----------------------------------------------------------------------------
| Create Backup | -o2 | -j<job name> | Creates and runs a backup job of|
| Job | | -m<media set> | files given as a comma delimited|
| | | -d<device name> | list (e.g. "c:\dir\file" or |
| | | or | "\\server\share name\..."). Use |
| | | -sd:<device | -sf instead of -s and specify |
| | | name | a filename containing a list of |
| | | -s<file list> | files (one per line). Quotes are|
| | | or | required after -s or -sf. Use /n|
| | | -sf:<filename> | before the end of the last quote|
| | | -fi:<method> | to skip subdirectories during |
| | | -pr:<priority> | backup. Use -r to replace an |
| | | -mp:<media | existing job. Note when going to|
| | | protection | a remote server that local paths|
| | | level> | refer to that server. Use -m to |
| | | -w | specify a media set and/or -d to|
| | | -r | specify a device name. Use -sd |
| | | | instead of -d to fail job if |
| | | | device does not exist. Use -fi: |
| | | | to use Intelligent Image option.|
| | | | Use -fi:0 to turn it off. Use |
| | | | -f1:1 to use it with server free|
| | | | backup if available. Use -pr to |
| | | | specify the priority for the |
| | | | job. Priority options include: |
| | | | Highest, High, Medium, Low, |
| | | | Lowest. If -pr switch is absent,|
| | | | the priority will be set as |
| | | | Medium. Use -mp:1 to set the |
| | | | media protection level to append|
| | | | and overwrite if not available. |
| | | | Use -mp:2 to set it to append |
| | | | and terminate if not available. |
| | | | Use -mp:0 to set it to |
| | | | overwrite. Use -w to wait for |
| | | | job completion. Returns a job |
| | | | instance id or -1 on error. |
-----------------------------------------------------------------------------
| Backup Server | -o3 | -j<job name> | Creates and runs a backup job of|
| Drive | | -d<drive letter>| the given drive. Note when going|
| | | -r | to a remote server that the |
| | | -fi:<method> | drive will refer to that server.|
| | | -pr:<priority> | Use -r to replace an existing |
| | | -w | job. Use -fi: to use Intelligent|
| | | | image option. Use -fi:0 to turn |
| | | | it off. Use -fi:1 to use it with|
| | | | server free backup if available.|
| | | | Use -pr to specify the priority |
| | | | for the job. Priority options |
| | | | include: Highest, High, Medium, |
| | | | Low, Lowest. If -pr switch is |
| | | | absent, the priority will be set|
| | | | as Medium. Use -w to wait for |
| | | | job completion. Returns a job |
| | | | instance id or -1 on error. |
-----------------------------------------------------------------------------
| Backup Exchange | -o4 | -j<job name> | Creates and runs a backup job of|
| Server | | -r | the Microsoft Exchange Server. |
| | | -pr:<priority> | Use -r to replace an existing |
| | | -w | job. Use -pr to specify the |
| | | | priority for the job. Priority |
| | | | options include: Highest, High, |
| | | | Medium, Low, Lowest. If -pr |
| | | | switch is absent, the priority |
| | | | will be set as Medium. Use -w to|
| | | | wait for job completion. Returns|
| | | | a job instance id or -1 on |
| | | | error. |
-----------------------------------------------------------------------------
| Backup SQL | -o5 | -j<job name> | Creates and runs a backup job of|
| Server | | -r | the Microsoft SQL server. Use |
| | | -pr:<priority> | -r to replace an existing job. |
| | | -lo:<database | Use -pr to specify the priority |
| | | mode> | for the job. Priority options |
| | | -db:<database | include: Highest, High, Medium, |
| | | name> | Low, Lowest. If -pr switch is |
| | | -w | absent, the priority will be set|
| | | | as Medium. Use -lo to specify |
| | | | the log backup option. Use the |
| | | | -db option to specify a name of |
| | | | a database to backup. Use -w to |
| | | | wait fot the job to complete. |
| | | | Returns a job instance id or -1 |
| | | | on error. |
-----------------------------------------------------------------------------
| Backup Exchange | -o6 | -j<job name> | Creates and runs a backup job of|
| 2000 Server | | -r | the Microsoft Exchange 2000 |
| | | -w | Server. Use -r to replace an |
| | | -sg:<storage | existing job. Use -sg to specify|
| | | group> | the storage group to backup. Use|
| | | -pr:<priority> | -w to wait for job completion. |
| | | | Use -pr to specify the priority |
| | | | for the job. Priority options |
| | | | include: Highest, High, Medium, |
| | | | Low, Lowest. If -pr switch is |
| | | | absent, the priority will be set|
| | | | as Medium. Returns a job |
| | | | instance id or -1 on error. |
-----------------------------------------------------------------------------
| Run Restore Job | -o7 | -j<job name> | Runs a previously defined |
| | | -pr:<priority> | restore job. Use -w to wait for |
| | | -w | job completion. Use -pr to |
| | | | specify the priority for the |
| | | | job. Priority options include: |
| | | | Highest, High, Medium, Low, |
| | | | Lowest. If -pr switch is absent,|
| | | | the priority will be set as |
| | | | Medium. Returns a job instance |
| | | | id or -1 on error. |
-----------------------------------------------------------------------------
| Backup SQL | -o8 | -j<job name> | Creates and runs a backup job of|
| Server 2000 | | -r | the Microsoft SQL Server 2000. |
| | | -w | Use -r to replace an existing |
| | | -ni:<named | job. Use -w to wait for the job |
| | | instance> | to complete. Use -ni to specify |
| | | | a named instance. |
| | | -lo:<database | Use -lo to specify the log |
| | | mode> | backup option. Use the -db |
| | | -db:<database | option to specify a name of a |
| | | name> | database to backup. |
| | | -pr:<priority> | Use -pr to specify the priority |
| | | | for the job. Priority options |
| | | | include: Highest, High, Medium, |
| | | | Low, Lowest. If -pr switch is |
| | | | absent, the priority will be set|
| | | | as Medium. Returns a job |
| | | | instance id or -1 on error. |
-----------------------------------------------------------------------------
| Backup Share- | -o9 | -j<job name> | Creates and runs a backup job of|
| Point Portal | | -r | the Microsoft SharePoint Portal |
| Server | | -w | Server. Use -r to replace an |
| | | -pr:<priority> | existing job. Use -w to wait for|
| | | | job completion. Use -pr to |
| | | | specify the priority for the |
| | | | job. Priority options include: |
| | | | Highest, High, Medium, Low, |
| | | | Lowest. If -pr switch is absent,|
| | | | the priority will be set as |
| | | | Medium. Returns a job instance |
| | | | id or -1 on error. |
-----------------------------------------------------------------------------
| Get Number of | -o10 | -i | Use -i to dump the job ids |
| Scheduled jobs | | -j | and/or -j to dump the job names.|
| | | | Returns the number of scheduled |
| | | | jobs or -1 on error. |
-----------------------------------------------------------------------------
| Get Number of | -o11 | -i | Use -i to dump the job ids |
| Active jobs | | -j | and/or -j to dump the job names.|
| | | | Returns the number of active |
| | | | jobs or -1 on error. |
-----------------------------------------------------------------------------
| Get Number of | -o12 | -i | Use -i to dump the job ids |
| Completed jobs | | -j | and/or -j to dump the job names.|
| | | | Returns the number of completed |
| | | | jobs or -1 on error. |
-----------------------------------------------------------------------------
| Get Number of | -o13 | | Returns the number of active |
| Active Utility | | | utility jobs or -1 on error. |
| jobs | | | |
-----------------------------------------------------------------------------
| Get Number of | -o14 | | Returns the number of completed |
| Completed | | | utility jobs or -1 on error. |
| Utility jobs | | | |
-----------------------------------------------------------------------------
| Get Job Status | -o15 | -i<job id> | Returns a predefined job status |
| | | | or -1 on error. |
-----------------------------------------------------------------------------
| Dump Job Status | -o16 | -i<job id> | Outputs the job information |
| for Scheduled | | -a | associated with the job id with |
| and Active jobs | | | header descriptions. Use -a to |
| | | | abbreviate to comma delimited |
| | | | form. Returns 1 if successful |
| | | | or -1 on error. |
-----------------------------------------------------------------------------
| Backup Lotus | -o17 | -j<job name> | Creates and runs a backup job of|
| Notes Server | | -r | the Lotues Notes server. Use -r |
| | | -w | to replace an existing job. Use |
| | | -tl:<path> | -w to wait for the job to com- |
| | | -d<drive name> | plete. Use -d to indicate the |
| | | -pr:<priority> | drive letter where the Lotus |
| | | | Notes Server's files are located|
| | | | Use -tl to specifiy the complete|
| | | | path to the transaction logfile.|
| | | | Use -pr to specify the priority |
| | | | for the job. Priority options |
| | | | include: Highest, High, Medium, |
| | | | Low, Lowest. If -pr switch is |
| | | | absent, the priority will be set|
| | | | as Medium. Returns 1 if |
| | | | successful or -1 on error. |
-----------------------------------------------------------------------------
| Backup Oracle | -o18 | -j<job name> | Creates and runs a backup job of|
| Server | | -r | the Oracle server. Use -r to re-|
| | | -w | place an existing job. Use -w to|
| | | -si:<SID name> | wait for the job to complete. |
| | | -pr:<priority> | Use -si to indicate the SID to |
| | | | backup. Use -pr to specify the |
| | | | priority for the job. Priority |
| | | | options include: Highest, High, |
| | | | Medium, Low, Lowest. If -pr |
| | | | switch is absent, the priority |
| | | | will be set as Medium. Returns 1|
| | | | if successful or -1 on error. |
-----------------------------------------------------------------------------
| Create Alias | -o19 | -j<job name> | Creates and runs a backup job of|
| Backup Job | | -s<file list> | files given as a comma delimited|
| | | -a<alias list> | list with a matching comma de- |
| | | or | limited list of aliases. Use -s |
| | | -sf:<filename> | to specify the list of files to |
| | | -m<media set> | backup (e.g. "c:\*.*, c:\path\ |
| | | -d<device name> | *.*"). Use -a to specify the |
| | | or | list of aliases (e.g. "d:, e:").|
| | | -sd:<device | Use -sf instead of -s and -a |
| | | name | and specify a filename |
| | | -g | containing a list of files and |
| | | | their aliases (one per line |
| | | -pr:<priority> | comma delimited). All lists |
| | | -fi:<method> | will be in quotes. Note when go-|
| | | -mp:<media | ing to a remote server, local |
| | | protection | paths refer to that server. Use |
| | | level> | -m to specify a media set. Use |
| | | -w | -d to specify a device name. Use|
| | | | -sd instead of -d to fail job if|
| | | | device does not exist. Use -fi: |
| | | | to use Intelligent Image option.|
| | | | Use -fi:0 to turn it off. Use |
| | | | -fi:1 to use it with server free|
| | | | backup if available. Use -g to |
| | | | to guarantee a backup using a |
| | | | frozen image (No OFO). |
| | | | Use -pr to specify the priority |
| | | | for the job. Priority options |
| | | | include: Highest, High, Medium, |
| | | | Low, Lowest. If -pr switch is |
| | | | absent, the priority will be set|
| | | | as Medium. Use -mp:1 to set the |
| | | | media protection level to append|
| | | | and overwrite if not available. |
| | | | Use -mp:2 to set it to append |
| | | | and terminate if not available. |
| | | | Use -mp:0 to set it to |
| | | | overwrite. Use -w to wait for |
| | | | job completion. Returns a job |
| | | | instance id or -1 on error. |
-----------------------------------------------------------------------------
| Cancel Job | -o20 | -i<job id> | Cancels a job. Returns 1 if |
| | | | successful or -1 on error. |
-----------------------------------------------------------------------------
| Dump Completed | -o21 | -hi:<job history| Displays the details of the |
| Job Status | | id> | specified job history. Use -hi |
| | | or | to display the details of the |
| | | -i<job instance | specified job history. Use -i |
| | | id> | to display list of the |
| | | -e | specified job instances along |
| | | | with the job name and start |
| | | | time. Use -e to display details |
| | | | of the last history for the |
| | | | specified job. Returns 1 if |
| | | | successful or -1 on error. |
-----------------------------------------------------------------------------
| Dump the job log| -o30 | -i<job id> | Outputs the job log name of the |
| name of a | | | specified job. Returns 1 if |
| completed job | | | successful or -1 on error. |
-----------------------------------------------------------------------------
| Dump the job | -o31 | -f<file name> | Outputs the contents of the |
| log contents | | | specified file. Returns 1 if |
| | | | successful or -1 on error. |
| | | -s<file name> | use -s to save the job log |
| | | | into a specified text file. |
-----------------------------------------------------------------------------
| Get Number of | -o40 | -i | Use -i to dump the alert ids. |
| Alerts | | -tl: | Use -tl: to dump the alert |
| | | -h | titles. Use -h to list history |
| | | | alerts. Returns the number of |
| | | | alerts or -1 on error. |
-----------------------------------------------------------------------------
| Dump Alert Text | -o42 | -i<alert id> | Outputs the alert title and |
| | | -w | message. Use -w to prompt for a |
| | | | response to the alert. Outputs |
| | | | all alerts by default. Returns |
| | | | 1 if successful or -1 on error. |
-----------------------------------------------------------------------------
| Get Number of | -o43 | -i | Use -i to dump the alert ids. |
| Information Only| | -tl: | Use -tl: to dump the alert |
| Alerts | | | titles. Returns the number of |
| | | | information alerts or -1 on |
| | | | error. |
-----------------------------------------------------------------------------
| Get Number of | -o44 | -i | Use -i to dump the alert ids. |
| Critical Alerts | | -tl: | Use -tl: to dump the alert |
| | | | titles. Returns the number of |
| | | | critical alerts or -1 on error. |
-----------------------------------------------------------------------------
| Clear all | -o45 | | Clears all current information |
| Information | | | only alerts. Returns 1 if |
| Alerts | | | successful or -1 on error. |
-----------------------------------------------------------------------------
| Respond to an | -o46 | -i<alert id> | Responses are: OK, Yes, No, |
| Alert | | -r<response> | Cancel, Retry, Ignore, Abort. |
| | | -w | Use -w to prompt for a response.|
| | | | Returns 1 on success, 0 if the |
| | | | alert was already responded to, |
| | | | or -1 on failure. |
-----------------------------------------------------------------------------
| Get Number of | -o47 | -i | Displays the number of warning |
| Warning Alerts | | -tl: | alerts. Use -i to dump the |
| | | | alert ids. Use -tl: to dump the |
| | | | alert titles. Returns 1 if |
| | | | successful or -1 on error. |
-----------------------------------------------------------------------------
| Get Number of | -o48 | -i | Displays the number of error |
| Error Alerts | | -tl: | alerts. Use -i to dump the |
| | | | alert ids.Use -tl: to dump the |
| | | | alert titles. Returns 1 if |
| | | | successful or -1 on error. |
-----------------------------------------------------------------------------
| Get Alert | -o49 | -i | Displays the alert categories. |
| Categories | | -j | Use -i to dump the alert |
| | | -ac: | category ids. Use -j to dump |
| | | | the alert category names. Use |
| | | | -ac: to dump the alert category.|
| | | | Returns 1 if successful or -1 |
| | | | on error. |
-----------------------------------------------------------------------------
| Get Alert | -o50 | -i<alert | Displays the alert category |
| Category | | category id> | details. Use -i to specify the |
| | | | alert category. Returns -1 if |
| | | | successful or -1 on error. |
-----------------------------------------------------------------------------
| Set Alert | -o51 | -i<alert | Modifies the alert |
| Configuration | | category id> | configuration. Use -i to |
| | | -e | specify an alert category. Use |
| | | -d | -e/-d to enable/disable the |
| | | -no: | alert. Use -no:/-nn: to |
| | | -nn: | enable/disable sending of |
| | | -jl: | notifications to selected |
| | | -nj: | recipients. Use -jl:/-nj: to |
| | | -s | enable/disable inclusion of job |
| | | -ns: | log with notification. |
| | | -rl: | Use -s/-ns: to enable/disable |
| | | -nr: | sending of SNMP notifications. |
| | | -ac:<timeout> | Use -rl:/-nr: to enable/disable |
| | | -na: | logging of event in windows |
| | | | event log. Use -ac: to set the |
| | | | time for automatically clearing |
| | | | the alert. Use -na: to disable |
| | | | automatic clearing of alerts. |
-----------------------------------------------------------------------------
| Pause Drive | -o60 | -d<drive name> | Pauses the specified drive. |
| | | | Returns 1 if successful or -1 |
| | | | on error. |
-----------------------------------------------------------------------------
| Resume Drive | -o61 | -d<drive name> | Resumes the specified paused |
| | | | drive. Returns 1 if successful |
| | | | or -1 on error. |
-----------------------------------------------------------------------------
| Is Drive Paused | -o62 | -d<drive name> | Returns 1 if the specified |
| | | | drive is paused, 0 if not, or |
| | | | -1 on error. |
-----------------------------------------------------------------------------
| Get Number of | -o63 | -i | Use -i to display drive IDs for |
| Drives | | -j | all drives. Use -j to display |
| | | | names for all drives. Returns |
| | | | the number of managed drives |
| | | | or -1 on error. |
-----------------------------------------------------------------------------
| Get Number of | -o64 | -i | Returns the number of managed |
| Available Drives| | -j | drives currently online and not |
| | | | paused or -1 on error. |
| | | | Use -j to display names for the |
| | | | drives. Use -i to display IDs |
| | | | for the drives. |
-----------------------------------------------------------------------------
| Get Number of | -o65 | -i | Returns the number of managed |
| Paused Drives | | -j | drives paused or -1 on error. |
| | | | Use -j to display names for the |
| | | | drives. Use -i to display IDs |
| | | | for the drives. |
-----------------------------------------------------------------------------
| Get Number of | -o66 | -i | Returns the number of managed |
| Offline Drives | | -j | drives offline or -1 on error. |
| | | | Use -j to display names for the |
| | | | drives. Use -i to display IDs |
| | | | for the drives. |
-----------------------------------------------------------------------------
| Dump Drive | -o67 | -i<drive id> | Displays the drive properties |
| Properties | | or | of the specified drive. Use -i |
| | |-d<drive name> | to specify the drive id or -d to|
| | |-a | specify the drive name. Use -a |
| | | | for abbreviated output. Returns |
| | | | 1 if successful or -1 on error. |
-----------------------------------------------------------------------------
| Query Devices | -o68 | | Displays the device list. |
| | | | Returns 1 if successful or -1 |
| | | | on error. |
-----------------------------------------------------------------------------
| Get Number of | -o69 | -i | Use -i to display media set IDs |
| Media Sets | | -j | for all media sets. Use -j to |
| | | | display names for all media |
| | | | sets. Returns the number of |
| | | | media sets or -1 on error. |
-----------------------------------------------------------------------------
| Import Drive | -o80 | -a<robotic | Imports a list of backup tapes |
| Slots | | library> | and displays the job instance |
| | | -s<slot numbers>| id. The slots are comma |
| | | -ai: | delimited. If -s is not |
| | | -f<schedule | specified, all slots are |
| | | file> | imported. Use -ai: to specify to|
| | | -pr:<priority> | do auto-inventory after import |
| | | -w | is complete. Use -f to schedule |
| | | | the job. Use -pr to specify the |
| | | | priority for the job. Priority |
| | | | options include: Highest, High, |
| | | | Medium, Low, Lowest. If -pr |
| | | | switch is absent, the priority |
| | | | will be set as Medium. Use -w to|
| | | | wait for the job to complete. |
| | | | Returns 1 if successful or -1 on|
| | | | error. |
-----------------------------------------------------------------------------
| Export Drive | -o81 | -a<robotic | Exports a list of backup tapes |
| Slots | | library> | and displays the job instance |
| | | -s<slot numbers>| id. The slots are comma |
| | | -x | delimited. If -s is not |
| | | -f<schedule | specified, all slots are |
| | | file> | exported. Use -x to export the |
| | | -pr:<priority> | expired media only. Use -f to |
| | | -w | schedule the job. Use -pr to |
| | | | specify the priority for the |
| | | | job. Priority options include: |
| | | | Highest, High, Medium, Low, |
| | | | Lowest. If the -pr switch is |
| | | | absent, the priority will be set|
| | | | as Medium. Use -w to wait for |
| | | | the job to complete. Returns 1 |
| | | | if successful or -1 on error. |
-----------------------------------------------------------------------------
| Set Slot as a | -o82 | -a<robotic | Designates slot(s) to be a |
| Cleaning Slot | | library> | cleaning slot. Slots are comma |
| | | -s<slot numbers>| delimited. Returns 1 if |
| | | | successful or -1 on error. |
-----------------------------------------------------------------------------
| Reset Slot to a | -o83 | -a<robotic | Designates slot(s) to be a non- |
| Non-Cleaning | | library> | cleaning slot. Slots are comma |
| Slot | | -s<slot numbers>| delimited. Returns 1 if |
| | | | successful or -1 on error. |
-----------------------------------------------------------------------------
| Get Number of | -o84 | -i | Displays the number of robots. |
| Robots | | -a | Use -i to dump the robot ids |
| | | | and/or -a to dump the robot |
| | | | names. Returns 1 if successful |
| | | | or -1 on error. |
-----------------------------------------------------------------------------
| Dump Robot | -o85 | -i<robot id> | Outputs the robot information |
| Properties | | or | with header descriptions. Use -i|
| | | -d<robot name> | to specify robot id OR -d to |
| | | -a | specify robot name. Use -a to |
| | | | abbreviate the output to comma |
| | | | delimited form. Returns 1 if |
| | | | successful or -1 on error. |
-----------------------------------------------------------------------------
| Dump Slot | -o86 | -i<robot id> | Outputs the slot information |
| Content | | or | with header descriptions. Use -i|
| | | -d<robot name> | to specify robot id OR -d to |
| | | -s<slot numbers>| specify robot name. Slot numbers|
| | | -a | are comma delimited. -s is |
| | | | optional. If -s is not specified|
| | | | it dumps contents of all slots. |
| | | | Use -a to abbreviate the output |
| | | | to comma delimited form. Returns|
| | | | 1 if successful or -1 on error. |
-----------------------------------------------------------------------------
| Run a Script Job| -o90 | -f<script file> | Executes a job based on the |
| | | -w | script file. Use -w to wait for |
| | | | the job to complete. Job |
| | | | instance id is displayed on |
| | | | success. Returns 1 if successful|
| | | | or -1 on error. |
-----------------------------------------------------------------------------
| Create a | -o100 | -d<drive name> | Creates a cleaning job on the |
| Cleaning Job | | -f<schedule | specified drive and displays the|
| | | file> | job instance id. Use -f to |
| | | -pr:<priority> | schedule the job. Use -pr to |
| | | -w | specify the priority for the |
| | | | job. Priority options include: |
| | | | Highest, High, Medium, Low, |
| | | | Lowest. If the -pr switch is |
| | | | absent, the priority will be set|
| | | | as Medium. Use -w to wait for |
| | | | the job to complete. Returns 1 |
| | | | if successful or -1 on error |
-----------------------------------------------------------------------------
| Create a Media | -o101 | -m<media name> | Creates a media set with the |
| Set | | -op:<overwrite> | specified name. Use -op: to |
| | | -ap:<append> | specify an overwrite protection |
| | | | period in hours. Use -ap: to |
| | | | specify an append period in |
| | | | hours. Returns 1 if successful |
| | | | or -1 on error. |
-----------------------------------------------------------------------------
| Create a Drive | -o102 | -dp:<drive pool>| Creates a drive pool with the |
| Pool | | -d<drives> | specified name and assigns the |
| | | | given drives to it. The drive |
| | | | names are comma delimited. |
| | | | Returns 1 if successful, 0 if |
| | | | one or more given drives can not|
| | | | be found, or -1 on error. |
-----------------------------------------------------------------------------
| Inventory a | -o103 | -a<robotic | Creates an inventory job on the |
| Robotic Library | | library> | given slots on the specified |
| | | -s<slot numbers>| robotic library and displays the|
| | | -f<schedule | job instance id. Slots are comma|
| | | file> | delimited. If -s is not |
| | | -pr:<priority> | specified, inventory is done on |
| | | -w | all slots. Use -f to schedule |
| | | | the job. Use -pr to specify the |
| | | | priority for the job. Priority |
| | | | options include: Highest, High, |
| | | | Medium, Low, Lowest. If -pr |
| | | | switch is absent, the priority |
| | | | will be set as Medium. Use -w to|
| | | | wait for the job to complete. |
| | | | Returns 1 if successful or -1 |
| | | | on error. |
-----------------------------------------------------------------------------
| Lock a Robotic | -o104 | -a<robotic | Locks the specified robotic |
| Library Door | | library> | library door and displays the |
| | | -f<schedule | job instance id. Use -f to |
| | | file> | schedule the job. Use -pr to |
| | | -pr:<priority> | specify the priority for the |
| | | -w | job. Priority options include: |
| | | | Highest, High, Medium, Low, |
| | | | Lowest. If -pr switch is absent,|
| | | | the priority will be set as |
| | | | Medium. Use -w to wait for the |
| | | | job to complete. Returns 1 if |
| | | | successful or -1 on error. |
-----------------------------------------------------------------------------
| Unlock a Robotic| -o105 | -a<robotic | Unlocks the specified robotic |
| Library Door | | library> | library door and displays the |
| | | -f<schedule | job instance id. Use -f to |
| | | file> | schedule the job. Use -pr to |
| | | -pr:<priority> | specify the priority for the |
| | | -w | job. Priority options include: |
| | | | Highest, High, Medium, Low, |
| | | | Lowest. If -pr switch is absent,|
| | | | the priority will be set as |
| | | | Medium. Use -w to wait for the |
| | | | job to complete. Returns 1 if |
| | | | successful or -1 on error. |
-----------------------------------------------------------------------------
| Set Overwrite | -o106 | -ol:<level> | Sets the media overwrite |
| Protection Level| | -oo:<recyclable>| protection level. Returns 1 if |
| | | | successful or -1 on error. |
-----------------------------------------------------------------------------
| Set Wizards Ran | -o107 | | Set the startup wizards have |
| | | | already run. Returns 1 if |
| | | | successful or -1 on error. |
-----------------------------------------------------------------------------
| Erase Tape | -o111 | -d<drive name> | Erases the tape in the given |
| | | -e<erase type> | drive name and displays the job |
| | | -s<slot numbers>| instance id. Erase types are '1'|
| | | -f<schedule | for a quick erase or '3' for a |
| | | file> | long erase. If -s is specified |
| | | -pr:<priority> | the drive name is assumed to be |
| | | -w | a robotic library. Slots are |
| | | | comma delimited. Use -f to |
| | | | schedule the job. Use -pr to |
| | | | specify the priority for the |
| | | | job. Priority options include: |
| | | | Highest, High, Medium, Low, |
| | | | Lowest. If -pr switch is absent,|
| | | | the priority will be set as |
| | | | Medium. Use -w to wait for the |
| | | | job to complete. Returns 1 if |
| | | | successful or -1 on error. |
-----------------------------------------------------------------------------
| Retension Tape | -o112 | -d<drive name> | Retensions the tape in the given|
| | | -s<slot numbers>| drive name and displays the job |
| | | -pr:<priority> | instance id. If -s is specified |
| | | -w | the drive name is assumed to be |
| | | | a robotic library. Slots are |
| | | | comma delimited. Use -pr to |
| | | | specify the priority for the |
| | | | job. Priority options include: |
| | | | Highest, High, Medium, Low, |
| | | | Lowest. If -pr switch is absent,|
| | | | the priority will be set as |
| | | | Medium. Use -w to wait for the |
| | | | to complete. Returns 1 if |
| | | | successful or -1 on error. |
-----------------------------------------------------------------------------
| Label Tape | -o113 | -d<drive name> | Initializes a tape with a |
| | | -m<media name> | specific name and returns the |
| | | -s<slot numbers>| job instance id. If -s is |
| | | -pr:<priority> | specified, the drive name is |
| | | -w | assumed to be a robotic library.|
| | | | Slots are comma delimited. Use |
| | | | -pr to specify the priority for |
| | | | the job. Priority options |
| | | | include: Highest, High, Medium, |
| | | | Low, Lowest. If -pr switch is |
| | | | absent, the priority will be set|
| | | | as Medium. Use -w to wait for |
| | | | the job to complete. Returns 1 |
| | | | if successful or -1 on error. |
-----------------------------------------------------------------------------
| Format Tape | -o114 | -d<drive name> | Formats a tape in the given |
| | | -s<slot numbers>| drive name and displays the job |
| | | -pr:<priority> | instance id. If -s is specified |
| | | -w | the drive name is assumed to be |
| | | | a robotic library. Slots are |
| | | | comma delimited. Use -pr to |
| | | | specify the priority for the |
| | | | job. Priority options include: |
| | | | Highest, High, Medium, Low, |
| | | | Lowest. If -pr switch is absent,|
| | | | the priority will be set as |
| | | | Medium. Use -w to wait for the |
| | | | job to complete. Returns 1 if |
| | | | successful or -1 on error. |
-----------------------------------------------------------------------------
| Eject Tape | -o115 | -d<drive name> | Ejects a tape in the given |
| | | -pr:<priority> | drive name and displays the job |
| | | -w | instance id. Use -pr to specify |
| | | | the priority for the job. |
| | | | Priority options include: |
| | | | Highest, High, Medium, Low, |
| | | | Lowest. If -pr switch is absent,|
| | | | the priority will be set as |
| | | | Medium. Use -w to wait for the |
| | | | job to complete. Returns 1 if |
| | | | successful or -1 on error. |
-----------------------------------------------------------------------------
| Create a Backup | -o116 | -f<folder> | Creates a backup to disk folder.|
| to Disk Folder | | -d<directory> | Use -f to specify the folder |
| | | -r | name. Use -d to specify the loc-|
| | | | ation for the folder. Use -r to |
| | | | create the folder with removable|
| | | | media. Returns 1 if successful |
| | | | or -1 on error. |
-----------------------------------------------------------------------------
| Inventory a | -o117 | -d<drive name> | Creates an inventory job on a |
| Stand-alone | | -f<schedule | specified stand-alone drive and |
| Drive | | file> | displays the job instance id. |
| | | -pr:<priority> | Use -f to schedule the job. Use |
| | | -x | -x to use media auxiliary memory|
| | | -w | for inventory. Use -pr to |
| | | | specify the priority for the |
| | | | job. Priority options include: |
| | | | Highest, High, Medium, Low, |
| | | | Lowest. If -pr switch is absent,|
| | | | the priority will be set as |
| | | | Medium. Use -w for the job to |
| | | | complete. Returns 1 if |
| | | | successful or -1 on error. |
-----------------------------------------------------------------------------
| Delete Media Set| -o120 | -m<media name> | Deletes the specified media set.|
| | | | Returns 1 if successful or -1 |
| | | | on error. |
-----------------------------------------------------------------------------
| Delete Drive | -o121 | -dp:<drive pool>| Deletes the specified drive |
| Pool | | | pool. Returns 1 if successful |
| | | | or -1 on error. |
-----------------------------------------------------------------------------
| Create robotic | -o135 | -i<robot id> | Creates partitions on the |
| library | | or | specified robotic library. The |
| partitions | | -d<robot name> | slot numbers are comma |
| | | -s<slot numbers>| delimited. Returns 1 if |
| | | | successful or -1 on error. |
-----------------------------------------------------------------------------
| List | -o150 | | Displays the list of recipients |
| notification | | | and their IDs. Returns 1 if |
| recipients | | | successful or -1 on error. |
-----------------------------------------------------------------------------
| Place job on | -o200 | -j<job name> | Places the specified job on |
| hold | | | hold. Returns 1 if the command |
| | | | is successful or -1 on error. |
-----------------------------------------------------------------------------
| Take job off | -o201 | -j<job name> | Takes the specified job off |
| hold | | | hold. Returns 1 if the command |
| | | | is successful or -1 on error. |
-----------------------------------------------------------------------------
| Delete scheduled| -o202 | -i<job id> | Deletes a scheduled job. Use |
| job | | -ds: | -ds: to delete script. Returns 1|
| | | | if command is successful, 0 if |
| | | | script deletion fails and -1 on |
| | | | job deletion failure. |
-----------------------------------------------------------------------------
| Create logon | -o210 | -nl:<user name> | Creates a logon account for |
| account | | -pl:<password> | accessing specific systems being|
| | | -d<description> | backed up or restored. Use -nl: |
| | | -dl: | to specify the user name for |
| | | -pa: | this logon account. Use -pl: to |
| | | | specify the password. Use -d to |
| | | | provide a description for this |
| | | | logon account. If -dl: is |
| | | | specified, the account is used |
| | | | as default login account. Use |
| | | | -pa: to setup this logon account|
| | | | as a private account. Otherwise,|
| | | | the account is setup as a common|
| | | | logon account that can be used |
| | | | by anyone using the computer |
| | | | system. -nl: is required |
| | | | sub-switch. This operation |
| | | | returns a logon account ID and |
| | | | 1 if the command is successful, |
| | | | -1 if the command fails. |
-----------------------------------------------------------------------------
| Dump logon | -o211 | | Displays the logon accounts |
| accounts | | | information on the console. |
| | | | Returns 1 if the command is |
| | | | successful or -1 on error. |
-----------------------------------------------------------------------------
| Delete logon | -o212 | -i<logon | Deletes the specified logon |
| account | | account id> | account. Returns 1 on success |
| | | | or -1 on error. |
-----------------------------------------------------------------------------
| Modify logon | -o213 | -i<logon | Modifies an existing logon |
| account | | account id> | account. Use -pw: with the |
| | | -pw:<password> | existing password if permission |
| | | -pl:<new | needs to be validated. Use -pl: |
| | | password> | to change the password. Use -d |
| | | -d<description> | to change the description. Use |
| | | -pa:<type> | -pa:0 to set as a common logon |
| | | -dl: | account and -pl:1 to set as a |
| | | | restricted account. Use -dl: to |
| | | | set as the user's default |
| | | | account. Returns 1 on success |
| | | | or -1 on error. |
-----------------------------------------------------------------------------
| Create backup | -o220 | -s<selection | Creates a list of resource |
| selection list | | list name> | selections to be used when |
| | | -d<description> | creating a backup job |
| | | -f<script file> | |
| | | | |
-----------------------------------------------------------------------------
| Create backup | -o230 | -tn:<job | Creates a backup job template |
| job template | | template name>| and displays the job template |
| | | -f<script file> | ID. Job template values are read|
| | | | from the script file. Returns 1 |
| | | | if successful or -1 on error. |
-----------------------------------------------------------------------------
| Create backup | -o240 | -j<job name> | Creates a backup job using job |
| job from | | -tn:<job | template and selection list and |
| template | | template name>| displays the job ID. Use -h to |
| | | -s<selection | submit job on hold. Use -aa: to |
| | | list name> | specify the auto cancel time in |
| | | -pr:<priority> | minutes. Use -pr to specify the |
| | | -aa:<auto cancel| priority for the job. Priority |
| | | time> | options include: Highest, High, |
| | | -h | Medium, Low, Lowest. If -pr |
| | | | switch is absent, the priority |
| | | | will be set as Medium. Returns 1|
| | | | if successful or -1 on error. |
-----------------------------------------------------------------------------
| List all backup | -o250 | | Displays the list of backup job |
| job templates | | | templates and their IDs. Returns|
| | | | 1 if successful or -1 on error. |
-----------------------------------------------------------------------------
| List all backup | -o251 | | Displays the list of backup |
| selection lists | | | selection lists and their IDs. |
| | | | Returns 1 if successful or -1 on|
| | | | error. |
-----------------------------------------------------------------------------
| Set default | -o300 |-do:<option name>| Sets a default option's value. |
| option | |-dv:<option | Returns 1 if the command is |
| | | value> | successful or -1 on error. |
-----------------------------------------------------------------------------
| List error- | -o310 | | Displays the error handling |
| handling rules | | | rules. |
| | | | |
-----------------------------------------------------------------------------
| Enable and edit | -o311 | -i<rule id> | Required: ID of rule that is to |
| error-handling | | | be enabled. |
| rule | | -mr:<Max | Indicates retry job and the |
| | | retries> | number of times the job is to |
| | | | be retried. The range for |
| | | | maximum retries is 1 to 99. |
| | | -ri:<Retry | Indicates retry job and the |
| | | interval> | number of minutes to wait before|
| | | | the job is retried. The range |
| | | | for retry interval is 1 to 1440.|
| | | -pj: | Indicates the job is to be |
| | | | paused until the user has taken |
| | | | action to clear the error. If |
| | | | this switch is absent, the job |
| | | | will be cancelled until its next|
| | | or | scheduled run. |
| | | -cj: | Indicates job is to be cancelled|
| | | | if an error occurs. |
-----------------------------------------------------------------------------
| Disable error- | -o312 | -i<rule id> | Disables the specified rule. |
| handling rule | | | Returns 1 if the command is |
| | | | successful or -1 on error. |
-----------------------------------------------------------------------------
| Report To View | -o400 | -i | lists all available report IDs |
| | | | |
| (Display report | | -r<reportID> | selects report ID to view |
| in window) | | | |
| | | -j | lists available parameter names |
| | | | |
| | | -ps<paramstr> | specifies parameters and values |
| | | | to use in the form '@param1name |
| | | | =value, =value...,@param2name= |
| | | | value, =value...' |
-----------------------------------------------------------------------------
| Report To Print | -o401 | -i | lists all available report IDs |
| | | | |
| (Print report | | -r<reportID> | selects report ID to print |
| on default | | | |
| printer ) | | -j | lists available parameter names |
| | | | |
| | | -ps<paramstr> | specifies parameters and values |
| | | | to use in the form '@param1name |
| | | | =value, =value...,@param2name= |
| | | | value, =value...' |
-----------------------------------------------------------------------------
| Report To File | -o402 | -i | lists all available report IDs |
| | | | |
| (Copy report to | | -r<reportID> | selects report ID to view |
| selected file | | | |
| format ) | | -j | lists available parameter names |
| | | | |
| | | -ps:<paramstr> | specifies parameters and values |
| | | | to use in the form '@param1name |
| | | | =value, =value...,@param2name= |
| | | | value, =value...' |
| | | | |
| | | -f<filename> | fully qualified filename for |
| | | | storage location of output file |
| | | | Not valid for -ft:1 (HTML) |
| | | | file types. |
| | | | |
| | | -d<directory> | fully qualified directory name |
| | | | for storage location of output |
| | | | files (only valid for -ft:1 |
| | | | (HTML) file types) |
| | | | |
| | | -ft:<format> | use -ft:0 to use .rpt with saved|
| | | | data file type (default). |
| | | | use -ft:1 for HTML file type. |
| | | | use -ft:2 for XML file type. |
| | | | use -ft:3 for Excel file type. |
| | | | use -ft:4 for Word file type. |
| | | | use -ft:5 for PDF file type. |
-----------------------------------------------------------------------------
| Insert Report | -o403 | -i | lists all available report IDs |
| | | | |
| (Add report to | | -f<filename> | filename for report (must be |
| available file | | | manually loaded into install |
| list ) | | | \Nt\Reports directory) Do not |
| | | | specify path |
-----------------------------------------------------------------------------
| Is Backup Exec | -o500 | | Returns 1 if the Backup Exec |
| Server Available| | | computer is available, 0 if not,|
| | | | or -1 on error. -c is required |
| | | | for this operation. |
-----------------------------------------------------------------------------
| Are Backup Exec | -o501 | | Returns 1 if the Backup Exec |
| Services Running| | | services are running, 0 if not, |
| | | | or -1 on error. |
-----------------------------------------------------------------------------
| Start Backup | -o502 | | Starts all Backup Exec services.|
| Exec Services | | | Returns 1 if all services start,|
| | | | 0 if any fail, or -1 on error. |
-----------------------------------------------------------------------------
| Stop Backup | -o503 | | Stops all Backup Exec services. |
| Exec Services | | | Returns 1 if all services stop, |
| | | | 0 if any fail, or -1 on error. |
-----------------------------------------------------------------------------
| Dump Backup | -o504 | | Outputs all the Backup Exec |
| Exec Services | | | system service names and status.|
| Status | | | Returns 1 if successful or -1 |
| | | | on error. |
-----------------------------------------------------------------------------
| Dump Backup | -o505 | | Outputs the specified Backup |
| Exec Server | | | Exec server properties. Returns |
| Properties | | | 1 if successful or -1 on error. |
-----------------------------------------------------------------------------
| Dump Job Infor- | -o506 | -j<job name> | Displays job, selection, and |
| mation | | | schedule information stored on |
| | | | this server. If -j is specified,|
| | | | only information for that job |
| | | | will be displayed. |
-----------------------------------------------------------------------------

You might also like