guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: btrfs recommended layout for snapshots?


From: Felix Lechner
Subject: Re: btrfs recommended layout for snapshots?
Date: Mon, 14 Aug 2023 09:56:17 -0700

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]