Table of Contents
Everything to know about CBSNet
CBSNet is the database computer for the Brewer log form, Brewer Data, Straylight processing and etc.
crontab
The list below shows the different sections used in the crontab a crontab jobs are setup so that they runs a command at is specific time. The format for the crontab job are as follows.
m h dom mon dow command m - minutes h- hours dom - day of month mon - month dow - day of week
a * can be used as a wild card.
Below is a list of crontab jobs setup on cbsnet
Brewer Log Form
The Brewer log form's back end deals with hosting the admin section adding/removing/editing operators, Brewers and stations.
These can be access via the following links,
Manage Operators
Manage Stations
Manage Instruments
The log form backend is running off cbsnet via pm2.
Error in log forms
Archived and error logs can be found in /var/cache/brewer+Log/logs.
Error logs are identified by the prefix of the file name ERROR_*.
Some common log issues
- Too many ,. This is usually found when right before the comment line or comments including commas
- The use of a ;. semicolon are not supported
- Comments too long. The max length for the comment is 500 characters.
Metabase
Metabase is an open source program that is able to read from a database and plot/display it in a friendly interface. The CBSN version can be found here.
Backups
- Drive Backups are managed by timeshift.
- Monthly Backup
- Backup are made on the 1st of each month at 00:00:00 UTC
- up to 3 copies are saved at one time
- Weekly Backup
- Backup are made on each Sunday at 21:00:00 UTC
- up to 2 copies are saved at one time
- Database backups are managed by the db_backup.sh
- Database base backup are done every Tuesday and at 04:00:00 UTC
- Up to 9 copies are saved at one time
- Database that are being backed up are
- brewerdata
- brewer_db
- brewer_security
- brewerpart
- metabase
Database
There are currently 5 database (as of Dec 17, 2025) running on cbsnet via mariadb (Version 10.5.29-MariaDB-0+deb11u1 Debian 11)
- brewerdata - this database is primary used to host the IDEAS database and includes all the brewer data. The best way to view this data is via metabase.
- brewer_db - this database is used to for hosting the brewer log form data.
- brewer_security - this database is used to host the user information needed for the brewer log form
- brewerpart - This database is used to host the brewer parts database. This is what brewparts.exe uses
- metabase - This database is used to host the config and different views used for metabase.
