Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mYnDstrEAm opened this issue Jul 26, 2020 · 9 comments
Open
Labels
Feature requests a new feature Low relevant, but not urgent

Comments

@mYnDstrEAm
Copy link

mYnDstrEAm commented Jul 26, 2020

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

This comment was marked as outdated.

@emtiu emtiu added Feature requests a new feature Low relevant, but not urgent labels Oct 7, 2022
@emtiu

This comment was marked as duplicate.

@buhtz

This comment was marked as outdated.

@buhtz buhtz added Feedback needs user response, may be closed after timeout without a response Close after cooling-off period labels Jun 5, 2024
@buhtz

This comment was marked as outdated.

@buhtz buhtz closed this as completed Jun 17, 2024
@emtiu
Copy link
Member

emtiu commented Jun 22, 2024

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?

@emtiu emtiu reopened this Jun 22, 2024
@emtiu emtiu changed the title Comparing backups to view which files have been changed, moved, removed or added Compare any two snapshots for changed/removed/added files between them Jun 22, 2024
@emtiu emtiu removed Feedback needs user response, may be closed after timeout without a response Close after cooling-off period labels Jun 22, 2024
@buhtz
Copy link
Member

buhtz commented Jun 22, 2024

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
Copy link
Member

emtiu commented Jun 22, 2024

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
Copy link
Member

buhtz commented Jun 23, 2024

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
Copy link
Member

emtiu commented Jun 23, 2024

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 ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature requests a new feature Low relevant, but not urgent
Projects
None yet
Development

No branches or pull requests

3 participants