Here is some info about the system I would like to snapshot:
cat /etc/fstab
# Static information about the filesystems.
# See fstab(5) for details.
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/nvme0n1p4
UUID=139F-295E /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
# /dev/nvmen0n1p6
UUID=42f63a16-9a8b-421a-b509-7a3987aaa661 / btrfs rw,noatime,compress=lzo,ssd,discard=async,space_cache,subvolid=344,subvol=/@arch-budgie-root 0 0
# /dev/nvme0n1p6
UUID=42f63a16-9a8b-421a-b509-7a3987aaa661 /home btrfs rw,noatime,compress=lzo,ssd,discard=async,space_cache,subvolid=345,subvol=/@arch-budgie-home 0 0
#
#
#
UUID=42f63a16-9a8b-421a-b509-7a3987aaa661 /Data/Backups btrfs rw,noatime,compress=lzo,autodefrag,ssd,discard=async,space_cache,subvol=@Backups 0 0
UUID=42f63a16-9a8b-421a-b509-7a3987aaa661 /Data/Documents btrfs rw,noatime,compress=lzo,autodefrag,ssd,discard=async,space_cache,subvol=@Documents 0 0
UUID=42f63a16-9a8b-421a-b509-7a3987aaa661 /Data/Pictures btrfs rw,noatime,compress=lzo,autodefrag,ssd,discard=async,space_cache,subvol=@Pictures 0 0
UUID=42f63a16-9a8b-421a-b509-7a3987aaa661 /Data/Music btrfs rw,noatime,compress=lzo,autodefrag,ssd,discard=async,space_cache,subvol=@Music 0 0
UUID=42f63a16-9a8b-421a-b509-7a3987aaa661 /Data/Library btrfs rw,noatime,compress=lzo,autodefrag,ssd,discard=async,space_cache,subvol=@Library 0 0
UUID=42f63a16-9a8b-421a-b509-7a3987aaa661 /Data/Videos btrfs rw,noatime,compress=lzo,autodefrag,ssd,discard=async,space_cache,subvol=@Videos 0 0
UUID=42f63a16-9a8b-421a-b509-7a3987aaa661 /Data/VirtualMachines btrfs rw,noatime,compress=lzo,autodefrag,ssd,discard=async,space_cache,subvol=@VirtualMachines
UUID=42f63a16-9a8b-421a-b509-7a3987aaa661 /home/pebcak/.mozilla btrfs rw,noatime,compress=lzo,autodefrag,ssd,discard=async,space_cache,subvol=@Mozilla 0 0
UUID=42f63a16-9a8b-421a-b509-7a3987aaa661 /home/pebcak/.var btrfs rw,noatime,compress=lzo,autodefrag,ssd,discard=async,space_cache,subvol=@flatpak-user-data 0 0
lsblk -fs
nvme0n1p1 vfat FAT32 C259-BB17
`-nvme0n1
nvme0n1p2 ext4 1.0 boot 853f2048-816a-462c-9e20-9f38b9595c18
`-nvme0n1
nvme0n1p3 btrfs Fedora34-root f273502b-e1f8-4a57-b9f2-111a8621c3ea
`-nvme0n1
nvme0n1p4 vfat FAT32 139F-295E 107.3M 15% /boot/efi
`-nvme0n1
nvme0n1p5 btrfs ArchGnome 4e33451a-4483-4d0a-9fee-c48e63991416
`-nvme0n1
nvme0n1p6 btrfs 42f63a16-9a8b-421a-b509-7a3987aaa661 303.7G 17% /home/pebcak/.var
| /home/pebcak/.mozilla
| /home
| /Data/VirtualMachines
| /Data/Videos
| /Data/Music
| /Data/Pictures
| /Data/Library
| /Data/Documents
| /Data/Backups
| /
`-nvme0n1
nvme0n1p7 swap 1 85fbc1f0-262f-4576-b7c0-62c1b121624f [SWAP]
`-nvme0n1
# btrfs subvolume list /
ID 256 gen 44511 top level 5 path @Pictures
ID 257 gen 44511 top level 5 path @Documents
ID 258 gen 44511 top level 5 path @Library
ID 259 gen 44511 top level 5 path @Backups
ID 260 gen 44511 top level 5 path @Videos
ID 261 gen 44511 top level 5 path @Music
ID 266 gen 44511 top level 5 path @VirtualMachines
ID 333 gen 50174 top level 5 path @Mozilla
ID 344 gen 50174 top level 5 path @arch-budgie-root
ID 345 gen 50174 top level 5 path @arch-budgie-home
ID 346 gen 44755 top level 344 path var/lib/portables
ID 347 gen 44757 top level 344 path var/lib/machines
ID 352 gen 50173 top level 5 path @flatpak-user-data
I think
ID 344 gen 50174 top level 5 path @arch-budgie-root
mounted at / of the running system is the one I would like to snapshot.
So if I have understood the ArchWiki, I could simply run
snapper -c root create-config /
to create a config file for the snapshot root based on the config-templates.
I don’t think I should edit anything in the config file (or do i?) since almost all the time-related automatic stuff in there depends if the cron daemon is running in the system.
I would then just manually create an snapshot by running:
snapper -c root create --description *some description*
Perhaps I would need to create some subvolumes for /var/cache
and /var/log
to exclude them from the snapshot?
Looking forward your comments and advice before I go ahead with the above.