all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Felix Lechner via "Development of GNU Guix and the GNU System distribution." <guix-devel@gnu.org>
To: Nicolas Graves <ngraves@ngraves.fr>
Cc: guix-devel@gnu.org
Subject: Re: btrfs recommended layout for snapshots?
Date: Mon, 14 Aug 2023 09:56:17 -0700	[thread overview]
Message-ID: <CAFHYt57Eub88yEuxLAZTW2hBBP53vH_1VU7FjtfbGYT4HtQzDA@mail.gmail.com> (raw)
In-Reply-To: <87jztxn2hc.fsf@ngraves.fr>

Hi Nicolas,

On Mon, Aug 14, 2023 at 7:06 AM Nicolas Graves via Development of GNU
Guix and the GNU System distribution. <guix-devel@gnu.org> wrote:
>
> not snapshotting the rootfs
>   This would allow to simply care about only a few "user data"
>   directories

> I .. would be glad to find one

I believe Guix does a good job of managing system generations and only
snapshot user data. (My root is also on a faster ext4 file system, not
Btrfs.) Here is what I do. [1]

In order to avoid confusion with the live file system, I mount
snapshots volumes separately under /history. [2] My user data is
generally also encrypted and mounted to /home from networked folders
under /acct.

Hope that information is helpful to you.

Kind regards
Felix

[1] https://codeberg.org/lechner/system-config/src/commit/f847bb09093c945171814e18fd7d43ed94256336/host/wallace-server/operating-system.scm#L498-L516
[2] https://codeberg.org/lechner/system-config/src/commit/f847bb09093c945171814e18fd7d43ed94256336/host/wallace-server/operating-system.scm#L654-L659


  parent reply	other threads:[~2023-08-14 16:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-14 14:05 btrfs recommended layout for snapshots? Nicolas Graves via Development of GNU Guix and the GNU System distribution.
2023-08-14 14:41 ` Nicolas Graves via Development of GNU Guix and the GNU System distribution.
2023-08-15 14:33   ` Efraim Flashner
2023-08-15 19:58     ` Maxim Cournoyer
2023-08-16  8:10   ` Nicolas Graves via Development of GNU Guix and the GNU System distribution.
2023-08-16  9:31     ` Nicolas Graves via Development of GNU Guix and the GNU System distribution.
2023-08-16 14:39     ` Efraim Flashner
2023-08-17 23:58     ` Nicolas Graves via Development of GNU Guix and the GNU System distribution.
2023-09-12 11:39       ` Andrew Tropin
2023-08-14 16:56 ` Felix Lechner via Development of GNU Guix and the GNU System distribution. [this message]
2023-08-14 19:49   ` Maxim Cournoyer

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=CAFHYt57Eub88yEuxLAZTW2hBBP53vH_1VU7FjtfbGYT4HtQzDA@mail.gmail.com \
    --to=guix-devel@gnu.org \
    --cc=felix.lechner@lease-up.com \
    --cc=ngraves@ngraves.fr \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

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.