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.09k stars 204 forks source link

Check if Include folders/files do exists (in case they are removed) #1586

Open buhtz opened 11 months ago

buhtz commented 11 months ago

I accidentally missed a part of a backup for over one year. It is my fault. But I think it would have helped me if BIT would warn about such situations.

The folders A and B where in the Include list of my snapshot profile. And snapshots are done as scheduled. I renamed the folder B to C. But I forgot to modify the snapshot profile adapting this situation. Because of that C was not part of the snapshot.

I am not sure how to fix it. Maybe a) when opening a profile (in GUI and CLI) or b) when start taking a snapshot the include list should be checked of existence first and warn about missings.

aryoda commented 11 months ago

how to fix it. Maybe a) when opening a profile (in GUI and CLI) or b) when start taking a snapshot the include list should be checked of existence first and warn about missings.

I think both should be done but the thing is the warning is not "pushed" to the user in case of scheduled backups.

Perhaps a permanent systray icon (#1370) with a dedicated icon for existing warnings and errors could be solution for desktop users. Server-only users need log shipping or emails anyhow but should know how to do that.

buhtz commented 11 months ago

Yeah, the question about how to know about errors in scheduled backups is always in my head. There is an old Issue (#1018) from myself about that and could be a part of the solution.

buhtz commented 6 months ago

We have a first solution in #1718 by Rafel. Have not tested or checked it in details.

Other suggestion about a solution? Rafael needs a direction from us.

EDIT: I am undecided about it. Not sure how "urgent" such a situation is for most of our users.