@tippfehlr Also see example in Arch wiki https://wiki.archlinux.org/title/snapper#Suggested_filesystem_layout
Top-level
@tippfehlr Also see example in Arch wiki https://wiki.archlinux.org/title/snapper#Suggested_filesystem_layout 4 comments
@tippfehlr systemd-boot config also has hardcoded subvolume in Arch. Let me know if you find what should be modified to get systemd-boot use the default subvolume. |
@akhil that explains it – although instead of
mv /mnt/subvol_root /mnt/subvol_root.broken
btrfs subvol snapshot /mnt/snapshots/X/snapshot /mnt/subvol_root
i could also do
btrfs subvol snapshot -r /mnt/@ /mnt/@ backup
fd -E /mnt/@/.snapshots /mnt/@ -x rm -rf
mv /mnt/@/.snapshots/^/snapshot/* /mnt/@/
the first is harder to mess up though, true.
I guess I should migrate :)