I took a snapshot with a test folder on the desktop, and I then deleted it, and I want to restore it by booting to the snapshot that has the folder.
Code: Select all
root@debian-btrfs-snapshot-testing:~# btrfs subvolume list /
ID 262 gen 11647 top level 5 path home/user/btrfs_snapshots_dir/snap
ID 267 gen 18957 top level 5 path home/user/My_Btrfs_Snapshots_Yo/one
root@debian-btrfs-snapshot-testing:~#
root@debian-btrfs-snapshot-testing:~# cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# systemd generates mount units based on this file, see systemd.mount(5).
# Please run 'systemctl daemon-reload' after making changes here.
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/vda1 during installation
UUID=I_removed_the_UUID_from_the_forum_post_just_in_case / btrfs defaults,compress=zstd,autodefrag,subvolid=267 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
root@debian-btrfs-snapshot-testing:~#
root@debian-btrfs-snapshot-testing:~# cat /etc/mtab | grep -i vd
/dev/vda1 / btrfs rw,relatime,compress=zstd:3,space_cache,autodefrag,subvolid=5,subvol=/ 0 0
root@debian-btrfs-snapshot-testing:~#
What am I doing wrong, and how can I fix it?
Any input would be greatly appreciated!
P.S.
I'm using bullseye / testing.