rmdbase

Removes a Reality database from the system.

Syntax

rmdbase database

Parameters

database The host path-name (absolute or relative) of the database to be removed.

Restrictions

Use of rmdbase is restricted to the database owner and, on UNIX, super-user.

If you are using Database Isolation, you must use realroot to select required instance of Reality before running rmdbase.

Comments

rmdbase removes the top directory, together with all files under it, from the system.

Caution

Once rmdbase is executed, the database is permanently removed from the system. It cannot be recovered, other than from back-up tapes.

Because the rmdbase operation is so final, a cautionary message prompt is displayed first.

Examples

To remove the database dbase1 from the directory /usr/accounts, change directory to /usr/accounts, then enter:

rmdbase dbase1

The system responds with

CAUTION:  This will remove database dbase1
Are you sure you wish to remove it?

Enter n  at this stage if you wish to abort the operation. If you still wish to remove the database, enter y.

Go to top button