raspiBackup
raspiBackup copied to clipboard
Write backup tool messages also on screen and in message file/email
As of now backup tools messages are written to the debug log only. That's very inconvenient.
Write these messages also on the console and the message file and a user will see immediately the root cause of the backup tool error.
Created branch https://github.com/framps/raspiBackup/tree/master_redirects for this issue
Keep this issue for now in a separate branch and don't merge it into development branch because these changes require a thorough manual backup/restore test. Regressiontest will handle basic tests but not option -g
, Maybe option -g
should be added to the regressiontests? But this will double the regressiontest execution time :disappointed:
Just manually tested
- dd backup and restore
- dd with option -g backup and restore
- ddz backup and restore
- ddz with option -g backup and restore
Everything works fine.
For some unknown reasons the regressiontest fails for dd if option -g is used :cry: Have to fix this now
Manual tests are OK. Looks like there is some issue in the regression code ...