Update 'MagicBox : Magicbane in a Box'

master
Bardiel 3 years ago
parent
commit
88582c6662
  1. 5
      MagicBox-%3A-Magicbane-in-a-Box.md

5
MagicBox-%3A-Magicbane-in-a-Box.md

@ -112,6 +112,11 @@ Inside the Magicbox you will find the following devops utlities. @@ -112,6 +112,11 @@ Inside the Magicbox you will find the following devops utlities.
The two bread and butter scripts in a MagicBox administrator's toolkit are mbbuild.sh and mbrestart.sh.
Automated backups can be managed by using mbdump.sh in a cron job.
An example cron job would read (see below). Take note that the CronLogs/EODJobs.log may need to be manually created first, or you can save your logs at a different location of your choosing (or remove the logging altogether). This runs the mbdump.sh nightly at 2:00am server time. You're free to adjust this to your liking. [CronTabGuru](https://crontab.guru/#0_2_*_*_*)
```console
00 02 * * * export CLASSPATH="/usr/share/java/*" && /home/mbbox/magicbane/mbdump.sh "Commencing Daily Rebootings" >> /home/mbbox/magicbane/CronLogs/EODJobs.log 2>&1
```
The vigilant MagicBox administrator will always pay close attention to console_login and console_world. Anything in either log tagged as **ERROR** should be addressed. This applies doubly to bootstrap.

Loading…
Cancel
Save