db_reset
This job resets the database. After performing this operation, the database will be empty and all data (including metadata) is deleted. The database must be offline to perform a reset.
Mandatory parameters
| Parameter name | Data type | Description | 
|---|---|---|
| db_name | string | Name of an existing database to be reset. | 
Optional parameters
There are no optional parameters.
Substitute parameters
There are no substitute parameters.
Allowed users
The following users are allowed to run this job:
- root
Allowed groups
The following groups are allowed to run this job:
- root
- exaadm
- exadbadm
Examples
The following examples show how to run this job in a Python program using XML-RPC or on the command line using confd_client.
 Python using XML-RPC
Python using XML-RPC
                                                                    conn.job_exec('db_reset', {'params': {'db_name': 'DB1'}}) Command line using confd_client
Command line using confd_client
                                                                    confd_client db_reset db_name: DB1