5.8.5

Table Of Contents
Table 131. dashboard import Command Options (Continued)
Option Description
--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.
The following dashboard import command imports the dashboards/MyDashboard.xml 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.xml" --retry 10 --share Users
Share a Dashboard
You can use the dbcli dashboard share command to share a dashboard with one or more user groups.
The dashboard share command has the following syntax.
dashboard share user-name "dashboard-name" {all | group-name[,group-name]...}
user-name
Name of the user account that owns the dashboard.
dashboard-name
Name of the dashboard to share.
You can type the name of each user group that can share the dashboard or type all to share the dashboard
with all user groups. Use a comma to separate multiple user group names.
The following dashboard share command shares a dashboard named MyDashboard that belongs to the
MyUser user account with members of the Users and Operators user groups.
dbcli.sh dashboard share MyUser "MyDashboard" Users,Operators
Unshare a Dashboard
You can use the dbcli dashboard unshare command to stop sharing a dashboard that you previously
shared.
The dashboard unshare command has the following syntax.
dashboard unshare user-name "dashboard-name" {all | group-name[,group-name]...}
user-name
Name of the user account that owns the dashboard.
dashboard-name
Name of the dashboard to stop sharing.
You can type the name of each user group with which to stop sharing the dashboard or type all to stop
sharing the dashboard with all user groups. Use a comma to separate multiple user group names.
The following dashboard unshare command stops sharing for the dashboard named MyDashboard. The
dashboard is owned by the MyUser user account. The command stops sharing the dashboard with all user
groups.
dbcli.sh dashboard unshare MyUser "MyDashboard" all
Chapter 13 Using the Database Command Line Interface
VMware, Inc. 159