Previous Topic: source Command—Execute Commands from a File

Next Topic: start devcalc Command—Initiate Policy Deviation Calculation

start dbexport Command—Initiate Database Export

Valid in the AC environment

The start dbexport command exports the CA Access Control database of the host you are connected to, and copies the output to a buffer. If you are connected to a PMDB, you can also use this command to export the PMD database.

Note: Use the get dbexport command to view the output.

This command has the following format:

start dbexport [pmdname(name)] [filter("CLASS, CLASS...")] [param("depend=yes")] [param("edit=yes")]
filter("CLASS, CLASS...")

(Optional) Defines the classes to export from the database. If you do not specify a class, all rules in the database are exported.

param("depend=yes")

(Optional) Specifies to export dependent classes along with the class that you specify in the filter parameter. When you specify this parameter, CA Access Control exports the specified class and the following dependent classes:

param("edit=yes")

(Optional) Specifies that CA Access Control changes each rule that creates a new resource or accessor to a rule that modifies the resource or accessor.

Example: If you specify this parameter CA Access Control changes all newres rules to editres rules.

pmdname(name)

(Optional) Defines the name of the PMD database to export.

Example: Initiate Database Export

The following example initiates the export of rules that modify FILE and GFILE class resources. The rules are exported from seosdb, the CA Access Control database on the host you are connected to.

start dbexport filter("FILE, GFILE")

Example: Initiate Database Export with Dependent Classes

The following example initiates the export of rules that modify FILE class resources and any classes that are dependent on FILE class resources, and changes each rule that creates a new resource or accessor to a rule that modifies the resource or accessor:

start dbexport filter("FILE") param("depend=yes edit=yes")

More information:

get dbexport Command—Retrieve Exported Database Rules