btrfs subvolume diff
Hi,
for incremental backups it would be useful to know the files that changed between two snapshots. I found a paper about such a tool[1] that adds the "btrfs subvolue diff" command, but it's not yet implemented in btrfs-tools in Debian Jessie.
Is it in Git? Or somewhere else?
[1] https://www.kernel.org/doc/ols/2014/ols2014-pimpale.pdf
Regards, Thomas Koch
Thomas Koch posted on Wed, 22 Apr 2015 18:08:30 +0200 as excerpted:
Quoted 8 lines
for incremental backups it would be useful to know the files that changed between two snapshots. I found a paper about such a tool[1] that adds the "btrfs subvolue diff" command, but it's not yet implemented in btrfs-tools in Debian Jessie.
Is it in Git? Or somewhere else?
[Note that I'm just a btrfs user and list regular, not a dev, and that my own use-case doesn't involve subvolumes, tho I played with them a bit when I first got into btrfs, so my practical subvolume management knowledge is limited. But based on current git's manpages...]
The closest thing in git-master, based on my build from a few days ago, is btrfs subvolume find-new. That lists the recently modified files since <generation>, where generation is fed to the command, with a subvolume's current generation obtainable btrfs subvolume list using its -g option. (btrfs subvolume show might also list current gen, the manpage is vague on what information it shows, and without local subvolumes to test it with...)
Signature · 3 lines
Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman
Quoted 7 lines · Duncan
Thomas Koch posted on Wed, 22 Apr 2015 18:08:30 +0200 as excerpted:
Quoted 5 lines
for incremental backups it would be useful to know the files that changed between two snapshots. I found a paper about such a tool[1] that adds the "btrfs subvolue diff" command, but it's not yet implemented in btrfs-tools in Debian Jessie.
Quoted 8 lines
Quoted 3 lines
Is it in Git? Or somewhere else?
[Note that I'm just a btrfs user and list regular, not a dev, and that my own use-case doesn't involve subvolumes, tho I played with them a bit when I first got into btrfs, so my practical subvolume management knowledge is limited. But based on current git's manpages...]
Not a great answer but better than nothing:
http://marc.merlins.org/perso/btrfs/2014-05.html#Btrfs-diff-Between-Snapshots
(based on find-new)
Marc
Signature · 4 lines
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ | PGP 1024R/763BE901