selang Reference Guide › selang Commands › selang Commands Reference › start dbexport Command—Initiate Database Export
start dbexport Command—Initiate Database Export
Valid in the AC environment
The start dbexport command exports the CA ControlMinder 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 ControlMinder exports the specified class and the following dependent classes:
- If you export rules that modify resources in a particular class, and the class has a corresponding resource group, CA ControlMinder also exports the rules that modify resources in that resource group.
- If you export rules that modify resources in a particular resource group, CA ControlMinder also exports the rules that modify the member resource of the resource group.
- If you export rules that modify resources in a particular class and that class has a PACL The PACL property of a resource is an access control list. Each entry in the list specifies an accessor, the type of access to the resource that the accessor is allowed, and the name of the program that the accessor needs to use when accessing the resource. The program name can include wildcard characters. See also ACL, CALACL, NACL., CA ControlMinder also exports the rules that modify resources in the PROGRAM class.
- If you export rules that modify resources in a particular class and that class has a CALACL The CALACL property of a resource is an access control list that defines the accessors that are granted authorization to a resource, together with the type of access granted (for example, write) according to the accessors' status in the Unicenter TNG calendar. See also ACL, NACL, PACL., CA ControlMinder also exports the rules that modify resources in the CALENDAR class.
- If you export rules that modify resources in a particular class, and one of the resources in that class is a member of a CONTAINER resource group, CA ControlMinder exports the rules that modify resources in the CONTAINER class and the rules that modify the resources that are members of each CONTAINER resource group.
- param("edit=yes")
-
(Optional) Specifies that CA ControlMinder 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 ControlMinder 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 ControlMinder 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
Copyright © 2013 CA Technologies.
All rights reserved.
|
|