EXPORT ADMIN (Export administrator information directly to another server)
Use this command to export administrator and authority definitions directly to another server on the network. This results in an immediate import on the target server.
You can issue a QUERY PROCESS command from the target server to monitor the progress of the import operation. See EXPORT ADMIN (Export administrator information) for a list of restrictions that apply to the export function.
Privilege class
To issue this command, you must have system privilege.
Syntax
Parameters
- admin_name
- Specifies the administrators for which information is to be exported. This parameter is
optional. The default is all administrators.
Separate the items in the list by commas, with no intervening spaces. You can use wildcard characters to specify names.
- TOServer
- Specifies the name of a server to which the export data is sent directly over the network for
immediate import.Important: The target server must be defined on the originating server with the DEFINE SERVER command. The administrator that issues the export command must be defined with the same administrator name and password and have system authority on the target server.
When you specify TOSERVER, you cannot specify the DEVCLASS, VOLUMENAMES, and SCRATCH, USEDVOLUMELIST, and PREVIEW parameters.
- PREVIEWImport
- Specifies whether to view how much data is transferred, without actually moving any data. This
information can be used to determine how much storage pool space is required on the target server.
The default is NO. Valid values are:
- Yes
- Specifies that you want to preview the results of the import operation on the target server, without importing the data. Information is reported to the server console and the activity log.
- No
- Specifies that you want the data to be imported on the target server without previewing the results.
- Replacedefs
- Specifies whether to replace definitions (not file data) on the server. The default is NO.
Valid values are:
- Yes
- Specifies that definitions are replaced on the server if definitions having the same name as those being imported exist on the target server.
- No
- Specifies that imported definitions are skipped if their names conflict with definitions that are already defined on the target server.
- ENCryptionstrength
- Indicates which algorithm to use to encrypt passwords when exporting administrative and node
records. This parameter is optional. The default value is AES. If you are exporting to a server that
does not support AES, specify DES. You can specify one of the following values:
- AES
- Specifies the Advanced Encryption Standard.
- DES
- Specifies the Data Encryption Standard.
Example: Export administrator definitions to a target server
Export all the administrator definitions to the target server defined as OTHERSERVER. Preview the import operations on the target server. Issue the command:export admin * toserver=otherserver previewimport=yesFrom the target
server, OTHERSERVER, you can view the import operations by issuing the command:
query process