humor4fun/bash-scripts/blob/master/defectdojo/update_dojo.sh
TODO:
- Build an S3 bucket to receive mysql data dump backups
- Write a new script
backup_dojo to perform the data dump and upload to S3
- Add lines to the
update_dojo.sh script to perform a backup before update
Additional features:
- Backup the Defect Dojo configuration
settings.py
- Backup the nginx configuration
/etc/nginx/sites-available/* /etc/nginx/sites-enabled/* /etc/nginx/ssl/*
- Build a routine to restore
mysql, dojo settings, nginx from backups
humor4fun/bash-scripts/blob/master/defectdojo/update_dojo.shTODO:
backup_dojoto perform the data dump and upload to S3update_dojo.shscript to perform a backup before updateAdditional features:
settings.py/etc/nginx/sites-available/*/etc/nginx/sites-enabled/*/etc/nginx/ssl/*mysql, dojo settings, nginxfrom backups