linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Niccolò Belli" <darkbasic@linuxsystems.it>
To: Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Cc: "Austin S. Hemmelgarn" <ahferroin7@gmail.com>
Subject: Re: How to rollback a snapshot of a subvolume with nested subvolumes?
Date: Sat, 07 May 2016 11:51:30 +0200	[thread overview]
Message-ID: <c3bae5c0-baf6-4947-8e2c-7f30f33de353@linuxsystems.it> (raw)
In-Reply-To: <08a60de7-6193-54f0-a769-a24baf502900@gmail.com>

Thanks,
I hoped there was something like an hidden recursive flag to avoid the 
tedious task of snapshotting all the nested subvolumes or deleting the 
nested ones, but it seems there isn't.
I usually don't want to keep things like /var/cache/pacman/pkg, but since 
I'm just doing some tests I didn't want to lose my packages cache.
Regarding @/.snapshots it was an unfortunate choise made by snapper and I 
will definitely create it into the top level, like /srv which shouldn't 
belong to @.

By the way snapper rollbacks are yet another reason to not keep subvolid 
along with subvol=@ into fstab, like in the one automatically generated by 
genfstab.

Niccolò

      reply	other threads:[~2016-05-07  9:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-06 11:48 How to rollback a snapshot of a subvolume with nested subvolumes? Niccolò Belli
2016-05-06 12:36 ` Austin S. Hemmelgarn
2016-05-07  9:51   ` Niccolò Belli [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c3bae5c0-baf6-4947-8e2c-7f30f33de353@linuxsystems.it \
    --to=darkbasic@linuxsystems.it \
    --cc=ahferroin7@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).