burp_backup_report_generator_script

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
burp_backup_report_generator_script [23.09.2021 08:52] Pascal Suterburp_backup_report_generator_script [16.01.2022 23:06] (current) Pascal Suter
Line 1: Line 1:
 ====== Burp backup report generator script ====== ====== Burp backup report generator script ======
 This is a bash script that can be installed and run on a burp server in order to send out a daily (or so) backup report informing the backup admin if all backups have been updated in time or if some of them aren't updated anymore. read the description in the begining of the script for more details on the installation and configuration:  This is a bash script that can be installed and run on a burp server in order to send out a daily (or so) backup report informing the backup admin if all backups have been updated in time or if some of them aren't updated anymore. read the description in the begining of the script for more details on the installation and configuration: 
 +
 +this script requires **GNU AWK** which under Ubuntu can be installed as package ''gawk''. If you are using other implementations of awk such as mawk there may be problems with the regular expressions used in this script, as mawk does not understand the ''\s'' special character which stands for "zero to many spaces of any type". If you can't install GNU Awk, you may want to replace the ''\s'' in the awk regex with ''[ \t]'' and use double quotes instead of single quotes around the argument, so for example ''awk -F= "/^[\t ]*clientconfdir[ \t]*=/{print \$2}" "$serverConf"'' which should do the trick. 
 +
 +**WARNING** This report generator currently completely ignores any warnings during the backups. So your backups could be incomplete with warnings (such as file vanished, or could not access file xy, in which case the file is not part of the backup) and this script won't notice that, as burp still considers those backups successful. I will have to spend some time in the future to include using ''burp -a S'' output or similar to find warnings in backups and add them to the reports. 
  
 <code bash burp-report.sh> <code bash burp-report.sh>
  • burp_backup_report_generator_script.txt
  • Last modified: 16.01.2022 23:06
  • by Pascal Suter