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

Compare any two snapshots for changed/removed/added files between them #1101

Open mYnDstrEAm opened 4 years ago

mYnDstrEAm commented 4 years ago

Is it possible to view which files have been changed, moved, removed or added between two selected backups? If so: how?

If it's not possible yet consider this is a feature request. It would be very useful to be able to compare changes between backups. Maybe git could be used for this. And maybe it could be combined with etckeeper. (There's also other related FOSS which could be used like diff viewers.) Detecting which files or folders have been moved would probably require keeping track of file hashes and so on.

This could also be combined with or be built into a form of IDS like tripwire. And it could be used to reduce the time needed for backups.

buhtz commented 2 years ago

@mYnDstrEAm There is a new forming maintaining team and we do review all issues. Is this problem still relevant for you or did you find a solution?

Take a look at the Snapshots-Dialog. https://backintime.readthedocs.io/en/latest/snapshotsdialog.html

Tag: Feedback, Support

emtiu commented 2 years ago

For the record: I understand this to be a feature request to allow comparing two arbitrary snapshots.

This is already possible manually (by diff-ing two snapshot folders), but we might offer a feature for it.

buhtz commented 7 months ago

Hello Folks, focus on the issue described in the title I would say that the feature exists with the compare snapshots dialog.

Michael, you mentioned that there is something else?

@mYnDstrEAm can you also give us some feedback please. Have you checked out the mentioned dialog?

Best, Christian

buhtz commented 5 months ago

Closing this ticket based on the comment above. Feel free to reopen if the problem still exists. Thank you for your efforts. If you have any further questions, ideas or encounter any other issues, please don't hesitate to let us know.

Best regards, Christian

emtiu commented 5 months ago

I'm editing the title and adding this comment to make the feature request more clear. I still think it would be a nice feature.

OP wants to select any two snapshots and compare: What files are different between them? Currently, this is only possible manually if you diff the two snapshot folders in the filesystem.

The logfiles saved with the snapshots only document the difference from one snapshot to the one taken before (which may possibly be deleted).

It would be nice to have a way in the GUI to select two snapshots and ask: What files are different between them?

buhtz commented 5 months ago

It would be nice to have a way in the GUI to select two snapshots and ask: What files are different between them?

We have a compare snapshots dialog for this. It is kind of hidden but the feature exists.

https://backintime.readthedocs.io/en/latest/snapshotsdialog.html

emtiu commented 5 months ago

We have a compare snapshots dialog for this. It is kind of hidden but the feature exists.

https://backintime.readthedocs.io/en/latest/snapshotsdialog.html

Hmm. I thought this only applies to single files, not entire snapshots. I may have understood it wrong. It' well hidden, indeed ;)

buhtz commented 5 months ago

I thought this only applies to single files, not entire snapshots.

Here is an example using meld as differ: image

It' well hidden, indeed ;)

Yes, it is. On a long run my idea is to remove that snapshot dialog and integrate all its features into the main window. As you described, select two snapshots in the timeline and push a compare button or something like this.

emtiu commented 5 months ago

On a long run my idea is to remove that snapshot dialog and integrate all its features into the main window. As you described, select two snapshots in the timeline and push a compare button or something like this.

Then let's keep this Issue open to reflect that feature idea ;)