Get the diff from a file in two snapshots.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm working on a service/program for Linux which takes care of
managing backupping of folders and the snapshots of those.

The user can assign forlders he/she want to be backupped (corect
English?), and create a profile for this folder. This profile is about
the files which will be taken into process, and which not.

As tool to backup and manage the snapshots I use btrfs.
Now in my construction I get a lot of situations like:

/path/to/snapshots/201501261603/path/to/some/file

is another version of the same file at:

/path/to/snapshots/201501252252/path/to/some/file

is there a way to get the difference between these two files by making
use of btrfs?

I know there are "high level" tools like diff, and tools that fit with
the mimetype of the file
(for ODT files you need another tool than say plaintext files)

I know there is a tool like btrfs send / receive, but that count for
whole snapshots.

If there is such a tool, the next step would be whether it's possible
to provide the user comprehensive information what has changed in the
file, when the mimetype is something else than plaintext, but that's
another question.

Stef Bon
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux