I have backups of the important data, but not for all data on that volume. Thus I wanted to make clear that I don't just want to copy paste stuff I find on the internet and motivate why I am asking here and want to have reliable sources. But thanks for the hint anyway, I also plan to have a better backup strategy once this project is finished. Unfortunately I don't have a better one right now where this is in an intermediate state.
> You have 1 subvolume, which is the root of your filesystem. I still doubt that a bit, `sudo btrfs subvolume list /media/clel/NAS` (which is where I mount the volume with an fstab entry based on the UUID) does not output anything. Additionally I read (I guess on a reddit post) that in this case one has to create a subvolume first. That might have been problematic information, though. I don't like experimenting and thus try to get the relevant information first. Also I want to state again that I hope, we can improve the Wiki to contain the information, so there is somewhat "official" documentation for this. I'll probably read some more about snapper, although what I have read so far did not seem that well documented for first time users (for example I still don't know whether it will "just work" or needs some prerequisites). Von: Remi Gauvin <[email protected]> Gesendet: Montag, 21. Dezember 2020 18:05 An: Claudius Ellsel <[email protected]> Cc: linux-btrfs <[email protected]> Betreff: Re: WG: How to properly setup for snapshots On 2020-12-21 11:11 a.m., Claudius Ellsel wrote: > Unfortunately I am already at a somewhat production stage where I don't want to lose any data. > You should first and foremost make sure you have backups of everything. > > The problem might be that I currently don't have any subvolumes set up at > all. Am I still be able to create snapshots in this stage or do I have to > create a subvolume first from which snapshots can be created afterwards? > You have 1 subvolume, which is the root of your filesystem. You can make snapshots of it.. (and each snapshot will be a new subvolume) To make your life easier, as you start experimenting, I suggest making a new Read/Write subvolume to put your snapshots into btrfs subvolume create .my_snapshots btrfs subvolume snapshot -r /mnt_point /mnt_point/.my_snapshots/snapshot1 (Note: You will not be able to move or rename the snapshot1 folder, but you *will* be able to move or rename the entire my_snapshots subvolume > Also I learned about snapper from SUSE which sounds nice, but I don't want to > break things while trying to use it. > Snapper is an amazing tool... You should familiarize yourself and be comfortable with the btrfs subvolume command first, (things will make more sense if you know whats going on...), but Snapper makes it a.. snap to automate the snapshots *and* the clean-up.
