downloadResources CLI command

Use the downloadResources command to export information about a library to a .csv file. You can specify all resources or a single resource, such as drives or users.

If you specify all resources, the output file is assigned a name in the format <library-name>_LibrarySummary_<date-time>.csv. This is the same as the System Summary file that is created by the Export System Summary option on the System GUI page.

If you specify a single resource, the output file is named <library-name>_<library-serial-number>_<resource>_<date-time>.csv.

The output file is saved in the directory where the jar file is stored.

Syntax

downloadResources {all|<resource>} -ssl

Parameters

{all|<resource>}

(Required.) Enter all to download the System Summary file, which contains information on all system resources. For information on a specific resource, enter one of the following resource names. The names are capitalized here for clarity, but the CLI is not case-sensitive.

  • Accessors
  • Cartridges
  • Drives
  • EmailRecipients
  • EncryptionInternalLabels
  • EncryptionKeyServers
  • FibreChannelPorts
  • Frames
  • FunctionalSwitches
  • Grippers
  • IOStations
  • iSCSIPorts
  • Library
  • LicensedFeatures
  • LogicalLibraries
  • ManagementEthernetPorts
  • MountHistory
  • PasswordPolicy
  • Roles
  • Slots
  • SNMPDestinations
  • SyslogServers
  • SystemConsole
  • Users
  • VOLSERRanges
-ssl
Required if SSL (HTTPS) is enabled.

Example command

downloadResources drives

Example output

Downloading...45410004/45410004 bytes
The file: MTC001_13FA001_Drives_20170413T001012.csv has been downloaded.