Marc MERLIN posted on Sun, 04 May 2014 22:04:59 -0700 as excerpted: > On Mon, May 05, 2014 at 01:36:39AM +0100, Hugo Mills wrote: >> I'm guessing it involves reflink copies of files from the snapshot >> back to the "original", and then restarting affected services. That's >> about the only other thing that I can think of, but it's got load of >> race conditions in it (albeit difficult to hit in most cases, I >> suspect). > > Aaah, right, you can use a script to see the file differences between > two snapshots, and then restore that with reflink if you can truly get a > list of all changed files. > However, that is indeed not atomic at all, even if faster than rsync.
Would send/receive help in such a script? -- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html