* btrfs subvolume diff
@ 2015-04-22 16:08 Thomas Koch
2015-04-23 3:43 ` Duncan
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Koch @ 2015-04-22 16:08 UTC (permalink / raw)
To: linux-btrfs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: btrfs subvolume diff
2015-04-22 16:08 btrfs subvolume diff Thomas Koch
@ 2015-04-23 3:43 ` Duncan
2015-04-23 4:53 ` Marc MERLIN
0 siblings, 1 reply; 3+ messages in thread
From: Duncan @ 2015-04-23 3:43 UTC (permalink / raw)
To: linux-btrfs
Thomas Koch posted on Wed, 22 Apr 2015 18:08:30 +0200 as excerpted:
> 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
[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...)
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: btrfs subvolume diff
2015-04-23 3:43 ` Duncan
@ 2015-04-23 4:53 ` Marc MERLIN
0 siblings, 0 replies; 3+ messages in thread
From: Marc MERLIN @ 2015-04-23 4:53 UTC (permalink / raw)
To: Duncan; +Cc: linux-btrfs
On Thu, Apr 23, 2015 at 03:43:35AM +0000, Duncan wrote:
> Thomas Koch posted on Wed, 22 Apr 2015 18:08:30 +0200 as excerpted:
>
> > 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
>
> [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
--
"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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-04-23 4:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-22 16:08 btrfs subvolume diff Thomas Koch
2015-04-23 3:43 ` Duncan
2015-04-23 4:53 ` Marc MERLIN
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.