On Thu, Oct 08, 2015 at 08:05:09AM +0530, Shriramana Sharma wrote: > Hello. I see there are some backup tools taking advantage of BtrFS's > incremental send/receive feature: > https://btrfs.wiki.kernel.org/index.php/Incremental_Backup. [BTW Ames > Cornish's ButterSink (https://github.com/AmesCornish/buttersink) seems > to be missing from that page.] > > Now I'd like to know if anyone has evolved some good practices w.r.t > maintaining the data of two systems in sync using this feature of > BtrFS. What I have in mind is: I work on my desktop by default, and > for ergonomics reasons only use my laptop when I need the mobility. > I'd like to keep the main data (documents I create, programs I write > etc) in sync between the two. (The profile data such as in the ~/.* > hidden folders had better stay separate though, I guess.) > > I figure with the existing tools it would not be too difficult to > maintain a synced set of snapshots between the two systems if I only > use the desktop vs laptop alternatingly and sync at each switchover, > but the potential problem only would come if I modify both (something > like having to do git merge, I guess). > > Has anyone come across this situation and evolved any policies to handle it?
You can't currently do this efficiently with send/receive. It should be possible, but it needs a change to the send stream format. Hugo. -- Hugo Mills | UNIX: British manufacturer of modular shelving units hugo@... carfax.org.uk | http://carfax.org.uk/ | PGP: E2AB1DE4 |
signature.asc
Description: Digital signature