AmesCornish / buttersink

Buttersink is like rsync for btrfs snapshots
GNU General Public License v3.0
193 stars 18 forks source link

Buttersink measures unrelated snapshots when syncing. #71

Open ChojinDSL opened 4 years ago

ChojinDSL commented 4 years ago

So I have multiple btrfs subvolumes, e.g. /home or /var/lib/docker

I store the snapshots from those subvolumes under /mnt/SNAPSHOTS/

In that directory I have snapshots from /, from /home and other unrelated locations.

If I run buttersink on that directory, it will measure and compare snapshots from different subvolumes, even if they have no parent <-> child relationship, e..g. comparing /home with /var/lib/docker snapshots.

Is this by design? Is it assumed that all snapshots in a directory are related to each other?

AmesCornish commented 4 years ago

Chojin,

Yes, that's by design. The parent/child relationship doesn't always exist for snapshots where you'd expect it.

On Wed, Jun 3, 2020 at 12:41 PM ChojinDSL notifications@github.com wrote:

So I have multiple btrfs subvolumes, e.g. /home or /var/lib/docker

I store the snapshots from those subvolumes under /mnt/SNAPSHOTS/

In that directory I have snapshots from /, from /home and other unrelated locations.

If I run buttersink on that directory, it will measure and compare snapshots from different subvolumes, even if they have no parent <-> child relationship, e..g. comparing /home with /var/lib/docker snapshots.

Is this by design? Is it assumed that all snapshots in a directory are related to each other?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AmesCornish/buttersink/issues/71, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4A4YJ72ZBNV6WR7ZF335TRU2ROLANCNFSM4NR6463A .