Skip to Content
Browse documentation

dbinit — Command Reference

Initialize Eenos service databases and configure audit retention scheduling.

Initialize Eenos service databases and configure audit retention scheduling.

Requirements

Run as root on the Eenos server. An installed Eenos environment and a backup of existing service databases before maintenance.

Usage

This script has no command-line option parser. It runs its action immediately; appending --help does not turn it into a help-only invocation.

The following example uses the operation described below; replace example identities and paths before use:

/usr/local/eenos/scripts/dbinit

Arguments and options

No supported command-line arguments or switches.

Operational effects

Runs immediately, creating service data directories/schema as needed for backup, bandwidth, BFD and disk accounting, then initializes audit storage and installs its daily purge cron. It is not a generic database reset.

Verify the result

Read each database initialization result and the audit cron setup result; one successful message does not establish that all databases initialized.

Check operation output and the relevant service/application state. Several legacy wrappers exit successfully after logging a handler failure, so a zero shell exit status alone is not proof of completion.

Back to Administration & Internal Tools · All command-line tools