All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Murphy <lists@colorremedies.com>
To: Thomas Schneider <74cmonty@gmail.com>
Cc: Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: No files in snapshot
Date: Tue, 27 Aug 2019 16:24:53 -0600	[thread overview]
Message-ID: <CAJCQCtTs4jBw_mz3PqfMAhuHci+UxjtMNYD7U4LJtCoZxgUdCg@mail.gmail.com> (raw)
In-Reply-To: <b729e524-3c63-cf90-7115-02dcf2fda003@gmail.com>

On Tue, Aug 27, 2019 at 3:33 AM Thomas Schneider <74cmonty@gmail.com> wrote:
>
> However, I run into an issue and need to restore various files.
>
> I thought that I could simply take the files from a snapshot created before.
> However, the files required don't exist in any snapshot!
>
> Therefore I have created a new snapshot manually to verify if the files
> will be included, but there's nothing.

Snapshots are not recursive on Btrfs. The snapshot will not extend
into nested subvolumes. Check to see if you are snapshotting the
proper subvolume.

# btrfs sub list -to /var/lib
# btrfs sub list -to /var/

In some sense these are redundant, I'm not sure if your /var/lib is a
subvolume or not. Also please include the exact snapshot command
you're making.

-- 
Chris Murphy

  reply	other threads:[~2019-08-27 22:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-27  9:33 No files in snapshot Thomas Schneider
2019-08-27 22:24 ` Chris Murphy [this message]
2019-08-28 14:45   ` Thomas Schneider
2019-09-04 17:36     ` Chris Murphy
2019-09-04 18:02       ` Remi Gauvin
2019-09-04 19:07         ` Chris Murphy
2019-09-04 20:52           ` Oliver Freyermuth
2019-09-05  8:50             ` Thomas Schneider
2019-09-05 18:31               ` Oliver Freyermuth
2019-09-04  9:24   ` Thomas Schneider

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=CAJCQCtTs4jBw_mz3PqfMAhuHci+UxjtMNYD7U4LJtCoZxgUdCg@mail.gmail.com \
    --to=lists@colorremedies.com \
    --cc=74cmonty@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 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.