bit-team / backintime

Back In Time - An easy-to-use backup tool for GNU/Linux using rsync in the back
https://backintime.readthedocs.io
GNU General Public License v2.0
2.12k stars 208 forks source link

Missing debug-info on paths when backup path structure does not exist #1941

Open igor-karpekin opened 3 days ago

igor-karpekin commented 3 days ago

Hello, I had to configure everything from terminal - no UI. It took me a few hours to construct the necessary path for backups because of very confusing docs and lack of my understanding of the app. Can you please add the erroneous backup target path into debug output? Currently that is how it looks:

notify-send -t 30000 Back In Time (admin) : daily Can't find snapshots folder. If it is on a removable drive please plug it. Waiting 30 seconds. Failed to execute child process “dbus-launch” (No such file or directory) DEBUG: [common/snapshots.py:747 backup] Cannot start snapshot yet: target directory not accessible. Waiting 1s.

Please add the full path in the error message that caused the error, that is a simple change, but can help a lot, e.g:

notify-send -t 30000 Back In Time (admin) : daily Can't find snapshots folder '/backup/backintime/myserver/root/1'. If it is on a removable drive please plug it. Waiting 30 seconds.

Thanks, Igor.

buhtz commented 3 days ago

Hello Igor,

Thank you for taking the time to report the issue and providing the details. I appreciate your feedback, will investigate the issue. Your suggestion is IMHO a good solution.

Which version of BIT are you using?

About the docu and config file? Yes, that is far a away from optimal. We have several issues and todo-task open and pending about that topic. One is that I do plan to convert the current config file format into a TOML file which is IMHO easier to read for human beings.

If you have any more details or ideas to share, feel free to reach out.

Not sure when we'll find the time to work on it. Please see the projects background information to get an idea about our workflow and priorities:

Best regards, Christian