Previous Topic: find Command—List Database RecordsNext Topic: get devcalc Command—Retrieve Policy Deviation Data


get dbexport Command—Retrieve Exported Database Rules

Valid in the AC environment

The get dbexport command retrieves the rules that were exported from the CA ControlMinder database or PMD database on the host you are connected to. For the exported database to exist, you must issue the start dbexport command before you issue the get dbexport command.

This command has the following format:

get dbexport [pmdname(name)] [params(OFFSET=number)]
pmdname(name)

(Optional) Defines the name of the PMD database that you exported.

params(OFFSET=number)

(Optional) Defines the offset for retrieving more lines from the database output. The get dbexport command can only return 200 lines from the exported database per request. If there is more information in the output, the command returns offset data that specifies the last line returned.

Example: Retrieve rules from an exported database

The following example shows how the get dbexport command is used to retrieve information from the exported CA ControlMinder database on the host you are connected to. The first command retrieves the first 200 lines and the second command retrieves the following 200 lines of the output:

AC > get dbexport 
(localhost)
Data for DBEXPORT 'seosdb'
----------------------------------------------
setoptions class+(CLASS)
setoptions class+(CLASS)
setoptions class+(CLASS)
...
chres CLASS ("resource") defaccess(none)
OFFSET: 	201

AC> get dbexport params("offset=201")
(localhost)
Data for DBEXPORT 'seosdb'
----------------------------------------------
chres CLASS ("resource") defaccess(none)
chres CLASS ("resource") defaccess(none)
chres CLASS ("resource") defaccess(none)
...
chres CLASS ("resource") defaccess(none)
OFFSET: 	401

More information:

start dbexport Command—Initiate Database Export