This is an old revision of the document!
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
