From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from magic.merlins.org ([209.81.13.136]:53689 "EHLO mail1.merlins.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752988AbaACUQG (ORCPT ); Fri, 3 Jan 2014 15:16:06 -0500 Date: Fri, 3 Jan 2014 12:15:43 -0800 From: Marc MERLIN To: Chris Murphy Cc: Btrfs BTRFS , Chris Mason , hugo@carfax.org.uk Subject: Re: Is anyone using btrfs send/receive for backups instead of rsync? Message-ID: <20140103201543.GF10021@merlins.org> References: <20131228171943.GE19863@merlins.org> <20131228173730.GA7234@carfax.org.uk> <20131228180758.GF19863@merlins.org> <20131228182023.GG19863@merlins.org> <1388419531.11341.6.camel@ret.masoncoding.com> <20131230161729.GQ19863@merlins.org> <1388420830.11341.12.camel@ret.masoncoding.com> <20131230171039.GC26054@merlins.org> <95A29B65-87F9-4B73-9715-2BBC10833A64@colorremedies.com> <20131230175740.GS19863@merlins.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 In-Reply-To: <20131230175740.GS19863@merlins.org> Sender: linux-btrfs-owner@vger.kernel.org List-ID: On Mon, Dec 30, 2013 at 09:57:40AM -0800, Marc MERLIN wrote: > On Mon, Dec 30, 2013 at 10:48:10AM -0700, Chris Murphy wrote: > > > > On Dec 30, 2013, at 10:10 AM, Marc MERLIN wrote: > > > > > > If one day, it could at least work on a subvolume level (only sync a > > > subvolume), then it would be more useful to me. Maybe later… > > > > Maybe I'm missing something, but btrfs send/receive only work on a subvolume level. > > Never mind, I seem to be the one being dense. I mis-read that you needed > to create the filesystem with btrfs receive. > Indeed, it's on a subvolume level, so it's actually fine since it does > allow over provisionning afterall. Mmmh, but I just realized that on my laptop, I do boot the btrfs copy (currently done with rsync) from time to time (i.e. emergency boot from the HD the SSD was copied to). If I do that, it'll change the filesystem that was created with btrfs receive and break it, preventing further updates, correct? If so, can I get around that by making a boot snapshot after each copy and mount that snapshot for emergency boot instead of the main volume? Thanks, 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