raspiBackup icon indicating copy to clipboard operation
raspiBackup copied to clipboard

Write backup tool messages also on screen and in message file/email

Open framps opened this issue 1 year ago • 4 comments

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.

framps avatar Aug 04 '22 11:08 framps

Created branch https://github.com/framps/raspiBackup/tree/master_redirects for this issue

framps avatar Aug 04 '22 11:08 framps

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:

framps avatar Aug 05 '22 17:08 framps

Just manually tested

  1. dd backup and restore
  2. dd with option -g backup and restore
  3. ddz backup and restore
  4. 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

framps avatar Aug 16 '22 22:08 framps

Manual tests are OK. Looks like there is some issue in the regression code ...

framps avatar Aug 24 '22 21:08 framps