BitMeter OS - bmdb manual
Used to perform administrative operations on the BitMeterOS database.
Usage:
bmdb [<action>]
Performs various admin and configuration operations on the BitMeterOS database. Running the utility without an 'action' argument will list the available actions. The following actions are defined:
showconfig
Displays all the configuration settings currently stored in the database
setconfig <name> <value>
Updates the named configuration parameter with the specified value. If no parameter currently exists with a matching
name then a new one is added.
vac
Performs a vacuum operation on the database, freeing any unused space still occupied by the file
version
Displays various pieces of versioning information
upgrade <level>
Performs a database upgrade to the specified level. This operation is performed automatically by the BitMeterOS installer
during software upgrades, and should not have to be executed manually.
webremote
Enables remote access to the BitMeterOS web interface.
weblocal
Disables remote access to the BitMeterOS web interface.
webstop
Stops the BitMeterOS web server process, removing all access to the web interface.
webstart
Start the BitMeterOS web server process, restoring access to the web interface.
capstop
Stop the BitMeterOS data capture process, so that no bandwidth data will be logged to the database.
capstart
Starts the BitMeterOS data capture process, so that bandwidth data will be logged to the database.
purge
Deletes all BitMeterOS bandwidth data from the database.
Email: rob@codebox.org.uk
Web: http://codebox.org.uk/bitmeterOs