Skip to contentSkip to conversation

compare COW files

DISCUSSION calin 3 participants 3 messages Oct 21, 2008 Btrfs file system

lore
Share & tools
lore

calin

author
#0 lore raw

If I make a cow copy of a file, is there a way find out whether either copy has changed? Specifically, I'm looking for a way to figure out which files have changed since a snapshot was taken, short of traditional and time-consuming file comparisons. It could have some interesting possibilities for monitoring and backup, to be able to quickly compare against a reference snapshot to find changes.

#1 lore raw
Quoted 9 lines · On Monday 20 October 2008 20:25:52 calin wrote:

If I make a cow copy of a file, is there a way find out whether either copy has changed? Specifically, I'm looking for a way to figure out which files have changed since a snapshot was taken, short of traditional and time-consuming file comparisons. It could have some interesting possibilities for monitoring and backup, to be able to quickly compare against a reference snapshot to find changes. --
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

I'm also very interested in this, for incremental backups. I use rdiff-backup currently, and being able to do this would likely give an impressive speed boost.

-- Josh

Signature · 4 lines
Joshua J. Berry

"I haven't lost my mind -- it's backed up on tape somewhere."
    -- /usr/games/fortune
#2 lore raw
In reply to calin

2008/10/21 calin <[email protected]>:

Quoted 1 line

If I make a cow copy of a file, is there a way find out whether either copy has changed? Specifically, I'm looking for a way to figure out which files have changed since a snapshot was taken, short of traditional and time-consuming file comparisons. It could have some interesting possibilities for monitoring and backup, to be able to quickly compare against a reference snapshot to find changes.

Btrfs disk format already supports this. We will implement this in the near future.

Regards
Yan Zheng