5.6

Table Of Contents
user-name
is the name of the user account to own the imported dashboard on the target system and
input-
file
is the name of a previously exported dashboard file. If the user name or dashboard file does not exist, the
command fails.
Command Options
The dashboard import command has certain options.
Table 11-6. dashboard import Command Options
Option Description
--force
Use this option to import the dashboard even if a dashboard with the
same name already exists on the target system.
NOTE This option can cause the command to create a duplicate
dashboard on the target system.
--share all | group-name [,group-name] List of user groups that can share the dashboard on the target system.
Separate multiple names with a comma. To share the dashboard with all
user groups, type all instead of individual user group names.
--retry maxRetryMinutes Maximum amount of time, in minutes, that the command retries the
import operation. The command retries the import operation at one-
minute intervals until it reaches this time limit.
NOTE This option is useful if data is missing from the dashboard when
you initiate the command.
--default
Makes the imported dashboard the default dashboard for the specified
user account or user groups. The default dashboard is the first dashboard
users see when they log in.
Example
The following dashboard import command imports the dashboards/MyDashboard.bin dashboard file. The
MyUser2 user account owns the dashboard and members of the Users user group can share the dashboard. If
the required information is not available when you initiate the command, the command retries the import
operation at one-minute intervals for up to 10 minutes.
dbcli.sh dashboard import MyUser2 "dashboards/MyDashboard.bin" --retry 10 --share Users
dashboard export Command
You can use the dashboard export command to export a dashboard from a vCenter Operations Manager
instance. When you export a dashboard, vCenter Operations Manager creates a dashboard file in Java binary
object (.bin) format.
Command Syntax
The dashboard export command has the following syntax.
dashboard export
user-name
"
dashboard-name
" [
output-dir
]
user-name
is the name of the user account that owns the dashboard and
dashboard-name
is the name of the
dashboard to export. If the user account or dashboard does not exist, the command fails.
output-dir
is the
directory where the command exports the dashboard file. If you do not provide an output directory name, the
command exports the dashboard file to the current directory.
Example
The following dashboard export command exports a dashboard named MyDashboard that belongs to the
MyUser user account to the MyDashboard.bin file in the tools\dbcli\dashboards directory.
dbcli.sh dashboard export MyUser "MyDashboard" dashboards
Chapter 11 Using System Tools
VMware, Inc. 147